/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: #0b0f2a;
  color: #fff;
   cursor: url("../assets/icons/cursor.png") 0 0, auto;
}
a {
  text-decoration: none;
  color: inherit;
}
section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
html, body {
  overflow-x: hidden;
}
section.show {
  opacity: 1;
  transform: translateY(0);
}
/* TOP BAR */
.top-bar {
  background: #10163a;
  font-size: 14px;
  padding: 8px 0;
}
.top-bar .container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.left-info span {
  position: relative;
  margin-right: 30px;
  padding-right: 30px;
}
.left-info span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(255,255,255,0.2);
  transform: skew(-20deg); /* наклон линии */
}
.left-info span:last-child::after {
  display: none;
}

/* Соцсети */
.social-icons a {
  position: relative;
  padding: 0 15px;
  color: #fff;
  transition: 0.3s;
}
.social-icons a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(255,255,255,0.2);
  transform: skew(-20deg);
}
.social-icons a:last-child::after {
  display: none;
}
.social-icons a:hover {
  color: #f9c32c;
}

.left-info i {
  margin-right: 6px;
  color: #f9c32c;
}
.social-icons a {
  margin-left: 15px;
  color: #fff;
  transition: 0.3s;
}
.social-icons a:hover {
  color: #f9c32c;
}

/* NAV BAR */
.nav-bar {
  background: linear-gradient(90deg, #0b0f2a, #141c44);
  padding: 15px 0;
}
.nav-bar .container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 60px;
}
nav ul {
  display: flex;
  list-style: none;
  margin-left: 120px;
}
nav ul li {
  margin: 0 15px;
  perspective: 600px; /* глубина */
}
nav ul li a {
  position: relative;
  display: block;
  width: 100px; /* ширина ссылки */
  height: 30px; /* высота ссылки */
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
}
nav ul li a span {
  position: absolute;
  width: 100%;
  height: 100%;
  line-height: 30px;
  backface-visibility: hidden;
  transition: transform 0.6s;
  display: block;
}

/* Передняя сторона */
nav ul li a .front {
  color: #fff;
}

/* Задняя сторона */
nav ul li a .back {
  color: #f9c32c;
  transform: rotateY(180deg);
}

/* Hover эффект переворота */
nav ul li a:hover .front {
  transform: rotateY(180deg);
}
nav ul li a:hover .back {
  transform: rotateY(360deg);
}

