/* style/cockfighting.css */

/* Custom Colors */
:root {
  --page-cockfighting-primary: #11A84E;
  --page-cockfighting-secondary: #22C768;
  --page-cockfighting-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-background: #08160F;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-border: #2E7A4E;
  --page-cockfighting-glow: #57E38D;
  --page-cockfighting-gold: #F2C14E;
  --page-cockfighting-divider: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--page-cockfighting-text-main); /* Default text color for dark background */
  background-color: var(--page-cockfighting-background); /* Overall page background */
  line-height: 1.6;
}

/* General Section Styling */
.page-cockfighting__hero-section,
.page-cockfighting__video-section,
.page-cockfighting__content-section,
.page-cockfighting__guide-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__responsible-gambling-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-bottom-section {
  padding: 60px 0;
  position: relative;
}

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: -200px auto 0 auto; /* Pull content up over the image slightly */
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text on image */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--page-cockfighting-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 1.1rem;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting__video-section {
  padding-top: 10px;
  text-align: center;
}

.page-cockfighting__section-header {
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__section-description {
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  transform: scale(1.02);
  box-shadow: 0 0 20px var(--page-cockfighting-glow);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.page-cockfighting__video-overlay-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 12px 30px;
  background: var(--page-cockfighting-button-gradient);
  color: var(--page-cockfighting-text-main);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video-overlay-button:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cockfighting__text-block {
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
}

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

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

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--page-cockfighting-glow);
}

.page-cockfighting__feature-icon,
.page-cockfighting__step-icon,
.page-cockfighting__promotion-image,
.page-cockfighting__responsible-gambling-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__promotion-title {
  font-size: 1.4rem;
  color: var(--page-cockfighting-gold);
  margin-bottom: 10px;
}

.page-cockfighting__feature-description,
.page-cockfighting__step-description,
.page-cockfighting__promotion-description {
  font-size: 0.95rem;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__guide-section {
  background-color: var(--page-cockfighting-background);
}

.page-cockfighting__guide-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__guide-column {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__guide-subtitle {
  font-size: 1.6rem;
  color: var(--page-cockfighting-gold);
  margin-bottom: 20px;
}

.page-cockfighting__list {
  list-style: disc;
  margin-left: 25px;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 20px;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-cockfighting__guide-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__how-to-play-section {
  background-color: #0F2019; /* Slightly lighter dark background for contrast */
}

.page-cockfighting__text-dark {
  color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__promotions-section {
  background-color: var(--page-cockfighting-background);
}

.page-cockfighting__promotion-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
}

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

.page-cockfighting__cta-buttons--center {
  justify-content: center;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: var(--page-cockfighting-text-main);
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 10px var(--page-cockfighting-glow);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-primary);
  color: var(--page-cockfighting-text-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.page-cockfighting__btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
}

.page-cockfighting__responsible-gambling-section {
  background-color: #0F2019;
}

.page-cockfighting__responsible-gambling-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__responsible-gambling-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__responsible-gambling-content .page-cockfighting__list {
  flex: 1;
  min-width: 300px;
  list-style: square;
  margin-left: 25px;
}

.page-cockfighting__faq-section {
  background-color: var(--page-cockfighting-background);
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-cockfighting__faq-item[open] {
  box-shadow: 0 0 15px var(--page-cockfighting-glow);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--page-cockfighting-text-main);
  font-weight: bold;
  position: relative;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

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

.page-cockfighting__faq-question::marker {
  display: none;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--page-cockfighting-gold);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 25px 25px;
  font-size: 0.95rem;
  color: var(--page-cockfighting-text-secondary);
  border-top: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

.page-cockfighting__cta-bottom-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-cockfighting__cta-content {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -150px;
  }
  .page-cockfighting__feature-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section,
  .page-cockfighting__video-section,
  .page-cockfighting__content-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__responsible-gambling-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section {
    padding: 40px 0;
  }

  .page-cockfighting__hero-content {
    margin-top: -100px;
    padding: 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-cockfighting__description {
    font-size: 1rem;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .page-cockfighting__section-header {
    margin-bottom: 30px;
  }

  .page-cockfighting__video-container,
  .page-cockfighting__content-area {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__video,
  .page-cockfighting__hero-image,
  .page-cockfighting__feature-icon,
  .page-cockfighting__step-icon,
  .page-cockfighting__promotion-image,
  .page-cockfighting__responsible-gambling-image,
  .page-cockfighting__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__guide-columns {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__responsible-gambling-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__responsible-gambling-image {
    max-width: 100%;
  }

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

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

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-cockfighting__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  
  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    margin-top: -80px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .page-cockfighting__btn-large {
    font-size: 1rem;
    padding: 12px 25px;
  }
}