/* style/live-dealer-rules.css */

/* Custom properties for colors from the design brief */
:root {
  --nustar-primary: #F2C14E;
  --nustar-secondary: #FFD36B;
  --nustar-card-bg: #111111;
  --nustar-background: #0A0A0A;
  --nustar-text-main: #FFF6D6;
  --nustar-border: #3A2A12;
  --nustar-glow: #FFD36B;
}

/* Base styles for the page content, ensuring contrast with body background */
/* Body background is assumed to be dark (var(--background-color) from shared.css, which is #0A0A0A) */
.page-live-dealer-rules {
  color: var(--nustar-text-main); /* Light text on dark background */
  background-color: var(--nustar-background); /* Ensure consistency if main background is not handled by body */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Add some padding at the bottom for aesthetic */
}

.page-live-dealer-rules__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: var(--nustar-card-bg); /* Dark background for hero section */
  overflow: hidden;
}

.page-live-dealer-rules__hero-image {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px; /* Space between image and content */
}

.page-live-dealer-rules__hero-content {
  max-width: 900px;
  text-align: center;
  color: var(--nustar-text-main);
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-live-dealer-rules__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive H1 font size */
  font-weight: bold;
  color: var(--nustar-primary); /* Use primary color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Subtle glow effect */
}

.page-live-dealer-rules__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--nustar-text-main);
}

.page-live-dealer-rules__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  /* IMPORTANT: Overriding default white text for buttons to ensure WCAG AA contrast (4.5:1)
     against the light gradient background. Black text provides sufficient contrast.
     #000000 on #FFD86A (10.7:1), on #DDA11D (4.7:1).
     This prioritizes the highest-priority WCAG AA contrast requirement. */
  color: #000000; /* Ensuring contrast for button text */
  border: 2px solid transparent;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  min-width: 180px; /* Minimum width for better touch targets */
  box-sizing: border-box;
}

.page-live-dealer-rules__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-live-dealer-rules__btn-secondary {
  background: var(--nustar-card-bg);
  color: var(--nustar-primary);
  border: 2px solid var(--nustar-primary);
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  min-width: 180px;
  box-sizing: border-box;
}

.page-live-dealer-rules__btn-secondary:hover {
  background: var(--nustar-primary);
  color: var(--nustar-background); /* Dark text on primary hover */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-live-dealer-rules__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--nustar-background); /* Main content background */
  color: var(--nustar-text-main);
}

.page-live-dealer-rules__dark-section {
  background-color: var(--nustar-card-bg); /* Darker section background */
  color: var(--nustar-text-main);
  padding: 40px 20px;
}

.page-live-dealer-rules__dark-bg { /* Used for FAQ section */
  background-color: var(--nustar-card-bg);
  color: var(--nustar-text-main);
  padding: 40px 20px;
}

.page-live-dealer-rules__section-title {
  font-size: 2.5rem;
  color: var(--nustar-primary);
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-live-dealer-rules__sub-title {
  font-size: 1.8rem;
  color: var(--nustar-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(255, 211, 107, 0.2);
}

.page-live-dealer-rules__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--nustar-text-main);
}

.page-live-dealer-rules__highlight {
  color: var(--nustar-primary);
  font-weight: bold;
}

.page-live-dealer-rules__feature-list,
.page-live-dealer-rules__sub-list,
.page-live-dealer-rules__step-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--nustar-text-main);
}

.page-live-dealer-rules__step-list {
  list-style-type: decimal;
}

.page-live-dealer-rules__list-item {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-live-dealer-rules__image-full-width {
  width: 100%;
  max-width: 1000px; /* Adjusted max-width for content images */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-live-dealer-rules__image-center {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-live-dealer-rules__link {
  color: var(--nustar-secondary);
  text-decoration: underline;
  transition: color 0.3s ease;
}