/* style/casino.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-color-light: #f4f4f4;
  --text-color-dark: #333333;
  --card-bg-light: #ffffff;
  --card-bg-dark: rgba(0, 51, 102, 0.8);
  --border-color: #e0e0e0;
  --hover-color: #e6b800; /* Lighter shade of secondary for hover */
}

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

.page-casino__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-casino__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.2;
}

.page-casino__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: var(--text-color-dark);
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__text-block--light {
  color: var(--text-color-light);
}

.page-casino__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-casino__link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-casino__link-text {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-casino__link-text:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* --- Hero Section --- */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #001a33 100%);
  overflow: hidden;
}

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

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-color-light);
}

.page-casino__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-casino__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-casino__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

.page-casino__cta-button--primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-casino__cta-button--primary:hover {
  background: var(--hover-color);
  border-color: var(--hover-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-button--secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-casino__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-button--transparent {
  background: transparent;
  color: var(--text-color-light);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.page-casino__cta-button--transparent:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- Introduction Section --- */
.page-casino__introduction-section {
  background-color: #f4f4f4;
  color: var(--text-color-dark);
}

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

.page-casino__image-item {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- Games Section --- */
.page-casino__games-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-casino__games-section .page-casino__section-title {
  color: var(--secondary-color);
}

.page-casino__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__card {
  background: var(--card-bg-light);
  color: var(--text-color-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-casino__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.page-casino__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-casino__card-content {
  padding: 25px;
}

.page-casino__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-casino__card-title a {
  color: var(--primary-color);
  text-decoration: none;
}
}