/* style/casino.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General Styles for .page-casino content */
.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-casino__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Added padding for smaller screens */
  box-sizing: border-box;
}

.page-casino__heading {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for headings for contrast */
  font-weight: bold;
}

.page-casino__heading--white {
  color: #ffffff;
}

.page-casino__sub-heading {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFFF00;
  font-weight: bold;
}

.page-casino__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff; /* Light text for dark background */
}

.page-casino__paragraph--white {
  color: #ffffff;
}

.page-casino__keyword {
  color: #FFFF00; /* Highlight keywords with yellow */
  font-weight: bold;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-casino__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: -1;
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for main title */
  line-height: 1.2;
  font-weight: bold;
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-casino__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-register,
.page-casino__btn-login,
.page-casino__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background-color: #017439; /* Brand primary green */
  color: #ffffff;
  border: 2px solid #017439;
}

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

.page-casino__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-casino__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-casino__btn-register {
  background-color: #C30808; /* Red for register */
  color: #FFFF00; /* Yellow font for register */
  border: 2px solid #C30808;
}

.page-casino__btn-register:hover {
  background-color: #9e0606;
  border-color: #9e0606;
}

.page-casino__btn-login {
  background-color: #C30808; /* Red for login */
  color: #FFFF00; /* Yellow font for login */
  border: 2px solid #C30808;
}

.page-casino__btn-login:hover {
  background-color: #9e0606;
  border-color: #9e0606;
}

.page-casino__btn-link {
  background-color: transparent;
  color: #FFFF00; /* Yellow for links */
  border: none;
  text-decoration: underline;
  padding: 10px 0;
  font-size: 1em;
}

.page-casino__btn-link:hover {
  color: #ffffff;
}

/* Section Backgrounds & Colors */
.page-casino__dark-bg {
  background-color: #017439; /* Brand primary green for dark sections */
  color: #ffffff;
}

.page-casino__introduction-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

/* Games Section */
.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: rgba(255, 255, 255, 0.1); /* Translucent white for cards on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-casino__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum image size */
  min-height: 200px;
}

.page-casino__game-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFF00;
  font-weight: bold;
}

.page-casino__game-card-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Cockfighting Section */
.page-casino__cockfighting-section {
  background-color: #1a1a1a;
}

.page-casino__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  max-width: 1000px; /* Max width for video */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-casino__video-link {
  display: block;
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
  border-radius: 12px;
}

.page-casino__video-link .page-casino__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

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

.page-casino__feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__feature-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFF00;
  font-weight: bold;
}

.page-casino__feature-card-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-casino__cockfighting-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.page-casino__promotion-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-casino__promotion-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-casino__promotion-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFF00;
  font-weight: bold;
}

.page-casino__promotion-card-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Security Section */
.page-casino__security-section {
  background-color: #1a1a1a;
}

.page-casino__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-casino__security-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-casino__security-text {
  flex: 1;
}

/* Registration Section */
.page-casino__registration-section {
  padding-bottom: 80px;
}

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

.page-casino__step-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__step-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFF00;
  font-weight: bold;
}

.page-casino__step-card-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-casino__faq-section {
  background-color: #1a1a1a;
  text-align: left;
}

.page-casino__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}