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

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #2d1b69 0%, #11998e 100%);
  color: white;
  min-height: 100vh;
}

.header {
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.registration-btn {
  background: #7c3aed;
  color: white;
}

.registration-btn:hover {
  background: #6d28d9;
  transform: translateY(-2px);
}

.login-btn {
  background: #6366f1;
  color: white;
}

.login-btn:hover {
  background: #4f46e5;
  transform: translateY(-2px);
}

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

.hero {
  text-align: center;
  padding: 40px 0;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 60px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.game-card:hover {
  transform: translateY(-10px);
  border-color: #ffd700;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 15px;
}

.game-title {
  position:absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: #ffd700;
  text-transform: uppercase;
}

.play-now-btn {
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  border: none;
  padding: 20px 60px;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.play-now-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
}

.description {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px;
  border-radius: 15px;
  margin: 60px 0;
  line-height: 1.8;
}

.description p {
  margin-bottom: 20px;
  font-size: 16px;
  text-align: justify;
}

.info-table {
  margin: 60px 0;
}

.table-container {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  overflow: hidden;
}

.casino-info {
  width: 100%;
  border-collapse: collapse;
}

.casino-info td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.casino-info tr:first-child td {
  background: rgba(124, 58, 237, 0.8);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

.casino-info tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.05);
}

.casino-info .label {
  font-weight: 500;
  width: 30%;
}

.final-play-btn {
  display: block;
  margin: 60px auto;
  background: linear-gradient(45deg, #10b981, #059669);
  color: white;
  border: none;
  padding: 25px 80px;
  font-size: 28px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 3px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.final-play-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .nav {
    justify-content: center;
  }
  
  .nav-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .play-now-btn {
    padding: 15px 40px;
    font-size: 20px;
  }
  
  .final-play-btn {
    padding: 20px 60px;
    font-size: 24px;
  }
  
  .description {
    padding: 20px;
  }
  
  .casino-info td {
    padding: 10px 15px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }
  
  .games-grid {
    margin-bottom: 40px;
  }
  
  .play-now-btn {
    padding: 12px 30px;
    font-size: 18px;
  }
  
  .final-play-btn {
    padding: 15px 40px;
    font-size: 20px;
  }
  
  .casino-info td {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .casino-info .label {
    width: 40%;
  }
}
