:root {
  --dark-bg: #1a1a1a;
  --dark-secondary: #2b2b2b;
  --dark-tertiary: #363636;
  --red-primary: #dc2626;
  --red-hover: #ef4444;
  --red-light: #fca5a5;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --gold: #fbbf24;
  --green: #10b981;
  --border-color: #404040;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

header {
  background-color: var(--dark-secondary);
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  color: var(--red-primary);
  font-size: 2rem;
}

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

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

nav a:hover {
  color: var(--red-primary);
}

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

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.hero {
  background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
}

.casino-card {
  background-color: var(--dark-secondary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-primary);
}

.casino-card-compact {
  background-color: var(--dark-secondary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.casino-card-compact:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-primary);
}

.compact-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.compact-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: white;
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
}

.compact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.compact-license {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.compact-bonus {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--dark-tertiary), var(--dark-secondary));
  border: 1px solid var(--red-primary);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.compact-bonus-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.compact-bonus-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red-primary);
  white-space: nowrap;
}

.compact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-expanded {
  background: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-expanded .hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-expanded h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-expanded p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-cta {
  text-align: center;
  margin-top: 2rem;
}

.btn-cta {
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red-primary), var(--red-hover));
  color: white;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
}

.casino-rank {
  position: absolute;
  top: -15px;
  left: 20px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-hover));
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(220, 38, 38, 0.4);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.casino-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: white;
  padding: 10px;
  border-radius: 8px;
}

.casino-info h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.casino-license {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  color: var(--gold);
  font-size: 1rem;
}

.star.half {
  position: relative;
}

.star.half::after {
  content: '★';
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: var(--border-color);
}

.rating-number {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.bonus-highlight {
  background: linear-gradient(135deg, var(--dark-tertiary), var(--dark-secondary));
  border: 1px solid var(--red-primary);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.bonus-icon {
  font-size: 3rem;
}

.bonus-text h4 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.bonus-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.bonus-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--red-primary);
  white-space: nowrap;
}

.card-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature-item {
  text-align: center;
  padding: 1rem;
  background-color: var(--dark-tertiary);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.feature-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.feature-value {
  color: var(--text-primary);
  font-weight: 600;
}

.feature-bar {
  margin-top: 0.5rem;
  height: 4px;
  background-color: var(--dark-bg);
  border-radius: 2px;
  overflow: hidden;
}

.feature-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red-primary), var(--red-hover));
  transition: width 0.5s ease;
}

.card-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-primary), var(--red-hover));
  color: white;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--dark-tertiary);
  border-color: var(--red-primary);
  color: var(--red-primary);
}

.content-section {
  background-color: var(--dark-secondary);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.content-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.content-section h3 {
  font-size: 1.375rem;
  margin: 1.5rem 0 1rem;
  color: var(--text-primary);
}

.content-section p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-section ul {
  list-style: none;
  margin: 1rem 0;
}

.content-section ul li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.content-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--red-primary);
  font-weight: bold;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: var(--dark-tertiary);
  border-radius: 8px;
  overflow: hidden;
}

.info-table th,
.info-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.info-table th {
  background-color: var(--dark-bg);
  color: var(--red-primary);
  font-weight: 600;
}

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

.info-table tr:hover {
  background-color: var(--dark-secondary);
}

.screenshot {
  width: 100%;
  border-radius: 8px;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

footer {
  background-color: var(--dark-secondary);
  border-top: 2px solid var(--border-color);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

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

.footer-section h4 {
  color: var(--red-primary);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section p,
.footer-section li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--red-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.warning-badge {
  display: inline-block;
  background-color: rgba(220, 38, 38, 0.1);
  border: 1px solid var(--red-primary);
  color: var(--red-light);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background-color: var(--dark-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1rem;
    transition: left 0.3s ease;
    border-bottom: 2px solid var(--border-color);
  }

  nav ul.active {
    left: 0;
  }

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

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-expanded h1 {
    font-size: 2rem;
  }

  .hero-expanded p {
    font-size: 1rem;
  }

  .btn-cta {
    font-size: 1rem;
    padding: 0.875rem 2rem;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .casino-logo {
    width: 100px;
    height: 100px;
  }

  .compact-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .compact-logo {
    width: 70px;
    height: 70px;
  }

  .compact-bonus {
    flex-direction: column;
    text-align: center;
  }

  .compact-bonus-amount {
    font-size: 1.25rem;
  }

  .compact-actions {
    grid-template-columns: 1fr;
  }

  .bonus-highlight {
    flex-direction: column;
    text-align: center;
  }

  .bonus-amount {
    font-size: 1.5rem;
  }

  .card-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .card-features {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .casino-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .casino-info h3 {
    font-size: 1.375rem;
  }
}
