/* style/cockfighting.css */

/* Biến màu sắc tùy chỉnh */
:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  --card-bg: #2A1212;
  --page-bg: #140C0C;
  --text-main: #FFF1E8;
  --border-color: #6A1E1E;
  --gold-color: #F3C54D;
  --deep-red: #7E0D0D;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Sử dụng màu chữ chính cho nền tối */
  background-color: var(--page-bg); /* Nền trang tổng thể */
}

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

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__text-block {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__list-item {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.page-cockfighting__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-title {
  font-size: 22px;
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 176, 74, 0.4);
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 176, 74, 0.6);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--page-bg);
  transform: translateY(-2px);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-bg);
}

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

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting__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.6);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting__hero-content h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-description {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Light Background Sections */
.page-cockfighting__light-bg {
  background-color: #1a0e0e; /* Tối hơn một chút so với page-bg để tạo độ tương phản nhẹ */
  color: var(--text-main);
}

/* Dark Background Sections (using custom colors) */
.page-cockfighting__dark-section {
  background-color: var(--page-bg);
  color: var(--text-main);
}

/* Intro Section */
.page-cockfighting__intro-section .page-cockfighting__image-content {
  margin-top: 30px;
  text-align: center;
}

.page-cockfighting__intro-section .page-cockfighting__image-content img {
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__feature-card {
  text-align: center;
}

.page-cockfighting__feature-card .page-cockfighting__card-title {
  color: var(--gold-color);
}

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

.page-cockfighting__betting-card {
  text-align: center;
}

/* Gameplay Tips Section */
.page-cockfighting__tips-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-cockfighting__tips-list .page-cockfighting__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
}

.page-cockfighting__tips-list .page-cockfighting__list-item::before {
  content: '✓';
  color: var(--gold-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
}

.page-cockfighting__tips-list strong {
  color: var(--gold-color);
}

.page-cockfighting__gameplay-tips-section .page-cockfighting__image-content {
  margin-top: 30px;
  text-align: center;
}

.page-cockfighting__gameplay-tips-section .page-cockfighting__image-content img {
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Safety Section */
.page-cockfighting__safety-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-cockfighting__safety-list .page-cockfighting__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
}

.page-cockfighting__safety-list .page-cockfighting__list-item::before {
  content: '🛡️'; /* Shield emoji */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
}

.page-cockfighting__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-cockfighting__cta-wrapper .page-cockfighting__cta-button {
  margin: 0 10px;
}

/* How to Start Section */
.page-cockfighting__steps-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-cockfighting__steps-list .page-cockfighting__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-cockfighting__steps-list .page-cockfighting__list-item:hover {
  transform: translateY(-3px);
}

.page-cockfighting__step-title {
  font-size: 24px;
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-cockfighting__step-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--gold-color);
  font-weight: 600;
  font-size: 18px;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(var(--gold-color), 0.1);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}
.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  background: #1e1010; /* Nền tối hơn cho câu trả lời */
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
  margin: 0;
}

/* Blog Promo Section */
.page-cockfighting__blog-promo-section {
  padding-bottom: 60px;
}

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

.page-cockfighting__blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  padding: 0;
}

.page-cockfighting__blog-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.page-cockfighting__blog-card .page-cockfighting__card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-cockfighting__blog-card .page-cockfighting__card-link {
  text-decoration: none;
  color: inherit;
}

.page-cockfighting__blog-card .page-cockfighting__card-title {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--gold-color);
  transition: color 0.3s ease;
}

.page-cockfighting__blog-card .page-cockfighting__card-link:hover .page-cockfighting__card-title {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-cockfighting__blog-card .page-cockfighting__card-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
  color: var(--text-main);
}

.page-cockfighting__card-date {
  font-size: 14px;
  color: #aaa;
  text-align: right;
}

.page-cockfighting__view-all-button-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content h1 {
    font-size: clamp(30px, 4.5vw, 48px);
  }

  .page-cockfighting__hero-description {
    font-size: 18px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 30px 15px;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-image img {
    border-radius: 8px;
  }

  .page-cockfighting__hero-content h1 {
    font-size: clamp(28px, 6vw, 38px);
  }

  .page-cockfighting__hero-description {
    font-size: 16px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-cockfighting__cta-wrapper .page-cockfighting__cta-button {
    margin: 10px 0;
  }

  .page-cockfighting__section-title {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block, .page-cockfighting__list-item, .page-cockfighting__card-text, .page-cockfighting__step-description {
    font-size: 15px;
    line-height: 1.6;
  }

  .page-cockfighting__features-grid, .page-cockfighting__betting-options, .page-cockfighting__blog-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card, .page-cockfighting__betting-card, .page-cockfighting__steps-list .page-cockfighting__list-item {
    padding: 20px;
  }

  .page-cockfighting__card-title {
    font-size: 20px;
  }

  .page-cockfighting__step-title {
    font-size: 22px;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  .page-cockfighting__blog-card img {
    
  }
  .page-cockfighting__blog-card .page-cockfighting__card-title {
    font-size: 18px;
  }
  .page-cockfighting__blog-card .page-cockfighting__card-body {
    padding: 15px;
  }

  /* Ensure all images are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__image-content, .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section, .page-cockfighting__card, .page-cockfighting__container, .page-cockfighting__cta-buttons, .page-cockfighting__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content h1 {
    font-size: clamp(26px, 7vw, 34px);
  }
  .page-cockfighting__hero-description {
    font-size: 15px;
  }
  .page-cockfighting__section-title {
    font-size: clamp(22px, 6vw, 28px);
  }
  .page-cockfighting__cta-button {
    padding: 10px 15px;
    font-size: 15px;
  }
  .page-cockfighting__blog-card img {
    
  }
}