/* style/casino.css */
/* 
 * Màu sắc chính: #26A9E0
 * Màu sắc phụ: #FFFFFF
 * Màu đăng nhập: #EA7C07
 * Màu nền: #FFFFFF (body background)
 * Màu đen: #000000
 */

/* Tổng quan */
.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Mặc định cho nền sáng của body */
  background-color: var(--background-color, #ffffff);
}

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

.page-casino__section {
  padding: 60px 0;
  text-align: center;
}

.page-casino__section-title {
  font-size: 36px;
  color: #26A9E0; /* Màu chủ đạo */
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-casino__sub-title {
  font-size: 24px;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-casino__text-block {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 17px;
  line-height: 1.8;
}

.page-casino__list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 600px;
  text-align: left;
}

.page-casino__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
}

.page-casino__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

/* Nút CTA chung */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  margin: 10px;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-casino__cta-button {
  padding: 18px 40px;
  font-size: 20px;
  background-color: #EA7C07; /* Màu đăng nhập */
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-button:hover {
  background-color: #d16e06;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-primary {
  background-color: #26A9E0; /* Màu chủ đạo */
  color: #ffffff;
}

.page-casino__btn-primary:hover {
  background-color: #1e87bb;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Màu chủ đạo */
  border: 2px solid #26A9E0;
}

.page-casino__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-casino__btn-text:hover {
  color: #1e87bb;
  text-decoration: underline;
}

.page-casino__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Các phần nền màu */
.page-casino__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-casino__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-casino__dark-bg .page-casino__section-title,
.page-casino__dark-bg .page-casino__sub-title {
  color: #ffffff;
}

.page-casino__dark-bg .page-casino__section-title::after {
  background-color: #ffffff;
}

/* HERO Section */
.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: var(--header-offset, 120px); /* Đảm bảo không bị che bởi header cố định */
  background: linear-gradient(135deg, #26A9E0, #a0d8f7); /* Gradient nhẹ */
  overflow: hidden; /* Đảm bảo nội dung không tràn */
}

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

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-casino__hero-title {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.page-casino__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* About Us Section */
.page-casino__about-us .page-casino__text-block {
  font-size: 18px;
  max-width: 900px;
}

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

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

.page-casino__feature-item h3 {
  color: #26A9E0;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-casino__feature-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

/* Cockfighting Live Section */
.page-casino__cockfighting-live .page-casino__text-block {
  color: #ffffff;
}

.page-casino__image-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-casino__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-casino__content-wrapper p,
.page-casino__content-wrapper li {
  color: #f0f0f0;
}

.page-casino__content-wrapper .page-casino__list li::before {
  color: #ffffff;
}

.page-casino__content-wrapper a {
  color: #ffffff;
}

.page-casino__content-wrapper a:hover {
  color: #f0f0f0;
  text-decoration: underline;
}

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

.page-casino__game-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
}