/* style/casino.css */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--bg-color, #FFFFFF); /* Body background from shared */
  line-height: 1.6;
}

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 120px 0 60px; /* Adjusted padding to accommodate header offset */
  text-align: center;
  overflow: hidden;
  color: #FFFFFF;
  background-color: #017439; /* Brand primary color for hero background */
}

.page-casino__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 1;
}

.page-casino__hero-section .page-casino__container {
  position: relative;
  z-index: 2;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Custom color for title */
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-casino__video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.page-casino__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    cursor: pointer;
}

/* General Section Styling */
.page-casino__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-casino__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-casino__text-block strong {
    color: #017439;
}

.page-casino__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-casino__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-casino__dark-bg .page-casino__section-title,
.page-casino__dark-bg .page-casino__text-block {
  color: #FFFFFF;
}

.page-casino__dark-bg .page-casino__text-block strong {
    color: #FFFF00;
}

.page-casino__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-casino__btn-primary {
  background-color: #C30808; /* Login/Register color */
  color: #FFFF00; /* Login/Register font color */
  border: 2px solid #C30808;
}

.page-casino__btn-primary:hover {
  background-color: #e02c2c;
  border-color: #e02c2c;
}

.page-casino__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Login/Register font color */
  border: 2px solid #FFFF00;
}

.page-casino__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808; /* Text color changes on hover */
}

.page-casino__text-link {
    color: #FFFF00; /* Link color in dark sections */
    text-decoration: underline;
    transition: color 0.3s ease;
}