:root {
  --primary-dark: #0a0e27;
  --secondary-dark: #1a1f3a;
  --accent-gold: #ffd700;
  --accent-emerald: #00d9a3;
  --accent-cyan: #00e5ff;
  --text-light: #ffffff;
  --text-gray: #b8c1d9;
  --border-color: #2a2f4a;
  --gradient-primary: linear-gradient(135deg, #00d9a3 0%, #00e5ff 100%);
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  --shadow-glow: 0 0 20px rgba(0, 217, 163, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  color: var(--text-light);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

header {
  background: rgba(26, 31, 58, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid var(--accent-emerald);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 217, 163, 0.5);
  letter-spacing: 1px;
}

.mobile-menu-toggle {
  display: none;
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--accent-emerald);
}

main {
  padding: 60px 0;
  min-height: calc(100vh - 200px);
}

.hero {
  text-align: center;
  padding: 40px 0 60px;
  background: linear-gradient(135deg, rgba(0, 217, 163, 0.1) 0%, rgba(0, 229, 255, 0.1) 100%);
  border-radius: 20px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-card);
}

h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  text-shadow: 0 0 40px rgba(0, 217, 163, 0.3);
}

h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: var(--accent-emerald);
  line-height: 1.2;
  position: relative;
  padding-left: 20px;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 80%;
  background: var(--gradient-primary);
  border-radius: 3px;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: var(--accent-cyan);
  line-height: 1.2;
}

.intro-text {
  font-size: 20px;
  color: var(--text-gray);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

.content-section {
  margin-bottom: 50px;
}

.content-section p {
  font-size: 17px;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.info-box {
  background: rgba(0, 217, 163, 0.1);
  border-left: 4px solid var(--accent-emerald);
  padding: 25px;
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 217, 163, 0.1);
}

.info-box h3 {
  margin-top: 0;
  color: var(--accent-emerald);
}

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

.features-list li {
  padding: 12px 0 12px 35px;
  position: relative;
  font-size: 16px;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.features-list li:hover {
  color: var(--text-light);
  padding-left: 40px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: rgba(26, 31, 58, 0.6);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.comparison-table thead {
  background: var(--gradient-primary);
}

.comparison-table th {
  padding: 18px;
  text-align: left;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 15px;
}

.comparison-table td {
  padding: 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 15px;
}

.comparison-table tbody tr:hover {
  background: rgba(0, 217, 163, 0.08);
  transition: background 0.3s ease;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.casino-rating-section {
  margin: 60px 0;
}

.casino-table {
  display: grid;
  gap: 25px;
  margin-top: 40px;
}

.casino-card {
  background: rgba(26, 31, 58, 0.8);
  border-radius: 16px;
  padding: 30px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 25px;
  align-items: center;
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.casino-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.casino-card:hover::before {
  opacity: 0.1;
}

.casino-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 217, 163, 0.3);
}

.casino-rank {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  z-index: 1;
}

.casino-logo {
  width: 100%;
  height: 100px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1;
  position: relative;
}

.casino-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.casino-info {
  z-index: 1;
  position: relative;
}

.casino-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.feature-badge {
  background: rgba(0, 217, 163, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald);
  font-weight: 500;
}

.casino-action {
  z-index: 1;
  position: relative;
}

.play-button {
  background: var(--gradient-gold);
  color: var(--primary-dark);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  min-width: 150px;
}

.play-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

.numbered-list {
  counter-reset: item;
  list-style: none;
  padding: 0;
}

.numbered-list li {
  counter-increment: item;
  margin-bottom: 20px;
  padding-left: 50px;
  position: relative;
  font-size: 16px;
  color: var(--text-gray);
}

.numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-dark);
}

footer {
  background: rgba(26, 31, 58, 0.95);
  padding: 40px 0;
  margin-top: 80px;
  border-top: 2px solid var(--accent-emerald);
}

.footer-content {
  text-align: center;
  color: var(--text-gray);
}

.footer-content p {
  margin: 10px 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    margin-top: 20px;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  .intro-text {
    font-size: 16px;
  }

  .casino-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 20px;
    text-align: center;
  }

  .casino-rank {
    top: 10px;
    left: 10px;
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .casino-logo {
    margin: 0 auto;
    width: 150px;
  }

  .casino-name {
    font-size: 22px;
  }

  .casino-features {
    justify-content: center;
  }

  .play-button {
    width: 100%;
    max-width: 300px;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table table {
    min-width: 600px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 26px;
  }

  .logo {
    font-size: 22px;
  }

  .casino-card {
    padding: 20px 15px;
  }

  .play-button {
    padding: 14px 30px;
    font-size: 16px;
  }
}
