/* Основы и сброс */
* {
  box-sizing: border-box;
}
body {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  margin: 0;
  background: linear-gradient(135deg, #f0e6d2 0%, #c4b997 100%);
  color: #4a3c2b;
  min-height: 100vh;
}
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  background: linear-gradient(90deg, #8a7d5f 0%, #6e6450 100%);
  padding: 18px 0;
  color: #f5f0e6;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Palatino Linotype', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #f5f0e6;
  text-decoration: none;
  letter-spacing: 1.1px;
}
.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 26px;
}
.nav a {
  color: #f5f0e6;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.25s;
}
.nav a:hover {
  color: #a97c50;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #c4b997 0%, #8a7d5f 90%, #6e6450 100%);
  color: #4a3c2b;
  text-align: center;
  padding: 80px 20px 60px 20px;
  border-bottom: 4px solid #a97c50;
  margin-bottom: 30px;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: 1.6px;
  text-shadow: 0 0 5px #a97c50aa;
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.btn-primary {
  background: #a97c50;
  color: #f5f0e6;
  padding: 16px 40px;
  border: none;
  border-radius: 25px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(169,124,80,0.6);
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #866c41;
  color: #fff;
}
.btn-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 28px;
}
.hero-logo-link {
  display: inline-block;
  width: 270px;
  height: 75px;
  overflow: hidden;
}
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 6px #a97c50);
}

/* About */
.about-game {
  background: #f5f0e6;
  padding: 55px 0;
  margin: 0 auto 30px auto;
  border-radius: 18px;
  box-shadow: 0 0 25px #a97c5077;
}
.about-content {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.slot-img {
  width: 320px;
  border-radius: 24px;
  box-shadow: 0 0 30px #a97c5066;
  border: 3px solid #a97c50;
  background: #faf5e8;
}
.about-text {
  flex: 1;
  min-width: 260px;
  color: #4a3c2b;
}
.about-text h2 {
  font-size: 2.6rem;
  color: #866c41;
  margin-bottom: 24px;
  text-shadow: 0 0 5px #a97c50aa;
}
.about-text p {
  font-size: 1.25rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.about-text ul {
  color: #7a664a;
  padding-left: 24px;
  margin: 0;
  font-weight: 600;
}
.about-text li {
  margin-bottom: 12px;
}

/* Features (Culture, Ecology) */
.features {
  padding: 55px 0;
  background: linear-gradient(135deg, #8a7d5f 70%, #a97c50 100%);
  margin: 0 auto 30px auto;
  border-radius: 18px;
  box-shadow: 0 0 22px #a97c5088;
}
.features h2 {
  text-align: center;
  color: #4a3c2b;
  margin-bottom: 42px;
  font-size: 2.5rem;
  text-shadow: 0 0 8px #7a664a88;
}
.feature-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.feature-item {
  flex: 1 1 250px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  padding: 30px 24px;
  margin-bottom: 28px;
  min-width: 250px;
  max-width: 320px;
  box-shadow: 0 0 12px #7a664a88;
  border: 2px solid #7a664a;
  text-align: center;
  color: #4a3c2b;
  font-family: 'Palatino Linotype', serif;
  transition: transform 0.25s ease;
}
.feature-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #a97c5066;
}
.feature-item h3 {
  margin-bottom: 18px;
  color: #866c41;
  font-size: 1.4rem;
  font-weight: 700;
}
.feature-item p {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Demo slot (Travel) */
.demo-slot {
  background: #faf5e8;
  padding: 60px 0 40px 0;
  text-align: center;
  margin: 0 auto 30px auto;
  border-radius: 18px;
  color: #7a664a;
  box-shadow: 0 0 35px #a97c5055;
}
.demo-slot h2 {
  margin-bottom: 35px;
  font-size: 2.4rem;
  text-shadow: none;
}
.demo-frame {
  max-width: 480px;
  margin: 0 auto 24px auto;
  background: #f5f0e6;
  border-radius: 20px;
  border: 2px solid #a97c50;
  box-shadow: 0 0 15px #a97c5055;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.demo-frame img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* SEO текст */
.seo-text {
  padding: 40px 0 40px 0;
  background: #f5f0e6;
  color: #4a3c2b;
  margin-bottom: 30px;
  border-radius: 18px;
  text-align: center;
  font-family: 'Palatino Linotype', serif;
}
.seo-text h2 {
  font-size: 1.8rem;
  margin-bottom: 22px;
  font-weight: 700;
  text-shadow: none;
}
.seo-text h3 {
  font-size: 1.5rem;
  margin-bottom: 22px;
  font-weight: 700;
  text-shadow: none;
}
.seo-text p {
  font-size: 1.2rem;
  margin-bottom: 16px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* FAQ */
.faq {
  padding: 50px 0;
  background: #8a7d5f;
  max-width: 900px;
  margin: 0 auto 30px auto;
  border-radius: 20px;
  box-shadow: 0 0 30px #7a664a55;
  color: #4a3c2b;
  font-family: 'Palatino Linotype', serif;
}
.faq h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
}
.faq-item {
  margin-bottom: 25px;
  background: rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 22px 26px;
  border-left: 5px solid #7a664a;
  transition: background 0.3s ease;
}
.faq-item:hover {
  background: rgba(122,102,74,0.6);
}
.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.faq-item p {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Footer */
.footer {
  background: linear-gradient(90deg, #6e6450 0%, #8a7d5f 100%);
  color: #000000;
  padding: 25px 0 15px 0;
  text-align: center;
  font-family: 'Palatino Linotype', serif;
  font-size: 0.95rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  display: flex;
  justify-content: center;
  gap: 22px;
}
.footer-links li a {
  color: #4a3c2b;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.25s ease;
}
.footer-links li a:hover {
  color: #a97c50;
}

/* Responsive */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
  .slot-img {
    margin: 0 auto;
  }
  .feature-list {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 650px) {
  .logo {
    font-size: 1.55rem;
  }
  .about-text h2, .features h2, .faq h2, .seo-text h2 {
    font-size: 1.3rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 500px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .demo-frame iframe {
    height: 180px;
  }
}
@media (max-width: 600px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 14px;
  }
  .logo {
    font-size: 1.3rem;
    gap: 10px;
    margin-bottom: 8px;
  }
  .nav ul {
    gap: 14px;
    font-size: 1.05rem;
    flex-wrap: wrap;
  }
  .nav a {
    font-size: 1.05rem;
    padding: 3px 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: 46px 12px 32px 12px;
  }
  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    text-align: center;
  }
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
  }
  .btn-primary {
    width: 90%;
    min-width: 0;
    font-size: 1.1rem;
    padding: 15px 0;
    margin: 0 auto;
    display: block;
  }
}
@media (max-width: 600px) {
  .demo-frame {
    max-width: 100vw;
    border-radius: 14px;
    border-width: 1.5px;
    aspect-ratio: 16/9;
  }
  .demo-frame img {
    border-radius: 14px;
  }
  .about-content {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .slot-img {
    width: 95vw;
    max-width: 400px;
    border-radius: 16px;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .seo-text, .about-game, .features, .demo-slot, .faq {
    padding-left: 10px;
    padding-right: 10px;
  }
  .seo-text h2, .features h2, .faq h2 {
    font-size: 1.15rem;
  }
  .seo-text p, .about-text p, .features p, .faq-item p {
    font-size: 1.05rem;
  }
}
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  .footer {
    font-size: 1rem;
    padding: 15px 0 10px 0;
  }
}