/* style/casino.css */

/* Custom CSS variables for colors from shared.css */
:root {
  --primary-color: #CC0000;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8; /* A light background for sections */
  --background-dark: #222222; /* A dark background for sections */
  --border-color: #e0e0e0;
}

/* 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 body background */
  background-color: var(--background-light); /* Default light background for content area */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box; /* Ensure padding doesn't cause overflow */
}

.page-casino__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* Reusable button styles */
.page-casino__cta-button,
.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;
  text-align: center; /* Ensure text is centered in button */
  max-width: 100%; /* Important for responsiveness */
  box-sizing: border-box; /* Include padding/border in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-casino__cta-button {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-button:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-casino__cta-button--inverted {
  background: var(--background-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-casino__cta-button--inverted:hover {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.page-casino__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-casino__btn-primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.page-casino__btn-secondary {
  background: var(--text-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-casino__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Image base styles */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Section background colors */
.page-casino__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-casino__dark-section {
  background-color: var(--primary-color); /* Using primary color for dark sections */
  color: var(--text-light);
}
.page-casino__dark-section .page-casino__section-title,
.page-casino__dark-section .page-casino__section-description {
  color: var(--text-light);
}

/* HERO 主图区域 */
.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 is already handled by .page-casino, but adding here as a fallback or for specific overrides */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #CC0000AA 100%); /* Slightly transparent primary color */
}

.page-casino__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-casino__hero-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.page-casino__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}