.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main color, suitable for dark background */
  background-color: #B71C1C; /* Custom background color */
}

/* Hero Section */
.page-casino__hero-section {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 40px;
  background-color: #B71C1C; /* Background color for the section */
  position: relative;
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for hero image */
  margin-bottom: 30px;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default cover for desktop */
  aspect-ratio: 16/9; /* Maintain aspect ratio */
  border-radius: 8px;
}

.page-casino__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-casino__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #FFCC66; /* Glow color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-casino__tagline {
  font-size: 1.1rem;
  color: #FFF5E1; /* Text Main color */
  margin-bottom: 30px;
}

.page-casino__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button gradient */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-casino__btn-secondary {
  background: transparent;
  color: #FFCC66; /* Glow color for text */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 15px rgba(242, 181, 68, 0.2);
}

.page-casino__btn-secondary:hover {
  background: rgba(242, 181, 68, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 181, 68, 0.4);
}

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

/* General Section Styling */
.page-casino__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-casino__dark-bg {
  background-color: #B71C1C; /* Custom background color */
  color: #FFF5E1; /* Text Main color */
}

.page-casino__light-bg {
  background-color: #D32F2F; /* Card BG color */
  color: #FFF5E1; /* Text Main color */
}

.page-casino__dark-section {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
}

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

.page-casino__container--narrow {
  max-width: 800px;
}

.page-casino__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FFCC66; /* Glow color for titles */
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-casino__section-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF5E1; /* Text Main color */
}

.page-casino__text-main {
  color: #FFF5E1; /* Text Main color */
}

/* Grid Layouts */
.page-casino__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-casino__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-casino__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card Styles */
.page-casino__card {
  background-color: #D32F2F; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  color: #FFF5E1; /* Text Main color */
}

.page-casino__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-casino__card-icon {
  width: 200px; /* Minimum size requirement */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-casino__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFCC66; /* Glow color */
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-casino__card-text {
  font-size: 1rem;
  color: #FFF5E1; /* Text Main color */
  flex-grow: 1; /* Allow text to grow */
}

.page-casino__game-card {
  text-decoration: none;
}

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

.page-casino__link {
  color: #F4D34D; /* Gold color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-casino__link:hover {
  color: #FFCC66; /* Glow color on hover */
}

/* Feature Cards */
.page-casino__feature-grid {
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-casino__feature-card {
  padding: 25px;
}

/* Steps Section */
.page-casino__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-casino__step-card {
  padding: 25px;
  position: relative;
}

.page-casino__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F4D34D; /* Gold color */
  color: #7A0E0E; /* Deep Red */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  border: 3px solid #FFCC66; /* Glow color */
  box-shadow: 0 0 15px rgba(255, 204, 102, 0.6);
}

.page-casino__step-card .page-casino__card-title {
  margin-top: 30px; /* Adjust for step number */
}

/* FAQ Section */
.page-casino__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544; /* Border color */
  overflow: hidden;
  background: #D32F2F; /* Card BG color */
  color: #FFF5E1; /* Text Main color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}