/* style/resources-cpc3-live-cockfighting-rules.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --background-color-body: #0a0a0a;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
  --login-button-color: #EA7C07;
}

.page-resources-cpc3-live-cockfighting-rules {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-color-body);
}

.page-resources-cpc3-live-cockfighting-rules__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-cpc3-live-cockfighting-rules__dark-bg {
  background-color: var(--background-color-body);
  color: var(--text-color-dark-bg);
}

.page-resources-cpc3-live-cockfighting-rules__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-light-bg);
}

/* Hero Section */
.page-resources-cpc3-live-cockfighting-rules__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-resources-cpc3-live-cockfighting-rules__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.page-resources-cpc3-live-cockfighting-rules__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-resources-cpc3-live-cockfighting-rules__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-cpc3-live-cockfighting-rules__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-color-dark-bg);
}

.page-resources-cpc3-live-cockfighting-rules__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* General Section Styles */
.page-resources-cpc3-live-cockfighting-rules__introduction,
.page-resources-cpc3-live-cockfighting-rules__rules-overview,
.page-resources-cpc3-live-cockfighting-rules__betting-types,
.page-resources-cpc3-live-cockfighting-rules__security-fairness,
.page-resources-cpc3-live-cockfighting-rules__tips,
.page-resources-cpc3-live-cockfighting-rules__video-section,
.page-resources-cpc3-live-cockfighting-rules__faq,
.page-resources-cpc3-live-cockfighting-rules__cta-bottom {
  padding: 60px 0;
}

.page-resources-cpc3-live-cockfighting-rules__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-cpc3-live-cockfighting-rules__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-cpc3-live-cockfighting-rules__text-block--small {
  font-size: 0.9em;
  text-align: center;
  margin-top: 20px;
}

/* Buttons */
.page-resources-cpc3-live-cockfighting-rules__btn-primary,
.page-resources-cpc3-live-cockfighting-rules__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-cpc3-live-cockfighting-rules__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  border: 2px solid var(--primary-color);
}

.page-resources-cpc3-live-cockfighting-rules__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-resources-cpc3-live-cockfighting-rules__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-cpc3-live-cockfighting-rules__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-resources-cpc3-live-cockfighting-rules__cta-area .page-resources-cpc3-live-cockfighting-rules__btn-primary {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
}

.page-resources-cpc3-live-cockfighting-rules__cta-bottom .page-resources-cpc3-live-cockfighting-rules__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Content Grid for Rules Overview */
.page-resources-cpc3-live-cockfighting-rules__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-cpc3-live-cockfighting-rules__card {
  background-color: var(--card-bg-dark-mode);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-color-dark-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-cpc3-live-cockfighting-rules__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-cpc3-live-cockfighting-rules__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-resources-cpc3-live-cockfighting-rules__card-text {
  font-size: 1em;
  text-align: justify;
}

/* List Styles */
.page-resources-cpc3-live-cockfighting-rules__list,
.page-resources-cpc3-live-cockfighting-rules__numbered-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-resources-cpc3-live-cockfighting-rules__list-item {
  background-color: var(--background-color-body);
  color: var(--text-color-dark-bg);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-resources-cpc3-live-cockfighting-rules__list-item::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2em;
}

.page-resources-cpc3-live-cockfighting-rules__numbered-list .page-resources-cpc3-live-cockfighting-rules__list-item {
  counter-increment: list-counter;
}

.page-resources-cpc3-live-cockfighting-rules__numbered-list .page-resources-cpc3-live-cockfighting-rules__list-item::before {
  content: counter(list-counter) '.';
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  width: 28px;
  height: 28px;
  min-width: 28px; /* Ensure icon doesn't shrink */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  margin-right: 10px;
}

/* Feature Grid for Security & Fairness */
.page-resources-cpc3-live-cockfighting-rules__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-cpc3-live-cockfighting-rules__feature-item {
  background-color: var(--card-bg-dark-mode);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-color-dark-bg);
}

.page-resources-cpc3-live-cockfighting-rules__feature-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources-cpc3-live-cockfighting-rules__feature-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-resources-cpc3-live-cockfighting-rules__feature-text {
  font-size: 1em;
}

