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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-card: #1f1f1f;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --accent-gold: #d4af37;
  --accent-red: #dc2626;
  --border-color: #333;
}

html {
  scroll-behavior: smooth;
  /* Optimize font rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

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

/* Header */
header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  /* Removed backdrop-filter for better performance */
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.logo-img {
  height: 50px;
  width: 50px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.1) rotate(5deg);
}


.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 2px solid var(--accent-gold);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
  color: var(--accent-gold);
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* Main Content */
main {
  padding: 3rem 0;
}

section {
  margin-bottom: 3rem;
}

/* Article Meta Top */
.article-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.author-name-top {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.author-name-top:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.meta-icon-top {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.article-date-top {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.reading-time-wrapper-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.article-reading-time-top {
  color: var(--text-secondary);
}

/* Author Profile Section */
.author-profile {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  margin-top: 3rem;
  scroll-margin-top: 100px;
}

.author-profile-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.author-logo-wrapper {
  width: 120px;
  height: 120px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.author-info {
  flex: 1;
}

.author-title {
  color: var(--accent-gold);
  font-size: 1.75rem;
  margin: 0 0 1.5rem 0;
  font-weight: 600;
}

.author-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.author-description:last-of-type {
  margin-bottom: 0;
}

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

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

.casino-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
}

.casino-card.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out forwards;
}

.casino-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.casino-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.casino-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 4px;
  flex-shrink: 0;
}

.casino-card h3 {
  color: var(--accent-gold);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.casino-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Casino Info in Cards */
.casino-info {
  margin-top: 1rem;
}

.bonus-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 6px;
}

.bonus-amount {
  font-weight: 600;
  color: var(--accent-gold);
  font-size: 0.9rem;
}

.wr-info {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.payment-methods {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.payment-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.payment-types {
  color: var(--text-primary);
  font-weight: 500;
}

.highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.highlight-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.highlight-text {
  color: var(--accent-gold);
  font-weight: 600;
}

.casino-button,
.top-card__btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f4d03f 100%);
  color: var(--bg-primary);
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  border: none;
  cursor: pointer;
}

.casino-button:hover,
.top-card__btn:hover {
  background: linear-gradient(135deg, #f4d03f 0%, var(--accent-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
  color: var(--bg-primary);
  text-decoration: none;
}

.referral-btn {
  position: relative;
  overflow: hidden;
}

.referral-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Breadcrumbs */
.breadcrumbs {
  margin: 1rem 0 2rem 0;
  padding: 0.5rem 0;
}

.breadcrumbs ol {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--accent-gold);
  font-weight: bold;
}

.breadcrumbs a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--text-primary);
}

.breadcrumbs span {
  color: var(--text-primary);
}

/* Casino Descriptions */
.casino-descriptions {
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.casino-description {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--accent-gold);
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
}

.casino-description.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out forwards;
}

