* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}

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

/* Header */
.header {
  background: #2c2c2c;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff6b35;
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

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

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

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #ff6b35;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffcd02 100%);
  padding: 120px 20px 80px;
  text-align: center;
  margin-top: 60px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.logo {
  margin-bottom: 30px;
}

.logo-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff4444, #cc0000);
  display: inline-block;
  line-height: 120px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
  background: linear-gradient(135deg, #e91e63, #ad1457);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
}

.cta-button.large {
  padding: 20px 50px;
  font-size: 1.4rem;
}

/* Game Preview */
.game-preview {
  padding: 80px 0;
  background: #fff;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.game-info h3 {
  font-size: 1.5rem;
  color: #ff6b35;
  margin-bottom: 15px;
}

.game-info p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #666;
}

.game-screen {
  text-align: center;
  margin-top: 50px;
}

.game-img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* Features */
.features {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 20px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

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

.feature-card h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: rgba(7, 5, 5, 0.9);
  line-height: 1.6;
}

/* Game Rules */
.game-rules {
  padding: 80px 0;
  background: #f8f9fa;
}

.rules-content {
  max-width: 800px;
  margin: 0 auto;
}

.rule-item {
  margin-bottom: 40px;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rule-item h3 {
  font-size: 1.4rem;
  color: #ff6b35;
  margin-bottom: 15px;
  font-weight: 600;
}

.rule-item p {
  color: #666;
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffcd02 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  background: #2c2c2c;
  padding: 40px 0;
  text-align: center;
}

.footer p {
  color: #ccc;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ff6b35;
}

/* Floating Button */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #e91e63, #ad1457);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
  transition: all 0.3s;
  z-index: 1000;
  animation: pulse 2s infinite;
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(233, 30, 99, 0.8);
  }
  100% {
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
  }
}

/* Content styles for detailed sections */
.subtitle {
  font-size: 1.2em;
  opacity: 0.9;
  margin-top: 10px;
}

/* ИСПРАВЛЕНИЕ: Основной контент должен быть в контейнере */
.content {
  background: white;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 25px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ДОБАВЛЕНО: Обертка для основного контента */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ДОБАВЛЕНО: Стили для секций с контентом */
.content-section {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

h2 {
  color: #ee5a24;
  border-bottom: 3px solid #ff6b6b;
  padding-bottom: 10px;
  margin-top: 35px;
  font-size: 1.8em;
}

h3 {
  color: #2c2c54;
  margin-top: 25px;
  font-size: 1.4em;
}

.highlight-box {
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  border-left: 5px solid #e17055;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
}

.pros, .cons {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.pros {
  background: linear-gradient(135deg, #00b894 0%, #00a085 100%);
  color: white;
}

.cons {
  background: linear-gradient(135deg, #e17055 0%, #d63031 100%);
  color: white;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.specs-table th {
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: bold;
}

.specs-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.specs-table tr:nth-child(even) {
  background: #f8f9fa;
}

.specs-table tr:hover {
  background: #e3f2fd;
  transition: background 0.3s ease;
}

.rating {
  text-align: center;
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(9, 132, 227, 0.3);
}

.rating h3 {
  color: white;
  margin-top: 0;
}

.stars {
  font-size: 2.5em;
  margin: 10px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

/* Переопределяем .feature-card для контента */
.feature-grid .feature-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  border-top: 4px solid #ff6b6b;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-grid .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-grid .feature-card h4 {
  color: #ee5a24;
  margin-top: 0;
}

p {
  margin-bottom: 15px;
  text-align: justify;
}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {

  .nav-container {
  justify-content: space-between;
}

  .nav-logo {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 15px 30px;
    border-radius: 25px;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
  }

  .nav-link:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
    transform: scale(1.05);
  }

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

  .hero-description {
    font-size: 1rem;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .floating-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }
  
  .content {
    padding: 20px;
    margin: 0 10px 25px 10px;
  }

  /* ДОБАВЛЕНО: Адаптивность для основного контента */
  .main-content {
    padding: 0 15px;
  }
  
  .content-section {
    padding: 25px 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 15px 60px;
  }

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

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .cta-button.large {
    padding: 15px 35px;
    font-size: 1.2rem;
  }

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

  .cta-section h2 {
    font-size: 2rem;
  }

  .nav-link {
    font-size: 1.1rem;
    min-width: 180px;
    padding: 12px 25px;
  }

  .container {
    padding: 0 15px;
  }

  /* ДОБАВЛЕНО: Адаптивность для мобильных */
  .main-content {
    padding: 0 10px;
  }
  
  .content-section {
    padding: 20px 15px;
  }
}

/* Исправление для таблицы технических характеристик */
.specs-table {
  width: 100%;
  max-width: 1200px; /* Ограничиваем максимальную ширину */
  margin: 25px auto; /* Центрируем таблицу */
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Дополнительный контейнер для таблицы если нужно */
.specs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.specs-table th {
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: bold;
}

.specs-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.specs-table tr:nth-child(even) {
  background: #f8f9fa;
}

.specs-table tr:hover {
  background: #e3f2fd;
  transition: background 0.3s ease;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .specs-table {
    font-size: 14px;
    margin: 25px 10px;
  }
  
  .specs-table th,
  .specs-table td {
    padding: 10px 8px;
  }
  
  .specs-container {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .specs-table {
    font-size: 12px;
    margin: 20px 5px;
  }
  
  .specs-table th,
  .specs-table td {
    padding: 8px 5px;
  }
  
  /* Для очень маленьких экранов можно сделать таблицу прокручиваемой */
  .table-wrapper {
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px;
  }
}

/* Центрирование заголовка "Технические характеристики" */
.specs-title {
  text-align: center;
  color: #ee5a24;
  border-bottom: 3px solid #ff6b6b;
  padding-bottom: 10px;
  margin-top: 35px;
  font-size: 1.8em;
}


