:root {
  --primary-dark: #0a0e27;
  --secondary-dark: #151b3d;
  --accent-gold: #ffd700;
  --accent-cyan: #00d4ff;
  --accent-emerald: #00ffb7;
  --text-light: #e8eaf6;
  --text-muted: #9fa8da;
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #00ffb7 100%);
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.3);
  --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}

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

header {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
  border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

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

.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, 212, 255, 0.5);
}

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

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

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

nav a:hover {
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

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

nav a.active {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 24px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: var(--accent-cyan);
  color: var(--primary-dark);
  box-shadow: var(--shadow-neon);
}

main {
  padding: 60px 0;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
}

h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 50px 0 30px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

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

.intro-text {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

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

.casino-cards {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.casino-card {
  background: rgba(21, 27, 61, 0.8);
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.casino-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.casino-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-neon);
  border-color: var(--accent-cyan);
}

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

.casino-rank {
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  position: relative;
  z-index: 1;
}

.casino-logo {
  width: 140px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

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

.casino-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

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

.feature-tag {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

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

.play-btn {
  background: var(--gradient-gold);
  color: var(--primary-dark);
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-gold);
  text-align: center;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.content-section {
  background: rgba(21, 27, 61, 0.6);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
}

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

.info-box {
  background: rgba(0, 212, 255, 0.05);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 8px;
  padding: 24px;
  margin: 30px 0;
}

.info-box h3 {
  margin-top: 0;
}

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

.advantages-list li {
  padding: 12px 0;
  padding-left: 40px;
  position: relative;
  font-size: 17px;
  line-height: 1.8;
}

.advantages-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 24px;
}

.numbered-list {
  counter-reset: item;
  list-style: none;
  margin: 20px 0;
}

.numbered-list li {
  padding: 12px 0 12px 50px;
  position: relative;
  font-size: 17px;
  line-height: 1.8;
  counter-increment: item;
}

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

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  overflow-x: auto;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.comparison-table th {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.comparison-table tr:hover {
  background: rgba(0, 212, 255, 0.05);
}

.comparison-table td {
  color: var(--text-light);
}

footer {
  background: rgba(10, 14, 39, 0.95);
  border-top: 2px solid rgba(0, 212, 255, 0.2);
  padding: 40px 0;
  margin-top: 80px;
}

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

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

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

  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }

  nav.active {
    left: 0;
  }

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

  nav a {
    display: block;
    padding: 12px 20px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .casino-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .casino-rank {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
  }

  .casino-logo {
    width: 120px;
    height: 70px;
    margin: 0 auto;
  }

  .casino-name {
    font-size: 20px;
    text-align: center;
  }

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

  .casino-action {
    text-align: center;
  }

  .play-btn {
    width: 100%;
    padding: 14px 30px;
    font-size: 16px;
  }

  .content-section {
    padding: 24px;
  }

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 8px;
    font-size: 14px;
  }
}

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

  h1 {
    font-size: 26px;
  }

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

  .casino-card {
    padding: 16px;
  }

  .content-section {
    padding: 20px;
  }

  .info-box {
    padding: 16px;
  }
}
