/* style/casino-how-to-play.css */

/* Variables */
:root {
  --bingoplus-primary: #F2C14E;
  --bingoplus-secondary: #FFD36B;
  --bingoplus-card-bg: #111111;
  --bingoplus-background: #0A0A0A;
  --bingoplus-text-main: #FFF6D6;
  --bingoplus-border: #3A2A12;
  --bingoplus-glow: #FFD36B;
  --bingoplus-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Base styles for the page content area */
/* Body padding-top for header offset is handled by shared.css */
.page-casino-how-to-play {
  background-color: var(--bingoplus-background); /* #0A0A0A */
  color: var(--bingoplus-text-main); /* #FFF6D6 */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-casino-how-to-play__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-casino-how-to-play__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding-top: 10px; /* Small top padding, header offset handled by body in shared.css */
  padding-bottom: 60px;
  background-color: #000; /* Ensure a dark background for the hero area */
}

.page-casino-how-to-play__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px; /* Space between image and content */
}

.page-casino-how-to-play__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-casino-how-to-play__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-casino-how-to-play__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* H1 font size constraint */
  color: var(--bingoplus-primary); /* #F2C14E */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Glow */
}

.page-casino-how-to-play__hero-description {
  font-size: 1.2rem;
  color: var(--bingoplus-text-main); /* #FFF6D6 */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-casino-how-to-play__cta-button {
  display: inline-block;
  background: var(--bingoplus-button-gradient); /* linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%) */
  color: #ffffff; /* White text on button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino-how-to-play__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-casino-how-to-play__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3rem;
}

.page-casino-how-to-play__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}


/* Section Styling */
.page-casino-how-to-play__intro-section,
.page-casino-how-to-play__basics-section,
.page-casino-how-to-play__games-section,
.page-casino-how-to-play__navigation-section,
.page-casino-how-to-play__strategies-section,
.page-casino-how-to-play__responsible-gaming-section,
.page-casino-how-to-play__faq-section,
.page-casino-how-to-play__conclusion-section {
  padding: 60px 0;
}

.page-casino-how-to-play__dark-section {
  background-color: var(--bingoplus-card-bg); /* #111111 */
  color: var(--bingoplus-text-main); /* #FFF6D6 */
}

.page-casino-how-to-play__section-title {
  font-size: 2.5rem;
  color: var(--bingoplus-primary); /* #F2C14E */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-casino-how-to-play__sub-title {
  font-size: 1.8rem;
  color: var(--bingoplus-secondary); /* #FFD36B */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino-how-to-play p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.page-casino-how-to-play__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-casino-how-to-play__content-grid:nth-child(even) {
  flex-direction: row-reverse;
}

.page-casino-how-to-play__text-block {
  flex: 1;
}

.page-casino-how-to-play__image-wrapper {
  flex: 1;
  max-width: 50%; /* Adjust as needed */
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-casino-how-to-play__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Game Cards Section */
.page-casino-how-to-play__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-casino-how-to-play__game-card {
  background-color: var(--bingoplus-card-bg); /* #111111 */
  border: 1px solid var(--bingoplus-border); /* #3A2A12 */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.page-casino-how-to-play__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(242, 193, 78, 0.2);
}

.page-casino-how-to-play__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino-how-to-play__game-card-title {
  font-size: 1.4rem;
  color: var(--bingoplus-secondary); /* #FFD36B */
  margin: 0 20px 15px;
  font-weight: bold;
}

.page-casino-how-to-play__game-card p {
  font-size: 1rem;
  color: var(--bingoplus-text-main);
  margin: 0 20px 20px;
  flex-grow: 1; /* Push button to bottom */
}