.auth-buttons {
  display: flex;
}
.auth-buttons a {
  padding: 10px 20px;
  margin-left: 5px;
  font-weight: bold;
  text-transform: uppercase;
}
.auth-buttons .login {
  background: #fff;
  color: #f9c32c;
}
.auth-buttons .signup {
  position: relative;
  overflow: hidden;
}
.auth-buttons .signup::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-25deg);
}
.auth-buttons .signup:hover::before {
  animation: shine 1s ease forwards;
}
@keyframes shine {
  100% { left: 125%; }
}
.auth-buttons a:hover {
  opacity: 0.8;
}
/* FOOTER */
.site-footer {
  background: linear-gradient(180deg, #0b0f2a, #141c44);
  color: #ccc;
  text-align: center;
  padding: 40px 20px;
  margin-top: 50px;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
}
.footer-logo {
  font-size: 28px;
  font-weight: bold;
  color: #f9c32c;
  margin-bottom: 10px;
}
.footer-disclaimer {
  font-size: 16px;
  font-weight: bold;
  color: #f9c32c;
  margin-bottom: 15px;
}
.footer-text {
  max-width: 800px;
  margin: 0 auto 25px auto;
  color: #aaa;
}
.footer-logos {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-logos a {
  display: inline-block;
}
.footer-logos img {
  max-height: 45px;
  opacity: 0.85;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.footer-links {
  margin: 20px 0;
}
.footer-links a {
  color: #fff;
  margin: 0 12px;
  transition: 0.3s;
}
.footer-links a:hover {
  color: #f9c32c;
  text-shadow: 0 0 8px #f9c32c;
}
.footer-bottom {
  margin-top: 20px;
  font-size: 13px;
  color: #888;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
}
.footer-contact {
  text-align: right;
}
.footer-contact p {
  margin: 5px 0;
  color: #ccc;
}
.footer-contact i {
  margin-right: 6px;
  color: #f9c32c;
}
/* HERO SECTION */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 60px 20px;
  background: #0b0f2abb; /* тёмный фон */
  overflow: hidden;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11,15,42,0.7); /* затемнение для текста */
  z-index: 1;
}

.sparks {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.spark {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: #f9c32c;
  opacity: 0.7;
  animation: rise linear infinite;
}

@keyframes rise {
  0%   { transform: translateY(0) scale(1); opacity: 0.8; }
  50%  { opacity: 1; }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* Контент */
.hero-container {
  position: relative;
  z-index: 2;
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.hero-content {
  max-width: 550px;
  margin-left: 100px;
}

.hero-content h1 {
  font-size: 60px;
  font-weight: 900;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 0 10px #f9c32c;
}

.hero-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ccc;
}

.hero-btn {
  display: inline-block;
  padding: 14px 30px;
  background: #f9c32c;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #fff;
  color: #f9c32c;
  box-shadow: 0 0 15px #f9c32c;
}

.hero-image img {
  width: 600px;
  max-width: 100%;
  transform: translateX(-40px); /* двигаем левее */
}

/* MARQUEE */
.marquee {
  background: #f9c32c;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}
.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* ABOUT SECTION */
.about {
  background: #0b0f2a;
  color: #fff;
  padding: 100px 20px;
}

.about-container {
  width: 100%;
  max-width: 1400px;      /* ограничиваем на десктопе */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-sizing: border-box;
}

.about-image img {
  width: 100%;
  max-width: 100%;        /* защита от "вылезания" */
  height: auto;
  border-radius: 12px;
 
}
.about-content h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 20px;
  
}
.about-intro {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 30px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.about-card {
  background: #1a1f4a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: 0.3s;
}

.about-card i {
  font-size: 28px;
  margin-bottom: 15px;
  color: #f9c32c;
}
.about-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}
.about-card p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
}
.game-card:nth-child(1) { animation: floating 4s ease-in-out infinite; }
.game-card:nth-child(2) { animation: floating 4s ease-in-out infinite 0.5s; }
.game-card:nth-child(3) { animation: floating 4s ease-in-out infinite 1s; }
.game-card:nth-child(4) { animation: floating 4s ease-in-out infinite 1.5s; }
.game-card:nth-child(5) { animation: floating 4s ease-in-out infinite 2s; }
.game-card:nth-child(6) { animation: floating 4s ease-in-out infinite 2.5s; }
/* GAMES SECTION */
.games {
  background: #0b0f2a;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}
.games .container {
  max-width: 1500px;
  margin: 0 auto;
}
.section-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 15px;
  
}
.section-subtitle {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #aaa;
  font-size: 16px;
  line-height: 1.6;
}

/* сетка игр */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.game-card {
  background: #1a1f4a;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}
.game-card h3 {
  font-size: 18px;
  font-weight: bold;
  padding: 15px;
  background: #141c44;
}
.game-image {
  position: relative;
  overflow: hidden;
}
.game-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.game-card:hover .game-image img {
  transform: scale(1.1);
}

/* кнопка поверх фото */
.game-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 25px;
  background: #f9c32c;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  opacity: 0;
  transition: 0.4s;
}
.game-image:hover .game-btn {
  opacity: 1;
  box-shadow: 0 0 15px #f9c32c;
}
.game-btn:hover {
  background: #fff;
  color: #f9c32c;
}
/* анимация движения */
@keyframes floating {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
/* FAQ SECTION */
.faq {
  background: #f8f8f8;
  padding: 80px 20px;
}
.faq .container {
  max-width: 900px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #ff6600;
  margin-bottom: 40px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ff6600;
  margin: 10px auto 0;
}

/* FAQ SECTION */
.faq {
  background: #0b0f2a;
  padding: 80px 20px;
  color: #fff;
}
.faq .container {
  max-width: 900px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 40px;
  
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #f9c32c;
  margin: 10px auto 0;
}

/* FAQ item */
.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #141c44;
  border: 1px solid #1f2758;
  transition: 0.3s;
}
.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  color: #f9c32c;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #1a1f4a;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}
.faq-answer p {
  padding: 15px 0;
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 200px;
}
.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
  color: #f9c32c;
  transition: 0.3s;
}
.icon {
  font-size: 20px;
  color: #fff;
  transition: 0.3s;
}
/* TESTIMONIALS */
.testimonials {
  width: 100%;
  background: url("../assets/images/hero.webp") no-repeat center center/cover;
  padding: 100px 20px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* фон с плавным zoom */
.testimonials::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("../assets/images/hero.webp") no-repeat center center/cover;
  transform: scale(1);
  transition: transform 12s ease;
  z-index: 0;
}
.testimonials:hover::before {
  transform: scale(1.1);
}

/* затемнение поверх фото */
.testimonials::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(11, 15, 42, 0.7);
  z-index: 1;
}

.testimonials .container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.testimonials .section-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 40px;
  
}

/* слайды */
.slider {
  position: relative;
}
.slide {
  display: none;
  animation: fade 1s ease;
}
.slide.active {
  display: block;
}
.slide p {
  font-size: 18px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 20px;
}
.slide h4 {
  font-size: 20px;
  font-weight: bold;
  color: #f9c32c;
}