.casino-description h3 {
  color: var(--accent-gold);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.casino-description p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

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

li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

li::marker {
  color: var(--accent-gold);
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
}

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

th {
  background-color: var(--bg-secondary);
  color: var(--accent-gold);
  font-weight: 600;
}

td {
  color: var(--text-secondary);
}

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

tr:hover {
  background-color: rgba(212, 175, 55, 0.05);
}

/* Comparison Table Styles */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

.comparison-table {
  width: 100%;
  min-width: 1000px;
  table-layout: fixed;
  border-collapse: collapse;
}

.comparison-table th {
  white-space: nowrap;
  vertical-align: middle;
  text-align: center;
  padding: 1rem 0.75rem;
}

.comparison-table td {
  vertical-align: middle;
  padding: 1rem 0.75rem;
}

.comparison-table tbody tr {
  height: auto;
  display: table-row;
}

.comparison-table tbody tr td {
  height: auto;
  vertical-align: middle;
  padding: 1.25rem 0.75rem;
  display: table-cell;
}

/* Override general .highlight styles for table rows */
.comparison-table tbody tr.highlight {
  display: table-row !important;
  background-color: rgba(212, 175, 55, 0.08);
  border: 2px solid rgba(212, 175, 55, 0.3);
  flex-direction: unset !important;
  justify-content: unset !important;
  align-items: unset !important;
  margin-bottom: 0 !important;
  font-size: inherit !important;
}

.comparison-table tbody tr.highlight td {
  padding: 1.25rem 0.75rem;
  vertical-align: middle;
  display: table-cell !important;
}

/* Ensure all cells have consistent height */
.comparison-table tbody tr {
  height: auto;
  min-height: 120px;
}

.comparison-table tbody tr td {
  min-height: 120px;
}

.comparison-table tbody tr td.col-payments {
  min-height: 120px;
}

.comparison-table tbody tr td.col-casino,
.comparison-table tbody tr td.col-bonus,
.comparison-table tbody tr td.col-rating,
.comparison-table tbody tr td.col-action,
.comparison-table tbody tr td.col-rank {
  min-height: 120px;
}

/* Ensure highlight row has same height as others */
.comparison-table tbody tr.highlight {
  min-height: 120px;
}

.comparison-table tbody tr.highlight td {
  min-height: 120px;
}

.comparison-table th.col-rank,
.comparison-table td.col-rank {
  width: 5%;
  text-align: center;
}

.comparison-table th.col-casino,
.comparison-table td.col-casino {
  width: 15%;
  text-align: left;
}

.comparison-table th.col-bonus,
.comparison-table td.col-bonus {
  width: 18%;
  text-align: center;
}

.comparison-table th.col-rating,
.comparison-table td.col-rating {
  width: 12%;
  text-align: center;
}

.comparison-table th.col-payments,
.comparison-table td.col-payments {
  width: 35%;
  text-align: center;
}

.comparison-table th.col-action,
.comparison-table td.col-action {
  width: 15%;
  text-align: center;
}

.casino-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-start;
  min-height: 60px;
}

.casino-table-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 4px;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  align-content: center;
}

