/* Общие стили */
:root {
  --primary: #a044ff;         /* Фиолетовый вместо зелёного */
  --primary-dark: #7a2acc;
  --primary-light: #d9b3ff;
  --text: #e0e0e0;
  --text-secondary: #a0a0a0;
  --bg: #0a0a0a;
  --card-bg: #121212;
  --border: #2a2a2a;
  --grid: rgba(42, 42, 42, 0.5);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(160, 68, 255, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(160, 68, 255, 0.05) 0%, transparent 20%),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px),
    linear-gradient(to right, var(--grid) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 100px 100px, 100px 100px;
  line-height: 1.6;
}

/* Шапка */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.play-btn {
  background: rgba(160, 68, 255, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.play-btn:hover {
  background: var(--primary);
  color: white;
}

/* Главный баннер */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(160, 68, 255, 0.7);
  background: linear-gradient(to right, #fff, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  text-shadow: 0 0 15px rgba(160, 68, 255, 0.5);
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
}

.cta-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.8rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(160, 68, 255, 0.5);
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(160, 68, 255, 0.8);
}

/* Раздел "Почему тебе стоит играть" */
.section {
  padding: 5rem 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.section-title span {
  color: var(--primary);
}

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

.feature-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(160, 68, 255, 0.2);
  border-color: var(--primary);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(160, 68, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: white;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Магазин / Карточки товаров */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(160, 68, 255, 0.3);
}

.product-header {
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(160, 68, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.product-name {
  font-size: 1.4rem;
  font-weight: 700;
}

.product-price {
  padding: 0 1.2rem 1.2rem;
  font-size: 1.1rem;
}

.price-old {
  color: var(--text-secondary);
  text-decoration: line-through;
  margin-right: 0.5rem;
}

.price-new {
  color: var(--primary);
  font-weight: 700;
}

.add-btn {
  width: 36px;
  height: 36px;
  background: rgba(160, 68, 255, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.add-btn:hover {
  background: var(--primary);
  color: white;
}

/* Вкладки навигации (Магазин / Привилегии и др.) */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin: 2rem auto;
  max-width: 600px;
  padding: 0 1rem;
}

.tab {
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Блок "Оформление" */
.order-panel {
  background: rgba(16, 16, 16, 0.7);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 350px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.order-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.order-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-radius: 8px;
  border: 1px dashed var(--border);
  color: var(--text-secondary);
  text-align: center;
}

.cart-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Нижний правый попап (например, уведомление о скриншоте) */
.notification {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  width: 300px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.notification-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero h2 {
    font-size: 1.8rem;
  }
  .nav-links {
    display: none;
  }
}