/* style/cockfighting.css */

/* Custom Colors */
:root {
  --page-cockfighting-primary-color: #11A84E;
  --page-cockfighting-secondary-color: #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);
  background-color: var(--page-cockfighting-background);
  line-height: 1.6;
}

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

.page-cockfighting__section-title,
.page-cockfighting__sub-title,
.page-cockfighting__card-title,
.page-cockfighting__step-title,
.page-cockfighting__advantage-title,
.page-cockfighting__promotion-title,
.page-cockfighting__tip-title {
  color: var(--page-cockfighting-text-main);
  margin-bottom: 20px;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  padding-top: 40px;
  padding-bottom: 20px;
}

.page-cockfighting__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--page-cockfighting-text-main);
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
  min-height: 600px;
}

.page-cockfighting__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 1; /* Image first */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 70vh;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
  order: 2; /* Text second */
  margin-top: 40px; /* Spacing between image and text */
}

.page-cockfighting__hero-description {
  font-size: 18px;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__center-buttons {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__intro-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__betting-process-section,
.page-cockfighting__advantages-section,
.page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  background-color: var(--page-cockfighting-background);
}

.page-cockfighting__dark-bg {
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-background);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__text-block {
  font-size: 17px;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 25px;
  text-align: justify;
}

.page-cockfighting__list,
.page-cockfighting__ordered-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-cockfighting__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-cockfighting-primary-color);
  font-weight: bold;
}

.page-cockfighting__ordered-list .page-cockfighting__list-item {
  padding-left: 35px;
}

.page-cockfighting__ordered-list .page-cockfighting__list-item::before {
  content: counter(list-item) ".";
  counter-increment: list-item;
  position: absolute;
  left: 0;
  color: var(--page-cockfighting-gold);
  font-weight: bold;
}

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

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

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--page-cockfighting-text-main);
  margin: 0 15px 15px 15px;
}

.page-cockfighting__card-text {
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
  padding: 0 15px;
  text-align: justify;
}

.page-cockfighting__dark-bg-card {
  background-color: var(--page-cockfighting-card-bg);
  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__step-card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  border: 1px solid var(--page-cockfighting-border);
}

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

.page-cockfighting__step-text {
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__image-wrapper,
.page-cockfighting__content-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

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

.page-cockfighting__advantage-item {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__advantage-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 10px;
}

.page-cockfighting__advantage-text {
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__promotion-card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__promotion-card:hover {
  transform: translateY(-5px);
}

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

.page-cockfighting__tip-card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__tip-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--page-cockfighting-border);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: var(--page-cockfighting-text-main);
  -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;
  text-align: left;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.6;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    min-height: 500px;
    padding: 10px 0 40px 0;
  }

  .page-cockfighting__hero-image {
    max-height: 60vh;
  }

  .page-cockfighting__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }

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

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

  .page-cockfighting__sub-title {
    font-size: clamp(20px, 2.5vw, 28px);
  }

  .page-cockfighting__image-content-flex {
    flex-direction: column;
  }

  .page-cockfighting__image-wrapper {
    order: 1;
  }

  .page-cockfighting__content-wrapper {
    order: 2;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: unset;
    padding: 10px 0 30px 0;
  }

  .page-cockfighting__hero-image {
    max-height: 50vh;
  }

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

  .page-cockfighting__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title {
    font-size: clamp(24px, 6vw, 32px);
    padding-top: 30px;
    padding-bottom: 15px;
  }

  .page-cockfighting__sub-title {
    font-size: clamp(18px, 5vw, 24px);
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-cockfighting__text-block {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-cockfighting__list-item,
  .page-cockfighting__ordered-list .page-cockfighting__list-item {
    font-size: 15px;
    margin-bottom: 8px;
    padding-left: 25px;
  }

  .page-cockfighting__list-item::before,
  .page-cockfighting__ordered-list .page-cockfighting__list-item::before {
    font-size: 15px;
  }

  .page-cockfighting__grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__advantages-grid,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__content-image,
  .page-cockfighting__promotion-card .page-cockfighting__card-image,
  .page-cockfighting__tip-card .page-cockfighting__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__betting-process-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__advantage-title,
  .page-cockfighting__promotion-card .page-cockfighting__card-title,
  .page-cockfighting__tip-card .page-cockfighting__card-title {
    font-size: 20px;
  }

  .page-cockfighting__card-text,
  .page-cockfighting__advantage-text,
  .page-cockfighting__step-text,
  .page-cockfighting__promotion-card .page-cockfighting__card-text,
  .page-cockfighting__tip-card .page-cockfighting__card-text {
    font-size: 15px;
  }

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

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 15px;
  }
}