.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
}

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

/* HERO Section */
.page-casino__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding-top: 10px; /* Minimal top padding, assuming body handles header offset */
  margin-bottom: 40px;
}

.page-casino__hero-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 600px; /* Default height for desktop */
}

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

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-sizing: border-box;
}

.page-casino__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.page-casino__main-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.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: #a00606;
  border-color: #a00606;
}

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

.page-casino__btn-secondary:hover {
  background-color: rgba(195, 8, 8, 0.2);
  color: #FFFFFF;
}

/* General Section Styling */
.page-casino__section {
  padding: 60px 0;
  margin-bottom: 30px;
}

.page-casino__section-title {
  font-size: 2.5rem;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-casino__section-title--light {
  color: #FFFFFF;
}

.page-casino__section-description {
  font-size: 1.1rem;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__section-description--light {
  color: #f0f0f0;
}

.page-casino__content-area {
  font-size: 1rem;
  line-height: 1.8;
  color: #333333;
  text-align: left;
}

.page-casino__text-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-casino__text-block p {
  margin-bottom: 1em;
}

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

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

.page-casino__game-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

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

.page-casino__game-title {
  font-size: 1.5rem;
  color: #017439;
  margin-bottom: 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.95rem;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__btn-play {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-casino__btn-play:hover {
  background-color: #005a2e;
}

/* Advantages Section */
.page-casino__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-casino__feature-icon {
  width: 150px; /* Larger icons as per requirement */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__feature-title {
  font-size: 1.3rem;
  color: #017439;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-casino__feature-description {
  font-size: 0.95rem;
  color: #555555;
}

/* Promotions Section */
.page-casino__promotions {
  background-color: #f8f8f8;
}

.page-casino__promotions-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.page-casino__promotion-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.page-casino__promotion-title {
  font-size: 1.6rem;
  color: #017439;
  margin: 20px 20px 10px;
  font-weight: 600;
}

.page-casino__promotion-description {
  font-size: 1rem;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__btn-view-details {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 0 20px 20px;
  align-self: flex-start;
}

.page-casino__btn-view-details:hover {
  background-color: #005a2e;
}

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

/* How-to-play Section */
.page-casino__steps-list {
  list-style-type: decimal;
  padding-left: 25px;
  max-width: 900px;
  margin: 20px auto;
  color: #333333;
}

.page-casino__steps-list li {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-casino__steps-list strong {
  color: #017439;
}

/* Responsible Gaming Section */
.page-casino__responsible-gaming {
  background-color: #e6f7ed;
}

.page-casino__responsible-gaming-links {
  margin-top: 30px;
  text-align: center;
}

.page-casino__link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.page-casino__link:hover {
  color: #005a2e;
  text-decoration: underline;
}

/* FAQ Section */
details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-casino__faq-item summary.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-casino__faq-item summary.page-casino__faq-question::-webkit-details-marker {
  display: none;
}
details.page-casino__faq-item summary.page-casino__faq-question:hover {
  background: #f5f5f5;
}
.page-casino__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* Final CTA Section */
.page-casino__cta-final {
  padding: 80px 0;
}

.page-casino__cta-final .page-casino__container {
  background-color: #017439;
  padding: 50px;
  border-radius: 10px;
  text-align: center;
}

.page-casino__btn-primary--inverted {
  background-color: #FFFFFF;
  color: #C30808; /* Custom color for Register/Login */
  border-color: #FFFFFF;
}

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

.page-casino__btn-secondary--inverted {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-casino__btn-secondary--inverted:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}