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

:root {
  --primary-purple: #2d1b4e;
  --dark-purple: #1a0f2e;
  --accent-gold: #ffc107;
  --accent-orange: #ff9800;
  --text-light: #ffffff;
  --text-gray: #b8b8b8;
  --border-gold: #d4af37;
  --gradient-purple: linear-gradient(135deg, #2d1b4e 0%, #1a0f2e 100%);
  --gradient-gold: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark-purple);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header */
.header {
  background: var(--primary-purple);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.logo-burning {
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo-wins {
  color: var(--accent-gold);
  font-style: italic;
}

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

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

.nav-link:hover {
  color: var(--accent-gold);
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--dark-purple);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-purple);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 152, 0, 0.2);
  border: 2px solid var(--accent-orange);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero-title {
  font-size: 80px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(255, 193, 7, 0.5);
}

.burning-text {
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 5px;
  display: block;
}

.wins-text {
  color: var(--accent-gold);
  font-style: italic;
  display: block;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.btn-play,
.btn-real {
  padding: 18px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s;
}

.btn-play {
  background: var(--gradient-gold);
  color: var(--dark-purple);
}

.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.5);
}

.btn-real {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent-gold);
}

.btn-real:hover {
  background: var(--accent-gold);
  color: var(--dark-purple);
}

.hero-features {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  font-size: 30px;
}

.feature-text {
  font-size: 16px;
  font-weight: 500;
}

/* Floating Symbols */
.floating-symbols {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.symbol {
  position: absolute;
  font-size: 50px;
  opacity: 0.3;
  animation: float 6s infinite ease-in-out;
}

.symbol-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}
.symbol-2 {
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}
.symbol-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
}
.symbol-4 {
  bottom: 20%;
  right: 10%;
  animation-delay: 3s;
}
.symbol-5 {
  top: 50%;
  left: 5%;
  animation-delay: 4s;
}
.symbol-6 {
  top: 60%;
  right: 5%;
  animation-delay: 5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

/* Promo Banner */
.promo-banner {
  background: linear-gradient(90deg, #1a0f2e 0%, #2d1b4e 50%, #1a0f2e 100%);
  padding: 30px 0;
  border-top: 2px solid var(--border-gold);
  border-bottom: 2px solid var(--border-gold);
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.promo-name {
  font-size: 28px;
  font-weight: bold;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.promo-offer {
  font-size: 20px;
  font-weight: 600;
}

.btn-claim {
  background: var(--gradient-gold);
  color: var(--dark-purple);
  padding: 15px 35px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-claim:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--accent-gold);
  text-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

/* About Section */
.about {
  background: var(--primary-purple);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-gray);
}

.features-list {
  list-style: none;
  margin: 30px 0;
}

.features-list li {
  padding: 12px 0;
  font-size: 18px;
  color: var(--text-light);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
  padding: 15px 35px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--dark-purple);
}

/* Game Preview */
.game-preview {
  background: var(--dark-purple);
  border: 3px solid var(--border-gold);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.game-screen {
  background: linear-gradient(135deg, #1a0f2e 0%, #2d1b4e 100%);
  border-radius: 15px;
  padding: 30px;
  position: relative;
}

.reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.reel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.symbol-slot {
  background: rgba(255, 193, 7, 0.1);
  border: 2px solid var(--border-gold);
  border-radius: 10px;
  padding: 20px;
  font-size: 40px;
  text-align: center;
  transition: all 0.3s;
}

.spin-btn {
  width: 100%;
  background: var(--gradient-gold);
  color: var(--dark-purple);
  border: none;
  padding: 20px;
  border-radius: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.spin-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

.spin-btn:active {
  transform: scale(0.98);
}

/* How to Play */
.how-to-play {
  background: var(--dark-purple);
}

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

.step {
  background: var(--primary-purple);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.step:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-gold);
  color: var(--dark-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--accent-gold);
}

.step p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Casinos Grid */
.casinos {
  background: var(--primary-purple);
}

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

.casino-card {
  background: var(--dark-purple);
  border: 2px solid rgba(255, 193, 7, 0.3);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s;
  position: relative;
}

.casino-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 193, 7, 0.2);
}

.casino-card.featured {
  border: 3px solid var(--accent-gold);
  box-shadow: 0 10px 40px rgba(255, 193, 7, 0.3);
}

.featured-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--gradient-gold);
  color: var(--dark-purple);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
}