/* точки */
.slider-dots {
  margin-top: 20px;
}
.slider-dots span {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 6px;
  border-radius: 50%;
  background: #555;
  cursor: pointer;
  transition: 0.3s;
}
.slider-dots span.active {
  background: #f9c32c;
  box-shadow: 0 0 10px #f9c32c;
}

/* анимация появления */
@keyframes fade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* INFO SECTION */
.info-section {
  background: rgba(11, 15, 42, 0.7);
  padding: 80px 20px;
  color: #fcfaf8;
  text-align: center;
}

.info-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.info-item .line {
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, transparent, #fcfbfa, transparent);
  margin: 0 auto 15px;
}

.info-item p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.info-item .icon {
  font-size: 48px;
  color: #ffffff;
}
/* AGE MODAL */
.age-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(11, 15, 42, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.age-content {
  background: #141c44;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  max-width: 400px;
  width: 90%;
  
}

.age-content h2 {
  font-size: 40px;
  color: #f9c32c;
  margin-bottom: 15px;

}

.age-content p {
  margin-bottom: 25px;
  color: #ccc;
}

.age-buttons button {
  padding: 12px 25px;
  margin: 0 10px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#age-yes {
  background: #f9c32c;
  color: #fff;
}

#age-no {
  background: #ccc;
  color: #000;
}

#age-yes:hover {
  background: #fff;
  color: #f9c32c;
}

#age-no:hover {
  background: #999;
}
/* Scroll To Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #f9c32c;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(255, 45, 112, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #fff;
  color: #f9c32c;
  box-shadow: 0 0 20px #f9c32c;
}
.holo-divider {
  height: 4px;
  background: linear-gradient(270deg, #f9c32c, #f9c32c, #3ab0ff, #ff2d70);
  background-size: 600% 600%;
  animation: holo 6s ease infinite;
}
@keyframes holo {
  0% {background-position:0% 50%}
  50% {background-position:100% 50%}
  100% {background-position:0% 50%}
}
/* ABOUT SECTION */
.about {
  background: #0b0f2a;
  padding: 100px 20px;
  color: #fff;
  text-align: center;
}

.about .container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-title {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  color: #fff;
}

.about-title::after {
  content: "";
  display: block;
  height: 4px;
  width: 60%;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #f9c32c, #f9c32c);
  box-shadow: 0 0 10px #f9c32c;
}

.about-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  text-align: left;
}

.highlight {
  background: #141c44;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid #f9c32c;
  transition: 0.3s;
  position: relative;
}



.highlight h3 {
  font-size: 20px;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.2);
}

.highlight h3 span {
  color: #f9c32c;
  font-weight: 900;
  margin-right: 8px;
}

.highlight p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.6;
}
/* DISCLAIMER */
.disclaimer-18 {
  background: rgba(11,15,42,0.7);
  color: #f9c32c;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  border-bottom: 2px solid #f9c32c;
}

/* CONTACT SECTION */
.contact-section {
  background: #0b0f2a;
  padding: 60px 20px;
  color: #fff;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Левая часть */
.contact-form {
  background: rgba(11,15,42,0.7);
  padding: 40px;
  border-radius: 12px;
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: bold;
  color: #f9c32c;
}

.contact-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #fff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #0b0f2a;
  color: #fff;
  font-size: 14px;
}

.contact-form textarea {
  height: 100px;
  resize: none;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: #f9c32c;
  color: #0b0f2a;
  border: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #e0ac20;
}

/* Сообщение */
.form-message {
  display: none;
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  background: rgba(11,15,42,0.7);
  border: 1px solid #f9c32c;
  border-radius: 6px;
  color: #f9c32c;
  font-weight: bold;
}

/* Правая часть */
.contact-banner img {
  width: 100%;
  border-radius: 12px;
}
/* INFO SECTION */
.contact-info {
  background: rgba(11,15,42,0.7);
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}

.contact-info .container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: bold;
  color: #f9c32c;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}
/* GAMES INTRO */
.games-intro {
  background: rgba(11,15,42,0.7);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.games-intro .container {
  max-width: 800px;
  margin: 0 auto;
}

.games-intro h2 {
  font-size: 32px;
  font-weight: bold;
  color: #f9c32c;
  margin-bottom: 20px;
}

.games-intro p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}
/* GAME PAGE */
.game-header {
  background: rgba(11,15,42,0.7);
  padding: 15px 20px;
  text-align: left;
}

.back-btn {
  color: #f9c32c;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
}

.back-btn:hover {
  color: #fff;
}

.game-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  background: #000;
  box-sizing: border-box;
}

