/* Ranking Casinos - Unique Table/Rating Style */
:root {
  --primary: #1a3a52;
  --secondary: #2c5f7d;
  --accent: #4a90b8;
  --bg-dark: #0f1f2e;
  --bg-light: #f4f6f8;
  --text-dark: #1a1a1a;
  --text-light: #e8eef2;
  --border: #d0d8e0;
  --gold: #ffb838;
  --silver: #c0c5cc;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
}

.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light);
  padding: 2rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  text-decoration: none;
  display: inline-block;
}

.site-tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
}

.main-nav {
  background: var(--bg-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
  background: var(--secondary);
  border-bottom-color: var(--accent);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.content-wrapper {
  background: white;
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

h1, h2, h3, h4 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  margin-top: 0;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--accent);
}

h2 {
  font-size: 2rem;
  display: flex;
  align-items: center;
}

h2::before {
  content: "▸";
  color: var(--accent);
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--secondary);
}

p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Rating Tables */
.rating-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.rating-table thead {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light);
}

.rating-table th {
  padding: 1.2rem;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.rating-table td {
  padding: 1.2rem;
  border-top: 1px solid var(--border);
}

.rating-table tbody tr {
  transition: all 0.3s ease;
}

.rating-table tbody tr:hover {
  background: #f8fbfd;
  transform: scale(1.01);
}

/* Star Ratings */
.star-rating {
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 2px;
  display: inline-block;
}

.star-rating .empty {
  color: var(--silver);
}

/* Score Badge */
.score-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.score-badge.high {
  background: linear-gradient(135deg, #28a745 0%, #20833a 100%);
}

.score-badge.medium {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.score-badge.low {
  background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
}

/* Criteria Cards */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.criteria-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.criteria-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(26, 58, 82, 0.15);
  border-color: var(--accent);
}

.criteria-card h3 {
  color: var(--primary);
  margin-top: 0;
  font-size: 1.4rem;
}

.criteria-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* Comparison Table Style */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.comparison-table th {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.comparison-table td {
  padding: 1.2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:nth-child(even) {
  background: #f9fcfe;
}

.comparison-table tbody tr:hover {
  background: #ecf5fb;
}

/* Check/Cross Icons */
.check-icon {
  color: #28a745;
  font-size: 1.5rem;
  font-weight: bold;
}

.cross-icon {
  color: #dc3545;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Info Boxes */
.info-box {
  background: #e8f4f8;
  border-left: 5px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.info-box.warning {
  background: #fff8e1;
  border-left-color: #ffc107;
}

.info-box.success {
  background: #e8f5e9;
  border-left-color: #28a745;
}

.info-box h4 {
  margin-top: 0;
  color: var(--primary);
}

/* Lists */
ul, ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

strong {
  color: var(--primary);
  font-weight: 600;
}

/* Article List (Home) */
.article-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.article-item {
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.article-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(26, 58, 82, 0.12);
  transform: translateX(5px);
}

.article-item h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.article-item h2::before {
  content: "📊";
  margin-right: 0.8rem;
}

.article-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.article-item a:hover {
  color: var(--accent);
}

.article-excerpt {
  color: #555;
  margin: 1rem 0;
  line-height: 1.7;
}

.read-more {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.read-more:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 2.5rem 0;
  margin-top: 4rem;
  text-align: center;
}

.site-footer p {
  margin: 0.5rem 0;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .content-wrapper {
    padding: 2rem 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .nav-list {
    flex-direction: column;
  }
  
  .nav-list a {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .criteria-grid {
    grid-template-columns: 1fr;
  }
  
  .rating-table,
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .rating-table th,
  .rating-table td,
  .comparison-table th,
  .comparison-table td {
    padding: 0.8rem;
  }
}
