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

/* Variables */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --text-color: #2c3e50;
  --text-light: #7f8c8d;
  --background-color: #f5f6fa;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #27ae60;
  --error-color: #e74c3c;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --transition: all 0.3s ease;
}

/* Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

/* Header & Navigation */
header {
  background-color: var(--card-background);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-title {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
}

.site-title span {
  color: var(--text-light);
  font-weight: 400;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

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

/* Cards */
.card {
  background-color: var(--card-background);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.button-primary {
  background-color: var(--accent-color);
  color: white;
}

.button-primary:hover {
  background-color: #2980b9;
  transform: translateY(-1px);
}

.button-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.play-now {
  background-color: var(--success-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  font-weight: 500;
}

.play-now:hover {
  background-color: #219a52;
  transform: translateY(-1px);
}
.casino-header {
  align-items: center;
  transition: var(--transition);
}

.casino-header:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.casino-logo {
  transition: var(--transition);
}

.casino-logo:hover {
  transform: scale(1.02);
}

.rating {
  display: flex;
  align-items: center;
}

.rating .stars {
  margin-right: 0.75rem;
  line-height: 1;
}

.rating-number {
  font-weight: 600;
  color: var(--primary-color);
}

.bonus-highlight {
  border-left: 4px solid var(--accent-color);
  transition: var(--transition);
}

.bonus-highlight:hover {
  background-color: rgba(52, 152, 219, 0.15);
}

.bonus-highlight h3 {
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.bonus-highlight p {
  font-weight: 500;
  font-size: 1.1rem;
}

.pros-cons {
  transition: var(--transition);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.pros-cons:hover {
  box-shadow: var(--shadow-lg);
}
.review-content {
  background-color: var(--card-background);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.review-content:hover {
  box-shadow: var(--shadow-lg);
}

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

.review-content h3 {
  font-size: 1.4rem;
  margin: 1.75rem 0 1rem;
  color: var(--secondary-color);
}

.review-content p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.review-content ul, 
.review-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.review-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.review-content a {
  color: var(--accent-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.review-content a:hover {
  border-bottom-color: var(--accent-color);
}
/* Forms */
input, select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Casino Review Styles */
.casino-review {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 20px;
}

.casino-header {
  background-color: var(--card-background);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.casino-logo {
  width: 200px;
  border-radius: var(--border-radius-md);
}

.rating {
  margin-bottom: 1.5rem;
}

.rating .stars {
  color: #f1c40f;
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.bonus-highlight {
  background-color: rgba(52, 152, 219, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
}

.casino-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

.pros-cons {
  background-color: var(--card-background);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.pros, .cons {
  margin-bottom: 1.5rem;
}

.pros h3, .cons h3 {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.pros h3::before, .cons h3::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.pros h3 {
  color: var(--success-color);
}

.pros h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2327ae60'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.cons h3 {
  color: var(--error-color);
}

.cons h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e74c3c'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z'/%3E%3C/svg%3E");
}

.pros-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-cons li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.pros-cons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
}

.pros li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2327ae60'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.cons li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e74c3c'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z'/%3E%3C/svg%3E");
}

/* Keep existing game table styles */
.game-table-container {
  margin: 10px 0;
  overflow-x: auto;
}

.game-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
  background: white;
}

.game-table th {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 6px 6px;
  text-align: left;
  border-bottom: 2px solid #dee2e6;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 12px;
}

.game-table th.sortable {
  position: relative;
  padding-right: 25px;
}

.game-table th.sortable .sort-arrow {
  position: absolute;
  right: 10px;
  opacity: 0.8;
}

.game-table th.sortable:hover {
  background-color: var(--secondary-color);
}

.game-table td {
  padding: 6px 6px;
  border-bottom: 1px solid #dee2e6;
  vertical-align: middle;
  font-size: 12px;
}

.game-thumbnail {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
}

/* Column-specific widths - adjusted ratios */
.game-table th:nth-child(1),
.game-table td:nth-child(1) {
  width: 30px;
}

.game-table th:nth-child(2),
.game-table td:nth-child(2) {
  width: 17%;
}

.game-table th:nth-child(3),
.game-table td:nth-child(3) {
  width: 17%;
}

.game-table th:nth-child(4),
.game-table td:nth-child(4),
.game-table th:nth-child(5),
.game-table td:nth-child(5) {
  width: 12%;
}

.game-table td,
.game-table th {
  padding: 6px 6px;
}

/* Casino Table Styles */
.table-container {
  margin-top: 20px;
  overflow-x: auto;
}

#casinoTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

#casinoTable td {
  padding: 15px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
}

#casinoTable th {
  padding: 15px;
  background-color: var(--primary-color);
  color: white;
  text-align: left;
}

#casinoTable img {
  max-width: 120px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* First column (logo) width */
#casinoTable th:first-child,
#casinoTable td:first-child {
  width: 140px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .casino-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

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

  .casino-content {
    grid-template-columns: 1fr;
  }

  .pros-cons {
    position: static;
    margin-bottom: 2rem;
  }

  nav ul {
    gap: 1rem;
  }

  .rating {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .casino-header {
    padding: 1.5rem;
  }

  .bonus-highlight {
    padding: 1rem;
  }

  .pros-cons {
    padding: 1rem;
  }

  .review-content {
    font-size: 0.95rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}

/* Games Section Styles */
.games-section {
  margin: 2rem 0;
}

.game-filters {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.search-box input:focus {
  border-color: var(--accent-color);
  outline: none;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.filter-box {
  display: flex;
  gap: 15px;
}

.filter-box select {
  padding: 12px 30px 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  background-color: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px;
}

.filter-box select:focus {
  border-color: var(--accent-color);
  outline: none;
}

.game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.game-category {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 8px;
}

/* Footer */
.main-footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.footer-section {
  flex: 1;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: white;
}

.footer-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.footer-logos img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-logos img:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}
