.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-color); /* From shared.css */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__section-subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 60px;
}

.page-cockfighting__text-block p,
.page-cockfighting li {
  color: #ffffff;
  margin-bottom: 15px;
}

.page-cockfighting a {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting a:hover {
  text-decoration: underline;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1a88bb;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border-color: #EA7C07;
}

.page-cockfighting__btn-small:hover {
  background-color: #c96700;
  border-color: #c96700;
}

/* Hero Section */
.page-cockfighting__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); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-cockfighting__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  background-size: cover;
}

.page-cockfighting__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

.page-cockfighting__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-cockfighting__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  font-weight: lighter;
}

.page-cockfighting__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* About Section */
.page-cockfighting__about-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-cockfighting__grid-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__image-wrapper {
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__text-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-cockfighting__text-link:hover {
  background-color: #1a88bb;
  text-decoration: none;
}

/* How To Bet Section */
.page-cockfighting__how-to-bet-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-cockfighting__dark-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-cockfighting__step-number {
  font-size: 2.5em;
  color: #26A9E0;
  font-weight: bold;
  margin-bottom: 15px;
  background: rgba(38, 169, 224, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-cockfighting__step-card p {
  color: #f0f0f0;
  flex-grow: 1;
}

.page-cockfighting__note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Schedule Section */
.page-cockfighting__schedule-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-cockfighting__schedule-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
}

.page-cockfighting__schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Ensure table is not too small on desktop */
}

.page-cockfighting__schedule-table th,
.page-cockfighting__schedule-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-cockfighting__schedule-table th {
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
}

.page-cockfighting__schedule-table tbody tr:hover {
  background-color: rgba(38, 169, 224, 0.1);
}

.page-cockfighting__schedule-table td a {
  color: #EA7C07;
  font-weight: bold;
}

.page-cockfighting__schedule-note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-cockfighting__benefit-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-cockfighting__benefit-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: rgba(38, 169, 224, 0.1);
  padding: 10px;
}

.page-cockfighting__benefit-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-cockfighting__benefit-card p {
  color: #f0f0f0;
  flex-grow: 1;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-cockfighting__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  font-size: 0.95em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* CTA Banner */
.page-cockfighting__cta-banner {
  padding: 60px 0;
  background-image: url('[GALLERY:cta_banner:1920x400:cockfighting,promotion,join_now,banner,vietnam]');
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
  z-index: 0;
}

.page-cockfighting__cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.page-cockfighting__cta-content {
  color: #ffffff;
}

.page-cockfighting__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-cockfighting__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }

  .page-cockfighting__hero-description {
    font-size: 1.3em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }

  .page-cockfighting__section-subtitle {
    font-size: 1.1em;
  }

  .page-cockfighting__grid-content {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-cockfighting__benefits-grid,
  .page-cockfighting__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    height: auto;
    min-height: 600px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-cockfighting__hero-title {
    font-size: 2.5em;
    line-height: 1.3;
  }

  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }

  .page-cockfighting__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }

  .page-cockfighting__section-subtitle {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-cockfighting__schedule-table th,
  .page-cockfighting__schedule-table td {
    padding: 10px;
    font-size: 0.9em;
  }

  .page-cockfighting__cta-title {
    font-size: 2em;
  }

  .page-cockfighting__cta-description {
    font-size: 1.1em;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-cockfighting__image,
  .page-cockfighting__benefit-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__how-to-bet-section,
  .page-cockfighting__schedule-section,
  .page-cockfighting__why-choose-us-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-banner {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}