:root {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --accent-color: #dc3545;
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --background-dark: #0a0a0a; /* from shared.css body */
  --background-light: #f1f3f5;
  --white: #ffffff;
  --gray-light: #e4e4e4;
  --gray-medium: #888888;
}

.page-online-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Main body text color for dark background */
  background-color: var(--background-dark);
}

.page-online-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-online-casino__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.page-online-casino__section-description {
  font-size: 18px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-online-casino__card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  color: var(--text-dark);
}

.page-online-casino__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-online-casino__btn-primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.page-online-casino__btn-primary:hover {
  background: #e6c200;
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.page-online-casino__btn-secondary {
  background: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.3);
}

.page-online-casino__btn-secondary:hover {
  background: #000000;
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.4);
  transform: translateY(-2px);
}

/* HERO Section */
.page-online-casino__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: var(--background-dark);
}

.page-online-casino__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-online-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-online-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-online-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-online-casino__hero-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-online-casino__hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Game Leaderboard Section */
.page-online-casino__game-leaderboard-section {
  padding: 60px 20px;
  background: var(--background-light);
  color: var(--text-dark);
}

.page-online-casino__game-leaderboard-section .page-online-casino__page-title {
  color: var(--text-dark);
  margin-bottom: 50px;
}

.page-online-casino__game-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.page-online-casino__game-card {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-online-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-online-casino__game-card-segment {
  padding: 0 20px;
  border-left: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

.page-online-casino__segment-1 {
  border-left: none;
  padding-left: 0;
  flex-basis: 150px;
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-online-casino__segment-2 {
  flex: 1;
  min-width: 200px;
}

.page-online-casino__segment-3 {
  flex-basis: 180px;
  flex-shrink: 0;
  flex-grow: 0;
}

.page-online-casino__segment-4 {
  flex-basis: 250px;
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-online-casino__rank-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Default for 4+ */
}

.page-online-casino__rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500);
}

.page-online-casino__rank-2 {
  background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
}

.page-online-casino__rank-3 {
  background: linear-gradient(135deg, #CD7F32, #B87333);
}

.page-online-casino__game-icon {
  max-width: 100px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.page-online-casino__game-name {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  text-align: center;
}

.page-online-casino__game-name-link {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-online-casino__game-name-link:hover {
  color: #0066cc;
  text-decoration: underline;
}

.page-online-casino__game-description {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: bold;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-online-casino__game-description a {
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
}

.page-online-casino__game-description a:hover {
  color: #004499;
  text-decoration: underline;
}

.page-online-casino__game-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 18px;
}

.page-online-casino__stars {
  color: #FFD700;
  margin-right: 5px;
  font-weight: bold;
}

.page-online-casino__rating-number {
  color: var(--text-dark);
  font-weight: bold;
}

.page-online-casino__promotion-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-online-casino__promotion-link {
  color: #0066cc;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
}

.page-online-casino__promotion-link:hover {
  color: #004499;
  text-decoration: underline;
}

.page-online-casino__hot-badge {
  background: var(--accent-color);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Brand Review Content Section */
.page-online-casino__review-content-section {
  padding: 60px 20px;
  background: var(--background-light);
  color: var(--text-dark);
}

.page-online-casino__review-content-container {
  max-width: 1400px; /* Slightly wider for readability */
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-online-casino__review-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.page-online-casino__review-subtitle {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-online-casino__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-online-casino__review-body a {
  color: #0066cc;
  text-decoration: none;
}

.page-online-casino__review-body a:hover {
  text-decoration: underline;
}

/* Homepage Introduction Section */
.page-online-casino__intro-section {
  padding: 60px 20px;
  background: var(--background-dark);
  color: var(--text-light);
}

.page-online-casino__intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-online-casino__intro-card {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05); /* Lighter card on dark background */
  color: var(--text-light);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-online-casino__intro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-online-casino__intro-icon {
  width: 120px; /* Increased icon size */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
}

.page-online-casino__intro-card .page-online-casino__card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-online-casino__intro-card p {
  font-size: 15px;
  color: var(--text-light);
}

/* Core Games Overview Section */
.page-online-casino__games-overview-section {
  padding: 60px 20px;
  background: var(--background-light);
  color: var(--text-dark);
}

.page-online-casino__games-overview-section .page-online-casino__section-title,
.page-online-casino__games-overview-section .page-online-casino__section-description {
  color: var(--text-dark);
}

.page-online-casino__games-carousel-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
}

.page-online-casino__games-carousel {
  display: flex;
  gap: 25px;
  padding: 10px 0;
}

.page-online-casino__game-item {
  flex: 0 0 320px; /* Fixed width for each game card */
  min-width: 320px;
  text-align: center;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-online-casino__game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-online-casino__game-img {
  width: 100%;
  height: 200px; /* Fixed height for consistent image size */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-online-casino__game-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-online-casino__game-text {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-online-casino__promotions-section {
  padding: 60px 20px;
  background: var(--background-dark);
  color: var(--text-light);
}

.page-online-casino__promotions-section .page-online-casino__section-description {
  color: var(--text-light);
}

.page-online-casino__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-online-casino__promo-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-online-casino__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-online-casino__promo-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  max-width: 100%;
}

.page-online-casino__promo-card .page-online-casino__card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-online-casino__promo-card p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Blog Section */
.page-online-casino__blog-section {
  padding: 60px 20px;
  background: var(--background-light);
  color: var(--text-dark);
}

.page-online-casino__blog-section .page-online-casino__section-title,
.page-online-casino__blog-section .page-online-casino__section-description {
  color: var(--text-dark);
}

.page-online-casino__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-online-casino__blog-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-online-casino__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-online-casino__blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  max-width: 100%;
}

.page-online-casino__blog-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-online-casino__blog-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-online-casino__blog-link {
  color: var(--text-dark);
  text-decoration: none;
}

.page-online-casino__blog-link:hover {
  color: #0066cc;
  text-decoration: underline;
}

.page-online-casino__blog-excerpt {
  font-size: 15px;
  color: var(--gray-medium);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-online-casino__blog-date {
  font-size: 13px;
  color: var(--gray-medium);
  text-align: right;
}

.page-online-casino__view-all-button {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-online-casino__hero-title {
    font-size: 40px;
  }
  .page-online-casino__hero-description {
    font-size: 18px;
  }
  .page-online-casino__section-title {
    font-size: 30px;
  }
  .page-online-casino__section-description {
    font-size: 16px;
  }
  .page-online-casino__game-card {
    flex-wrap: wrap;
    padding: 15px;
  }
  .page-online-casino__game-card-segment {
    border-left: none;
    padding: 10px 0;
    width: 100%;
  }
  .page-online-casino__segment-1, .page-online-casino__segment-3, .page-online-casino__segment-4 {
    flex-basis: auto;
    width: 100%;
  }
  .page-online-casino__segment-2 {
    order: -1; /* Move game name/description to top on mobile */
    margin-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 15px;
  }
  .page-online-casino__segment-1 {
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
  }
  .page-online-casino__game-icon {
    max-width: 80px;
  }
  .page-online-casino__game-rating, .page-online-casino__promotion-text {
    justify-content: center;
  }
  .page-online-casino__game-name {
    font-size: 22px;
  }
  .page-online-casino__review-title {
    font-size: 28px;
  }
  .page-online-casino__review-subtitle {
    font-size: 22px;
  }
  .page-online-casino__games-carousel {
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-online-casino__game-item {
    flex: 0 0 45%;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-online-casino__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-online-casino__hero-title {
    font-size: 32px;
  }
  .page-online-casino__hero-description {
    font-size: 16px;
  }
  .page-online-casino__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-online-casino__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-online-casino__section-description {
    font-size: 15px;
    margin-bottom: 40px;
  }
  .page-online-casino__container {
    padding: 0 15px;
  }
  .page-online-casino__game-leaderboard-section,
  .page-online-casino__review-content-section,
  .page-online-casino__intro-section,
  .page-online-casino__games-overview-section,
  .page-online-casino__promotions-section,
  .page-online-casino__blog-section {
    padding: 40px 15px;
  }
  .page-online-casino__game-card {
    flex-direction: column;
    align-items: stretch;
  }
  .page-online-casino__game-card-segment {
    border-left: none;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }
  .page-online-casino__segment-1 {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
  }
  .page-online-casino__game-icon {
    max-width: 70px;
  }
  .page-online-casino__game-name {
    font-size: 20px;
  }
  .page-online-casino__game-description {
    font-size: 13px;
  }
  .page-online-casino__segment-4 {
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-online-casino__btn-download,
  .page-online-casino__btn-review {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 14px !important;
    padding: 10px 15px !important;
    white-space: normal;
    word-wrap: break-word;
    min-width: auto;
  }
  .page-online-casino__review-content-card {
    padding: 25px 20px;
  }
  .page-online-casino__review-title {
    font-size: 24px;
  }
  .page-online-casino__review-subtitle {
    font-size: 20px;
  }
  .page-online-casino__review-body p {
    font-size: 15px;
  }
  .page-online-casino__intro-grid,
  .page-online-casino__promo-grid,
  .page-online-casino__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-online-casino__games-carousel {
    flex-direction: column;
    align-items: center;
  }
  .page-online-casino__game-item {
    flex: 0 0 90%;
    min-width: unset;
  }
  .page-online-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-online-casino__section,
  .page-online-casino__card,
  .page-online-casino__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}