/* style/casino.css */

/* CSS Variables for colors */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-bg: #C30808;
  --login-button-bg: #C30808;
  --register-login-font: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-light: #e0e0e0;
  --background-light-grey: #f9f9f9;
}

/* Base styles for the page content */
.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background: var(--secondary-color); /* Matches body background */
}

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

.page-casino__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

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

.page-casino__section-title--light {
  color: var(--text-light);
}

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

/* 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%, #309060 100%); /* Adjusted gradient for visual appeal */
  color: var(--text-light);
}

.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; /* Ensure content is above any potential background layers */
}

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 900px; /* Constrain hero image width */
}

.page-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
  font-weight: bold;
}

.page-casino__hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  min-width: 200px; /* Ensure buttons have a minimum width */
}

.page-casino__btn-primary {
  background: var(--register-button-bg); /* Red for primary action */
  color: var(--register-login-font); /* Yellow text */
  border: 2px solid var(--register-button-bg);
}

.page-casino__btn-primary:hover {
  background: #a30606; /* Darken on hover */
  border-color: #a30606;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-secondary {
  background: transparent;
  color: var(--register-login-font); /* Yellow text */
  border: 2px solid var(--register-login-font); /* Yellow border */
}

.page-casino__btn-secondary:hover {
  background: var(--register-login-font); /* Yellow background on hover */
  color: var(--register-button-bg); /* Red text on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-small {
  padding: 10px 25px;
  font-size: 16px;
  min-width: 150px;
}

.page-casino__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Introduction Section */
.page-casino__introduction {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Featured Games Section */
.page-casino__featured-games {
  background: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

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

.page-casino__game-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white card */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-casino__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for image consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino__card-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--register-login-font); /* Yellow for titles */
  font-weight: bold;
}

.page-casino__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__card-title a:hover {
  color: var(--secondary-color); /* White on hover */
  text-decoration: underline;
}

.page-casino__game-card p {
  font-size: 16px;
  color: var(--text-light);
  flex-grow: 1; /* Allow paragraph to take available space */
}

/* Advantages Section */
.page-casino__advantages {
  background: var(--secondary-color); /* Light background */
}

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

.page-casino__advantage-item {
  background: var(--background-light-grey);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-casino__advantage-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__advantage-item img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino__advantage-item h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__advantage-item h3 a {
  color: inherit;
  text-decoration: none;
}

.page-casino__advantage-item p {
  font-size: 16px;
  color: var(--text-dark);
  flex-grow: 1;
}

/* Getting Started Section */
.page-casino__getting-started {
  background: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

.page-casino__getting-started .page-casino__section-title {
  color: var(--text-light);
}

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

.page-casino__step-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white card */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.page-casino__step-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  /* Removed filter: brightness(0) invert(1) to comply with}