/* style/casino.css */

/* Base Styles & Typography */
.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-casino__section-title {
  font-size: 2.8em;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-casino__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #333333;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-casino__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

.page-casino__btn-secondary {
  background-color: #017439; /* Primary brand color */
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-casino__btn-secondary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-casino__btn-tertiary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-casino__btn-tertiary:hover {
  background-color: #e0e0e0;
}

.page-casino__btn-large {
  padding: 15px 40px;
  font-size: 1.2em;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-casino__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-casino__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

.page-casino__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-casino__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* About Section */
.page-casino__about-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-casino__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-casino__feature-item:hover {
  transform: translateY(-10px);
}

.page-casino__feature-icon {
  width: 100%; /* Ensure large images, not icons */
  height: auto;
  max-width: 300px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-casino__feature-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-casino__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-casino__games-section .page-casino__section-title,
.page-casino__games-section .page-casino__text-block {
  color: #FFFFFF;
}

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

.page-casino__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-10px);
}

.page-casino__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-casino__game-title {
  font-size: 1.6em;
  color: #017439;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-casino__game-title a {
  color: #017439;
  text-decoration: none;
}

.page-casino__game-title a:hover {
  text-decoration: underline;
}

.page-casino__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
}

.page-casino__game-card .page-casino__btn-tertiary {
  margin-bottom: 20px;
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-casino__promotion-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-casino__promotion-card:hover {
  transform: translateY(-10px);
}

.page-casino__promotion-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.page-casino__promotion-title {
  font-size: 1.8em;
  color: #017439;
  margin: 20px 0 10px;
  padding: 0 20px;
}

.page-casino__promotion-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
}

.page-casino__promotion-card .page-casino__btn-primary {
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

/* Video Section */
.page-casino__video-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-casino__video-section .page-casino__section-title,
.page-casino__video-section .page-casino__text-block {
  color: #FFFFFF;
}

.page-casino__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 40px;
  border-radius: 10px;
}

.page-casino__video-wrapper .page-casino__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}