/* Reset и базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #f8d44c;
  --deep-red: #8e1e1e;
  --warm-gray: #d4c8b5;
  --dark-bg: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
  --stone-texture: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23333"/><circle cx="20" cy="20" r="2" fill="%23555"/><circle cx="80" cy="40" r="1.5" fill="%23444"/><circle cx="50" cy="70" r="1" fill="%23666"/></svg>');
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--warm-gray);
  background: var(--dark-bg);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Заголовки */
h1,
h2,
h3 {
  font-family: "Cinzel Decorative", serif;
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px solid var(--gold);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link {
  display: block;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo {
  width: 100%;
  height: 40px;
}

.brand-text {
  font-family: "Cinzel Decorative", serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--warm-gray);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover {
  color: var(--gold);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--gold);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect width="1200" height="800" fill="%231a1a1a"/><polygon points="0,800 400,600 800,700 1200,500 1200,800" fill="%232d1810" opacity="0.8"/><polygon points="0,800 300,650 600,750 900,550 1200,600 1200,800" fill="%238E1E1E" opacity="0.3"/></svg>');
  background-size: cover;
  background-position: center;
  padding: 120px 2rem 2rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--stone-texture);
  opacity: 0.1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--warm-gray);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-char {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(45deg, var(--gold), #ffd700);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(248, 212, 76, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 212, 76, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--warm-gray);
  border-color: var(--warm-gray);
}

.btn-secondary:hover {
  background: var(--warm-gray);
  color: #1a1a1a;
}

.btn-download {
  background: linear-gradient(45deg, var(--deep-red), #b91c1c);
  color: white;
  font-size: 1.2rem;
  padding: 20px 40px;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(142, 30, 30, 0.4);
}

/* Секции */
section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Legal Section */
.legal-section {
  padding: 120px 0 80px;
  background: rgba(26, 26, 26, 0.9);
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(45, 24, 16, 0.3);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(248, 212, 76, 0.2);
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--gold);
}

.legal-content h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.8rem;
  color: var(--gold);
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  margin: 1rem 0 1rem 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.contact-info {
  background: rgba(142, 30, 30, 0.2);
  padding: 2rem;
  border-radius: 10px;
  margin-top: 3rem;
  border: 1px solid rgba(248, 212, 76, 0.3);
}

.contact-info h3 {
  margin-bottom: 1rem;
}

/* Game Section */
.game-section {
  background: rgba(45, 24, 16, 0.3);
}

.game-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.game-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.3rem !important;
}

.game-features {
  list-style: none;
  margin-top: 2rem;
}

.game-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
}

.game-features li::before {
  content: "⚔️";
  position: absolute;
  left: 0;
}

.game-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.game-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.game-img:hover {
  transform: scale(1.05);
}

/* Features Section */
.features-section {
  background: rgba(26, 26, 26, 0.8);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(45, 24, 16, 0.6);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(248, 212, 76, 0.2);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(248, 212, 76, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Media Section */
.media-section {
  background: rgba(142, 30, 30, 0.1);
}

.media-content {
  display: grid;
  gap: 3rem;
}

.video-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-container video,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.1);
}

/* Download Section */
.download-section {
  background: linear-gradient(
    135deg,
    rgba(142, 30, 30, 0.3),
    rgba(45, 24, 16, 0.3)
  );
  text-align: center;
}

.download-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--warm-gray);
}

.download-info {
  margin-top: 2rem;
  color: var(--gold);
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  background: rgba(26, 26, 26, 0.9);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(45, 24, 16, 0.4);
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(248, 212, 76, 0.2);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  background: rgba(248, 212, 76, 0.1);
  margin: 0;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(248, 212, 76, 0.2);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--warm-gray);
}

/* Testimonials Section */
.testimonials-section {
  background: rgba(45, 24, 16, 0.2);
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(26, 26, 26, 0.8);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(248, 212, 76, 0.2);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(248, 212, 76, 0.2);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--warm-gray);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.author-info span {
  color: var(--warm-gray);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.rating {
  font-size: 0.9rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(
    135deg,
    rgba(45, 24, 16, 0.95),
    rgba(26, 26, 26, 0.95)
  );
  margin: 15% auto;
  padding: 2rem;
  border: 2px solid var(--gold);
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
}

.modal-close {
  color: var(--gold);
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #fff;
}

.modal h3 {
  margin-bottom: 1rem;
  color: var(--gold);
}

.modal p {
  color: var(--warm-gray);
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  background: rgba(45, 24, 16, 0.3);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid rgba(248, 212, 76, 0.3);
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.8);
  color: var(--warm-gray);
  font-family: "Open Sans", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(248, 212, 76, 0.3);
}

/* Footer */
.footer {
  background: rgba(26, 26, 26, 0.95);
  border-top: 2px solid var(--gold);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  color: var(--warm-gray);
  text-decoration: none;
  padding: 0.5rem;
  border: 1px solid rgba(248, 212, 76, 0.3);
  border-radius: 5px;
  transition: all 0.3s;
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(248, 212, 76, 0.2);
  color: var(--warm-gray);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 1rem 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .game-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .legal-content {
    padding: 2rem 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 1.5rem 1rem;
  }
}
