.hero {
  margin-top: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
      135deg,
      rgba(139, 0, 0, 0.2),
      rgba(10, 10, 10, 0.9)
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="g"><stop offset="0%" stop-color="%23dc143c" stop-opacity="0.1"/><stop offset="100%" stop-color="%23000" stop-opacity="0"/></radialGradient></defs><rect fill="url(%23g)" width="1000" height="1000"/></svg>');
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(220, 20, 60, 0.03) 2px,
    rgba(220, 20, 60, 0.03) 4px
  );
  pointer-events: none;
}

.hero-container {
  margin: 0 auto;
  padding: 64px 24px;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-white), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-gray);
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.bonus-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.bonus-card {
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.1),
    rgba(139, 0, 0, 0.1)
  );
  border: 0.5px solid var(--primary-red);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(220, 20, 60, 0.2);
}

.bonus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(220, 20, 60, 0.4);
  border-color: var(--gold);
}

.card-1 {
  background: url("/assets/bonus-1.webp") no-repeat center/cover;
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.card-1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.bonus-card h3,
.bonus-card p {
  position: relative;
  z-index: 2;
}

.card-2 {
  background: url("/assets/bonus-2.webp") no-repeat center/cover;
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.card-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.card-3 {
  background: url("/assets/bonus-3.webp") no-repeat center/cover;
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.card-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.bonus-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.bonus-card h3 {
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 8px;
}

.bonus-card p {
  color: var(--text-gray);
  font-size: 14px;
}

.hero-cta {
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn-cta {
  font-size: 20px;
  padding: 20px 64px;
  background: linear-gradient(135deg, var(--primary-red), var(--gold));
  box-shadow: 0 10px 40px rgba(220, 20, 60, 0.4);
  animation: pulse 2s infinite;
}

.btn-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 50px rgba(220, 20, 60, 0.6);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.4);
  }
  50% {
    box-shadow: 0 10px 40px rgba(255, 179, 0, 0.6);
  }
}

/* Game Categories */
.game-categories {
  padding: 64px 24px;
  background: var(--bg-dark);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 48px;
  background: linear-gradient(135deg, var(--text-white), var(--primary-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.category-card {
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.1),
    rgba(10, 10, 10, 0.8)
  );
  border: 0.5px solid var(--primary-red);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.category-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(220, 20, 60, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 8px 30px rgba(220, 20, 60, 0.5);
  border-color: var(--gold);
}

.category-icon {
  font-size: 64px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.5));
}

.category-icon img {
  width: 100%;
  border-radius: 15px;
}

.category-card h3 {
  color: var(--text-white);
  font-size: 20px;
  margin-bottom: 8px;
}

.category-card p {
  color: var(--text-gray);
  font-size: 13px;
}

/* Game Sections */
.game-section {
  padding: 80px 24px;
  background: var(--bg-dark);
  border-top: 1px solid rgba(220, 20, 60, 0.1);
}

.game-section:nth-child(even) {
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.5),
    rgba(26, 26, 26, 0.3)
  );
}

.game-section-header {
  margin-bottom: 40px;
}

.game-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--gold);
}

.game-section-desc {
  color: var(--text-gray);
  font-size: 16px;
  max-width: 800px;
}

.games-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 16px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-red) var(--card-bg);
}

.games-scroll::-webkit-scrollbar {
  height: 8px;
}

.games-scroll::-webkit-scrollbar-track {
  background: var(--card-bg);
  border-radius: 10px;
}

.games-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 10px;
}

.game-card {
  min-width: 250px;
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.05),
    rgba(26, 26, 26, 0.8)
  );
  border: 0.5px solid rgba(220, 20, 60, 0.3);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 25px rgba(220, 20, 60, 0.4);
}

.game-card-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.play-btn {
  padding: 12px 24px;
  background: var(--gold);
  color: var(--bg-dark);
  border-radius: 20px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.game-card-content {
  padding: 16px;
  text-align: center;
}

.game-card h4 {
  color: var(--text-white);
  font-size: 16px;
  margin-bottom: 4px;
}

.game-card p {
  color: var(--text-gray);
  font-size: 12px;
}

/* About Section */
.about-section {
  padding: 80px 24px;
  background: linear-gradient(
    135deg,
    rgba(139, 0, 0, 0.1),
    rgba(10, 10, 10, 0.9)
  );
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.advantage-card {
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.1),
    rgba(26, 26, 26, 0.5)
  );
  border: 0.5px solid var(--primary-red);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(220, 20, 60, 0.3);
}

.advantage-icon {
  font-size: 64px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 10px rgba(255, 179, 0, 0.5));
}

.advantage-card h3 {
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 16px;
}

.advantage-card p {
  color: var(--text-gray);
  line-height: 1.8;
}

.advantage-details {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.advantage-card:hover .advantage-details {
  opacity: 1;
  visibility: visible;
  max-height: 200px; /* можно регулировать */
  transform: translateY(0);
}

/* Reviews Section */
.reviews-section {
  padding: 80px 24px;
  background: var(--bg-dark);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.review-card {
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.05),
    rgba(26, 26, 26, 0.8)
  );
  border: 0.5px solid rgba(220, 20, 60, 0.3);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(220, 20, 60, 0.3);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-red), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  border: 2px solid var(--gold);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.review-info h4 {
  color: var(--text-white);
  font-size: 18px;
  margin-bottom: 4px;
}

.review-date {
  color: var(--text-gray);
  font-size: 12px;
}

.review-stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 16px;
}

.review-text {
  color: var(--text-gray);
  line-height: 1.8;
  font-style: italic;
}

/* Payment Section */
.payment-section {
  padding: 80px 24px;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.8),
    rgba(26, 26, 26, 0.5)
  );
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 48px;
}

.payment-card {
  background: rgba(24, 17, 17, 0.8);
  border: 0.5px solid rgba(220, 20, 60, 0.3);
  border-radius: 12px;
  padding: 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.payment-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3);
}

.payment-icon {
  font-size: 36px;
}

.payment-icon img {
  width: 70px;
  padding: 0.5rem;
  object-fit: cover;
  background-color: white;
  border-radius: 10px;
}

.payment-name {
  color: var(--text-white);
  font-weight: bold;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .nav-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 0 24px;
    border-top: 1px solid rgba(220, 20, 60, 0.3);
    gap: 16px;
    transition: all 0.4s ease;
  }

  /* Когда меню активно */
  .nav-menu.active {
    max-height: 500px;
    padding: 24px;
    opacity: 1;
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .bonus-cards {
    grid-template-columns: 1fr;
  }

  .btn-cta {
    font-size: 16px;
    padding: 16px 48px;
  }

  .section-title {
    font-size: 28px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }

  .game-section h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .category-card {
    padding: 1rem;
  }
  .category-icon {
    margin-bottom: 0;
  }
  .game-card {
    min-width: 200px;
  }

  .game-card-image {
    width: 200px;
    height: 150px;
  }

  .payment-card {
    padding: 16px 24px;
    min-width: 140px;
  }
  .payment-name {
    font-size: 14px;
  }
}

@media (max-width: 350px) {
  .reviews-section {
    padding: 1rem;
  }
  .review-card {
    padding: 1rem;
    box-sizing: border-box;
  }
}