.game-container iframe {
  width: 100%;
  height: 80vh; /* на десктопе игра занимает большую часть экрана */
  border: none;
  display: block;
}

/* Когда fullscreen */
.game-container:fullscreen iframe,
.game-container:-webkit-full-screen iframe {
  width: 100vw;
  height: 100vh;
}

/* Футер */
.game-footer {
  background: rgba(11, 15, 42, 0.85);
  text-align: center;
  padding: 15px 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  border-top: 2px solid #f9c32c;
}

/* Адаптив под мобилки */
@media (max-width: 768px) {
 .game-container iframe {
    height: 90vh; /* вместо 100vh */
  }

  .game-footer {
    font-size: 12px;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .game-container iframe {
    height: 100vh; /* для маленьких экранов – тоже весь экран */
  }
}

/* SIMPLE LEGAL SECTION */
.legal-simple {
  background: rgba(11,15,42,0.7);
  padding: 80px 20px;
  color: #fff;
}

.legal-simple .container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-simple h1 {
  font-size: 32px;
  font-weight: bold;
  color: #f9c32c;
  margin-bottom: 30px;
  text-align: center;
}

.legal-simple h2 {
  font-size: 22px;
  color: #f9c32c;
  margin: 30px 0 10px;
}

.legal-simple p {
  font-size: 15px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 15px;
}

.legal-simple a {
  color: #f9c32c;
  text-decoration: none;
}

.legal-simple a:hover {
  text-decoration: underline;
}
/* ==================== RESPONSIVE ==================== */

/* Большие планшеты и ноутбуки */
@media (max-width: 1200px) {
    .hero-content {
    margin: 0 auto;   /* центрируем */
    text-align: center;
  }
  .hero-content h1 {
    font-size: 48px;
  }
  .hero-image img {
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }
}

/* Планшеты */
@media (max-width: 992px) {
  .nav-bar .container {
    flex-wrap: wrap;
  }
  nav ul {
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav ul li a {
    width: auto;
    padding: 8px 12px;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto 30px auto;
  }
  .hero-image img {
    margin: 0 auto;
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;      /* боковые отступы вместо overflow */
    max-width: 100%;      /* убираем фикс 1300px */
  }
  .about-content h2 {
    font-size: 28px;
    text-align: center;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* Смартфоны */
@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  nav ul {
    display: none; /* спрячем меню */
    flex-direction: column;
    background: #141c44;
    width: 100%;
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  nav ul.show {
    display: flex; /* класс для показа (бургер) */
  }
  nav ul li {
    margin: 10px 0;
  }
  .auth-buttons {
    margin-top: 15px;
    justify-content: center;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
    align-items: center;   /* фиксирует выравнивание по центру */
  }

  .hero-content {
    margin: 0 auto;        /* центрируем */
    max-width: 100%;       /* чтобы текст не вылезал */
    padding: 0 15px;       /* небольшой внутренний отступ */
    box-sizing: border-box;
  }

  .hero-image img {
    margin: 20px auto 0 auto; /* картинка тоже по центру */
    display: block;
    max-width: 100%;
    height: auto;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-content h3 {
    font-size: 18px;
  }
  .hero-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  .game-image img {
    height: 280px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Маленькие смартфоны */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-content h3 {
    font-size: 16px;
    line-height: 1.4;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-btn {
    width: 100%;
    font-size: 14px;
    padding: 12px;
  }

  .hero-content {
    padding: 0 10px;   /* ещё чуть меньше отступы */
  }
  .game-image img {
    height: 200px;
  }
  .about-intro,
  .section-subtitle,
  .faq-answer p {
    font-size: 14px;
  }
  .contact-form {
    padding: 20px;
  }
  .contact-form h2 {
    font-size: 20px;
  }
}
.about-container {
    padding: 0 10px;
    gap: 15px;
  }

@media (max-width: 600px) {
  .about-container {
    gap: 20px;
    padding: 0 10px;
  }
  .about-content h2 {
    font-size: 24px;
  }
  .about-intro {
    font-size: 14px;
  }
}

/* Бургер-кнопка */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1100; /* выше меню */
}

.burger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.4s;
}

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

/* Только для мобильных */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

   nav ul {
    display: none;
    flex-direction: column;
    background: #141c44;
    width: 100%;
    text-align: center;
    padding: 15px 0;

    position: absolute;   /* фиксируем */
     top: 75px;          /* сразу под .nav-bar */
    left: 0;
    z-index: 1000;
  }

  nav ul.show {
    display: flex;
    animation: slideDown 0.4s ease;
  }
}
.nav-bar {
  background: linear-gradient(90deg, #0b0f2a, #141c44);
  padding: 15px 0;
  position: relative; /* добавь это */
  z-index: 1100;
}
/* Анимация выпадания */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}