.casino-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.casino-name {
  font-size: 28px;
  font-weight: bold;
  color: var(--accent-gold);
}

.casino-rating {
  text-align: right;
}

.stars {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

.rating-text {
  font-size: 18px;
  font-weight: bold;
  color: var(--accent-gold);
}

.casino-bonus {
  margin-bottom: 25px;
}

.bonus-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 15px;
}

.bonus-features {
  list-style: none;
}

.bonus-features li {
  padding: 8px 0;
  color: var(--text-gray);
  font-size: 15px;
}

.btn-casino {
  display: block;
  width: 100%;
  background: var(--gradient-gold);
  color: var(--dark-purple);
  text-align: center;
  padding: 15px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s;
}

.btn-casino:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

/* Tips Section */
.tips {
  background: var(--dark-purple);
}

.tips-intro {
  text-align: center;
  font-size: 20px;
  color: var(--text-gray);
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.tip-card {
  background: var(--primary-purple);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.tip-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
}

.tip-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.tip-card h3 {
  font-size: 22px;
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.tip-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* CTA Section */
.cta {
  background: var(--gradient-purple);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.cta-text {
  font-size: 22px;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-cta-primary,
.btn-cta-secondary {
  padding: 20px 50px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s;
}

.btn-cta-primary {
  background: var(--gradient-gold);
  color: var(--dark-purple);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.5);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent-gold);
}

.btn-cta-secondary:hover {
  background: var(--accent-gold);
  color: var(--dark-purple);
}

/* Footer */
.footer {
  background: var(--dark-purple);
  padding: 60px 0 30px;
  border-top: 2px solid var(--border-gold);
}

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

.footer-section h4 {
  color: var(--accent-gold);
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-text {
  color: var(--text-gray);
  line-height: 1.6;
}

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

.footer-links li {
  margin-bottom: 12px;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 193, 7, 0.2);
}

.footer-bottom p {
  color: var(--text-gray);
  margin-bottom: 10px;
}

.disclaimer {
  font-size: 14px;
  color: var(--accent-orange);
}

/* Responsive */
@media (max-width: 968px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 50px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-play,
  .btn-real {
    width: 100%;
    max-width: 300px;
  }

  .promo-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 300px;
  }

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

@media (max-width: 600px) {
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 32px;
  }

  .reels {
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }

  .symbol-slot {
    padding: 10px;
    font-size: 24px;
  }

  .game-preview {
    padding: 15px;
  }
}

/* Добавьте эти медиа-запросы в конец файла style.css */

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .about-text p {
    font-size: 16px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .about-content {
    gap: 30px;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  /* Исправление для заголовков в review секции */
  .about h3 {
    font-size: 22px !important;
    margin-bottom: 15px !important;
    margin-top: 30px !important;
  }
  
  /* Убедимся, что текст не выходит за границы */
  .about-text {
    width: 100%;
    overflow: hidden;
  }
  
  .about-text p, 
  .about-text li {
    max-width: 100%;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  .about-text p {
    font-size: 15px;
    line-height: 1.5;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .about h3 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
    margin-top: 25px !important;
  }
  
  /* Особенно для review секции */
  .about .about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .about .about-text {
    padding: 0 5px;
  }
}

/* Добавьте это для общего исправления текста */
.about-text {
  box-sizing: border-box;
}

.about-text p, 
.about-text li, 
.about-text h3 {
  max-width: 100%;
  box-sizing: border-box;
}

/* Исправление для features-list */
.features-list li {
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 10px 0;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-purple);
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    padding: 80px 20px 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.mobile-menu .nav-link {
    font-size: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
}

.mobile-menu .btn-primary {
    margin-top: 20px;
    font-size: 18px;
    padding: 15px 30px;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 30px;
    cursor: pointer;
}

/* Бургер-меню анимация */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* Overlay для затемнения фона */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Дополнительные стили для header */
.header {
    position: relative;
    z-index: 10000;
}
@media (max-width: 968px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 10001;
        position: relative;
    }
    
    /* Убедимся, что логотип остается поверх меню */
    .logo {
        z-index: 10001;
        position: relative;
    }
}

.mobile-menu-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    border-bottom: 2px solid var(--accent-gold);
}