.payment-icon {
  width: 32px;
  height: 24px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.payment-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

.casino-action-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #f4d03f 100%);
  color: var(--bg-primary);
  text-align: center;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.casino-action-btn:hover {
  background: linear-gradient(135deg, #f4d03f 0%, var(--accent-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
  color: var(--bg-primary);
}

.casino-action-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.rank {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.rank.gold {
  color: #ffd700;
  background-color: rgba(255, 215, 0, 0.1);
}

.rank.silver {
  color: #c0c0c0;
  background-color: rgba(192, 192, 192, 0.1);
}

.rank.bronze {
  color: #cd7f32;
  background-color: rgba(205, 127, 50, 0.1);
}

@media (max-width: 768px) {
  .comparison-table-wrapper {
    overflow-x: visible;
    margin: 1.5rem 0;
    padding: 0;
  }
  
  .comparison-table {
    width: 100%;
    min-width: 100%;
    display: block;
    border-collapse: separate;
    border-spacing: 0;
  }
  
  .comparison-table thead {
    display: none;
  }
  
  .comparison-table tbody {
    display: block;
  }
  
  /* Highlight row - same as regular cards but with gold border */
  /* Override desktop styles with !important */
  .comparison-table tbody tr.highlight {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 1.5rem !important;
    background-color: rgba(212, 175, 55, 0.08) !important;
    border: 2px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    font-size: inherit !important;
    min-height: auto !important;
    height: auto !important;
  }
  
  .comparison-table tbody tr.highlight td {
    display: block !important;
    width: 100% !important;
    padding: 0.75rem 0 !important;
    text-align: left !important;
    border: none !important;
    min-height: auto !important;
    vertical-align: top !important;
    height: auto !important;
  }
  
  .comparison-table tbody tr.highlight td:before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
  }
  
  .comparison-table tbody tr.highlight td.col-rank:before {
    content: "Platz";
  }
  
  .comparison-table tbody tr.highlight td.col-casino:before {
    content: "Casino";
  }
  
  .comparison-table tbody tr.highlight td.col-bonus:before {
    content: "Bonus";
  }
  
  .comparison-table tbody tr.highlight td.col-rating:before {
    content: "Bewertung";
  }
  
  .comparison-table tbody tr.highlight td.col-payments:before {
    content: "Zahlungsmethoden";
  }
  
  .comparison-table tbody tr.highlight td.col-action:before {
    content: "";
    display: none;
  }
  
  .comparison-table tbody tr.highlight td.col-rank {
    order: 1;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
  }
  
  .comparison-table tbody tr.highlight td.col-rank:before {
    display: none;
  }
  
  .comparison-table tbody tr.highlight td.col-rank .rank {
    display: inline-block;
  }
  
  .comparison-table tbody tr.highlight td.col-casino {
    order: 2;
  }
  
  .comparison-table tbody tr.highlight td.col-bonus {
    order: 3;
  }
  
  .comparison-table tbody tr.highlight td.col-rating {
    order: 4;
  }
  
  .comparison-table tbody tr.highlight td.col-payments {
    order: 5;
  }
  
  .comparison-table tbody tr.highlight td.col-action {
    order: 6;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Ensure button doesn't overflow */
  .comparison-table tbody tr.highlight .casino-action-btn {
    width: 100% !important;
    max-width: 300px !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  /* Ensure text doesn't compress */
  .comparison-table tbody tr.highlight td.col-bonus,
  .comparison-table tbody tr.highlight td.col-rating,
  .comparison-table tbody tr.highlight td.col-casino {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  /* Fix payment icons container */
  .comparison-table tbody tr.highlight .payment-icons {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Regular rows - convert to cards */
  .comparison-table tbody tr:not(.highlight) {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .comparison-table tbody tr:not(.highlight) td {
    display: block;
    width: 100% !important;
    padding: 0.75rem 0;
    text-align: left !important;
    border: none;
    min-height: auto;
    vertical-align: top;
  }
  
  .comparison-table tbody tr:not(.highlight) td:before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-rank:before {
    content: "Platz";
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-casino:before {
    content: "Casino";
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-bonus:before {
    content: "Bonus";
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-rating:before {
    content: "Bewertung";
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-payments:before {
    content: "Zahlungsmethoden";
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-action:before {
    content: "";
    display: none;
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-rank {
    order: 1;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-rank:before {
    display: none;
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-rank .rank {
    display: inline-block;
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-casino {
    order: 2;
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-bonus {
    order: 3;
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-rating {
    order: 4;
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-payments {
    order: 5;
  }
  
  .comparison-table tbody tr:not(.highlight) td.col-action {
    order: 6;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
  }
  
  .casino-table-logo {
    width: 40px;
    height: 40px;
  }
  
  .payment-icon {
    width: 28px;
    height: 20px;
  }
  
  .casino-action-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    min-height: 44px;
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }
  
  /* Styles for elements inside cards (both highlight and regular) */
  .comparison-table tbody tr .casino-cell {
    flex-direction: row;
    gap: 0.75rem;
    text-align: left;
    justify-content: flex-start;
    align-items: center;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
  }
  
  .comparison-table tbody tr .casino-cell strong {
    font-size: 1rem;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .comparison-table tbody tr .payment-icons {
    justify-content: flex-start;
    min-height: auto;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .comparison-table tbody tr .rank {
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    display: inline-block;
    white-space: nowrap;
  }
  
  .comparison-table tbody tr td.col-bonus,
  .comparison-table tbody tr td.col-rating {
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Ensure content doesn't stretch */
  .comparison-table tbody tr td {
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  
  .comparison-table tbody tr td > * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .comparison-table tbody tr td.col-payments {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .comparison-table tbody tr td.col-payments .payment-icons {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Specific fixes for highlight card */
  .comparison-table tbody tr.highlight td.col-action {
    overflow: visible !important;
  }
  
  .comparison-table tbody tr.highlight .casino-cell {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Links */
a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-red);
  text-decoration: underline;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--bg-card);
  border-left: 3px solid var(--accent-gold);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out forwards;
}

.faq-item h3 {
  margin-top: 0;
  color: var(--accent-gold);
}

/* Footer */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  margin-top: 4rem;
}

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

.footer-section h3 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

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

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal p {
  margin: 5px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .casino-card,
  .casino-description,
  .fade-in,
  .faq-item {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Mobile-first responsive design */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .hero {
    padding: 1.5rem 0;
  }
  
  .casino-card {
    padding: 1rem;
  }
  
  .casino-description {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    font-size: 0.9rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo-img {
    height: 40px;
    width: 40px;
  }


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

  .casino-header {
    gap: 0.75rem;
  }

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

  .casino-card h3 {
    font-size: 1.25rem;
  }

  .bonus-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .payment-methods,
  .highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .casino-button,
  .top-card__btn {
    font-size: 0.85rem;
    padding: 0.65rem 0.75rem;
    min-height: 44px; /* Touch target size */
  }

  table {
    font-size: 0.85rem;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }

  th,
  td {
    padding: 0.75rem;
  }

  /* Mobile-specific improvements */
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 2rem 0;
  }

  .casino-descriptions {
    gap: 1.5rem;
  }

  .casino-description {
    padding: 1.5rem;
  }

  /* Touch-friendly buttons */
  button, .top-card__btn, .casino-button {
    min-height: 44px;
    min-width: 44px;
  }

  /* Better spacing for mobile */
  section {
    margin: 2rem 0;
  }

  h2 {
    margin: 2rem 0 1rem 0;
  }

  /* Mobile breadcrumbs */
  .breadcrumbs {
    margin: 0.5rem 0 1.5rem 0;
  }

  .breadcrumbs ol {
    flex-wrap: wrap;
  }
  
  /* Scroll to top button mobile */
  .scroll-top {
    width: 48px;
    height: 48px;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.25rem;
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
    padding: 30px 0 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  /* Author Profile Mobile */
  .author-profile {
    padding: 1.5rem;
  }

  .author-profile-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .author-logo-wrapper {
    width: 100px;
    height: 100px;
    min-width: 100px;
    margin: 0 auto;
  }

  .author-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .article-meta-top {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .meta-icon-top {
    width: 18px;
    height: 18px;
  }
}

/* Touch device optimizations */
.touch-device * {
  -webkit-tap-highlight-color: transparent;
}

.touch-device button,
.touch-device .top-card__btn,
.touch-device .casino-button {
  -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
}

/* Prevent zoom on input focus for iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select,
  textarea,
  input[type="text"],
  input[type="password"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="date"],
  input[type="month"],
  input[type="time"],
  input[type="week"],
  input[type="number"],
  input[type="email"],
  input[type="url"],
  input[type="search"],
  input[type="tel"],
  input[type="color"] {
    font-size: 16px;
  }
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 99;
  border: none;
  font-size: 1.5rem;
}

.scroll-top.visible {
  opacity: 1;
}

.scroll-top:hover {
  transform: translateY(-5px);
  background-color: var(--accent-red);
}

/* Table of Contents (TOC) */
.toc {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  margin: 2rem 0;
  transition: all 0.3s ease;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.toc-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--accent-gold);
}

.toc-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.toc-toggle:hover {
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.1);
  border-radius: 4px;
}

.toc-toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.875rem;
  line-height: 1;
}

.toc.collapsed .toc-toggle-icon {
  transform: rotate(-90deg);
}

.toc:not(.collapsed) .toc-toggle-icon {
  transform: rotate(0deg);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.toc.collapsed .toc-list {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
}

.toc-list li {
  margin: 0.5rem 0;
  padding-left: 1rem;
  position: relative;
}

.toc-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 0.875rem;
}

.toc-list a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  padding: 0.25rem 0;
}

.toc-list a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .toc {
    padding: 0.75rem;
    margin: 1.5rem 0;
  }
  
  .toc-header {
    padding: 0.25rem 0;
  }
  
  .toc-header h2 {
    font-size: 1.1rem;
    margin: 0;
  }
  
  .toc-toggle {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  
  .toc-list {
    margin-top: 0.75rem;
  }
  
  .toc-list li {
    font-size: 0.9rem;
    margin: 0.4rem 0;
  }
  
  .toc-list a {
    padding: 0.5rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}