/* Video Section */
.page-resources-cpc3-live-cockfighting-rules__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-resources-cpc3-live-cockfighting-rules__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-resources-cpc3-live-cockfighting-rules__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.page-resources-cpc3-live-cockfighting-rules__play-button {
  position: absolute;
  z-index: 11;
  font-size: 4em;
  color: var(--secondary-color);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-resources-cpc3-live-cockfighting-rules__play-button:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* FAQ Section */
.page-resources-cpc3-live-cockfighting-rules__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-cpc3-live-cockfighting-rules__faq-item {
  background-color: var(--background-color-body);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: var(--text-color-dark-bg);
}

.page-resources-cpc3-live-cockfighting-rules__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(38, 169, 224, 0.1);
  color: var(--primary-color);
}

.page-resources-cpc3-live-cockfighting-rules__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-resources-cpc3-live-cockfighting-rules__faq-qtext {
  flex-grow: 1;
}

.page-resources-cpc3-live-cockfighting-rules__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-resources-cpc3-live-cockfighting-rules__faq-item[open] .page-resources-cpc3-live-cockfighting-rules__faq-toggle {
  content: '−';
}

.page-resources-cpc3-live-cockfighting-rules__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: var(--text-color-dark-bg);
  background-color: var(--background-color-body);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-cpc3-live-cockfighting-rules__hero-title {
    font-size: 2.8em;
  }
  .page-resources-cpc3-live-cockfighting-rules__hero-description {
    font-size: 1.1em;
  }
  .page-resources-cpc3-live-cockfighting-rules__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-cpc3-live-cockfighting-rules__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-cpc3-live-cockfighting-rules__hero-title {
    font-size: 2em;
  }
  .page-resources-cpc3-live-cockfighting-rules__hero-description {
    font-size: 1em;
  }
  .page-resources-cpc3-live-cockfighting-rules__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-cpc3-live-cockfighting-rules__btn-primary,
  .page-resources-cpc3-live-cockfighting-rules__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
  }

  /* General content area padding for mobile */
  .page-resources-cpc3-live-cockfighting-rules__introduction,
  .page-resources-cpc3-live-cockfighting-rules__rules-overview,
  .page-resources-cpc3-live-cockfighting-rules__betting-types,
  .page-resources-cpc3-live-cockfighting-rules__security-fairness,
  .page-resources-cpc3-live-cockfighting-rules__tips,
  .page-resources-cpc3-live-cockfighting-rules__video-section,
  .page-resources-cpc3-live-cockfighting-rules__faq,
  .page-resources-cpc3-live-cockfighting-rules__cta-bottom {
    padding: 40px 0;
  }

  .page-resources-cpc3-live-cockfighting-rules__container {
    padding: 0 15px;
  }

  .page-resources-cpc3-live-cockfighting-rules__section-title {
    font-size: 1.8em;
  }

  .page-resources-cpc3-live-cockfighting-rules__text-block {
    font-size: 0.95em;
  }

  .page-resources-cpc3-live-cockfighting-rules img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-cpc3-live-cockfighting-rules__card-image {
    height: 200px;
  }

  .page-resources-cpc3-live-cockfighting-rules__feature-icon {
    width: 200px !important;
    height: 200px !important;
  }

  .page-resources-cpc3-live-cockfighting-rules__video-section,
  .page-resources-cpc3-live-cockfighting-rules__video-container,
  .page-resources-cpc3-live-cockfighting-rules__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-resources-cpc3-live-cockfighting-rules__video-wrapper {
    margin-left: auto;
    margin-right: auto;
  }

  .page-resources-cpc3-live-cockfighting-rules__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-cpc3-live-cockfighting-rules__cta-bottom .page-resources-cpc3-live-cockfighting-rules__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-cpc3-live-cockfighting-rules__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-cpc3-live-cockfighting-rules__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-cpc3-live-cockfighting-rules__hero-section {
    height: 400px;
  }
  .page-resources-cpc3-live-cockfighting-rules__hero-title {
    font-size: 1.5em;
  }
  .page-resources-cpc3-live-cockfighting-rules__hero-description {
    font-size: 0.9em;
  }
  .page-resources-cpc3-live-cockfighting-rules__play-button {
    width: 70px;
    height: 70px;
    font-size: 3em;
  }
}