/* Сброс и основы */
* {
  box-sizing: border-box;
}
body {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #140e3c 0%, #0a3d62 100%);
  color: #e5e5e5;
  min-height: 100vh;
}
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  background: linear-gradient(90deg, #201547 0%, #10375c 100%);
  padding: 16px 0;
  color: #d1d1d1;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  font-weight: bold;
  color: #d1d1d1;
  text-decoration: none;
}
.logo-img {
  width: 60px;
  height: auto;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}
.nav a {
  color: #d1d1d1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.nav a:hover {
  color: #55c1ff;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #10375c 0%, #0a527b 80%, #3677a1 100%);
  color: #f0f0f0;
  text-align: center;
  padding: 72px 20px 54px;
  border-bottom: 4px solid #55c1ff;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.9px;
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 27px;
  font-weight: 500;
}
.btn-primary {
  background: linear-gradient(90deg, #55c1ff 0%, #1f82c3 100%);
  color: #f9f9f9;
  padding: 15px 36px;
  border: none;
  border-radius: 6px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 18px rgba(85,193,255,0.4);
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #1f82c3 0%, #55c1ff 100%);
}

.btn-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.hero-logo-link {
  display: inline-block;
  width: 180px;
  height: 50px;
  overflow: hidden;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* About game */
.about-game {
  background: #0c1d3f;
  padding: 45px 0;
  margin-bottom: 20px;
  border-radius: 12px;
}
.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.slot-img {
  width: 320px;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0,75,130,0.5);
  border: 3px solid #55c1ff;
}
.about-text {
  flex: 1;
  min-width: 250px;
}
.about-text h2 {
  font-size: 2rem;
  color: #55c1ff;
  margin-bottom: 18px;
  font-weight: 700;
}
.about-text p {
  font-size: 1.2rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.about-text ul {
  color: #c9e9ff;
  padding-left: 24px;
  list-style-type: disc;
}
.about-text li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* Features */
.features {
  padding: 50px 0;
  background: linear-gradient(135deg, #0a527b 0%, #3677a1 100%);
  margin-bottom: 20px;
  border-radius: 12px;
}
.features h2 {
  text-align: center;
  color: #55c1ff;
  margin-bottom: 35px;
  font-size: 2.3rem;
  font-weight: 700;
}
.feature-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.feature-item {
  flex: 1 1 230px;
  background: rgba(255,255,255,0.07);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 24px;
  border: 2px solid #55c1ff;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,113,188,0.2);
}
.feature-item h3 {
  margin-bottom: 15px;
  color: #55c1ff;
  font-size: 1.3rem;
  font-weight: 700;
}
.feature-item p {
  color: #e4f0fc;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* Testimonials (New Block) */
.testimonials {
  background: #092a4c;
  padding: 50px 0;
  margin-bottom: 20px;
  border-radius: 12px;
}
.testimonials h2 {
  color: #55c1ff;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.4rem;
  font-weight: 700;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.testimonial-item {
  background: rgba(255,255,255,0.06);
  border: 2px solid #55c1ff;
  border-radius: 15px;
  padding: 25px 30px;
  max-width: 350px;
  color: #d3eaff;
  font-style: italic;
  box-shadow: 0 3px 15px rgba(85,193,255,0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-item strong {
  margin-top: 20px;
  color: #a1cfff;
  font-weight: 700;
  font-style: normal;
  text-align: right;
}

/* Demo slot */
.demo-slot {
  background: #072145;
  padding: 55px 0 35px;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 12px;
}
.demo-slot h2 {
  color: #55c1ff;
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 700;
}
.demo-frame {
  max-width: 480px;
  margin: 0 auto 22px;
  background: #0c1d3f;
  border-radius: 16px;
  border: 2px solid #55c1ff;
  box-shadow: 0 0 20px rgba(85,193,255,0.25);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.demo-frame img {
  border-radius: 16px;
}

/* SEO текст */
.seo-text {
  padding: 38px 0;
  background: linear-gradient(90deg, #201547 60%, #55c1ff 130%);
  color: #e9f4ff;
  margin-bottom: 20px;
  border-radius: 12px;
}
.seo-text h2 {
  color: #d9f0ff;
  font-size: 1.7rem;
  margin-bottom: 18px;
  text-align: center;
  font-weight: 700;
}
.seo-text p {
  color: #c4e0ff;
  font-size: 1.15rem;
  margin-bottom: 13px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.seo-text ul {
  padding-left: 20px;
  margin: 0 auto 20px auto;
  list-style-position: outside;
  max-width: 850px;
}
.seo-text ul li {
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* FAQ */
.faq {
  padding: 45px 0;
  background: #0c1d3f;
  max-width: 900px;
  margin: 0 auto 20px;
  border-radius: 16px;
  box-shadow: 0 3px 20px rgba(0,0,0,0.6);
}
.faq h2 {
  color: #55c1ff;
  text-align: center;
  margin-bottom: 32px;
  font-size: 2rem;
  font-weight: 700;
}
.faq-item {
  margin-bottom: 22px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 18px 22px;
  border-left: 5px solid #55c1ff;
}
.faq-item h3 {
  font-size: 1.15rem;
  color: #55c1ff;
  margin-bottom: 8px;
  font-weight: 600;
}
.faq-item p {
  color: #cce3ff;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  background: linear-gradient(90deg, #201547 0%, #10375c 100%);
  color: #d1d1d1;
  padding: 23px 0 11px;
  text-align: center;
  font-weight: 500;
}
.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.footer-links li a {
  color: #d1d1d1
}
/* Responsive */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    gap: 22px;
  }
  .slot-img {
    margin: 0 auto;
  }
  .feature-list {
    flex-direction: column;
    gap: 15px;
  }
}
@media (max-width: 650px) {
  .logo { font-size: 1.35rem; }
  .features h2, .faq h2, .seo-text h2 { font-size: 1.1rem; }
}
@media (max-width: 600px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 12px;
  }
  .logo {
    font-size: 1.2rem;
    gap: 8px;
    margin-bottom: 6px;
  }
  .logo-img {
    width: 42px;
    height: auto;
  }
  .nav ul {
    gap: 12px;
    font-size: 1rem;
    flex-wrap: wrap;
  }
  .nav a {
    font-size: 1rem;
    padding: 2px 0;
  }
}
.container {
  width: 98%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 6px;
  padding-right: 6px;
}
@media (max-width: 600px) {
  .container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 36px 6px 24px 6px;
  }
  .hero h1 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    text-align: center;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 16px;
    text-align: center;
  }
.btn-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .btn-primary,
  .hero-logo-link {
    width: 90%;  
    max-width: 300px; 
    display: block;  
    margin: 0 auto;  
  }
  .btn-primary {
    padding: 13px 0;
    font-size: 1.08rem;
  }
  .hero-logo-link {
    height: calc(13px*2 + 1.08rem);
    overflow: hidden;
  }
  .hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
@media (max-width: 600px) {
  .demo-frame {
    max-width: 100vw;
    border-radius: 12px;
    border-width: 1.5px;
    aspect-ratio: 16/9;
  }
  .demo-frame img {
    border-radius: 12px;
  }
  .demo-slot h2 {
  color: #00d4ff;
  margin-bottom: 30px;
  font-size: 1.10rem;
}
  .about-text h2 {
  font-size: 1.10rem;
  color: #00d4ff;
  margin-bottom: 18px;
}
  .about-content {
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
  .slot-img {
    width: 95vw;
    max-width: 380px;
    border-radius: 12px;
    margin: 0 auto;
}
  .testimonials h2 {
  color: #55c1ff;
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.10rem;
}
}
@media (max-width: 600px) {
  .seo-text, .about-game, .features, .demo-slot, .faq {
    padding-left: 8px;
    padding-right: 8px;
  }
  .seo-text h2, .features h2, .faq h2 {
    font-size: 1.08rem;
  }
  .seo-text p, .about-text p, .features p, .faq-item p {
    font-size: 0.99rem;
  }
}
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
  .footer {
    font-size: 0.95rem;
    padding: 14px 0 7px 0;
  }
}
body {
  background: linear-gradient(135deg, #210048 0%, #114e2e 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
@media (max-width: 600px) {
  .features {
    padding: 28px 0;
}
  .feature-list {
    flex-direction: column;
    align-items: center;      /* Центрирует все .feature-item */
    gap: 18px;
}
  .feature-item {
    width: 95vw;              /* Почти на всю ширину экрана */
    max-width: 370px;         /* Но не больше, чтобы было красиво */
    min-width: 0;
    margin: 0 auto;
    text-align: center;
  }
}