/* style/cockfighting.css */

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

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

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

.page-cockfighting__container--flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-cockfighting__container--center-text {
  text-align: center;
}

.page-cockfighting__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-cockfighting__section:last-of-type {
  border-bottom: none;
}

.page-cockfighting__dark-bg {
  background-color: var(--card-bg);
}

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

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: 1px;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is decorative top padding */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-cockfighting__hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 0 15px var(--glow-color);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 25px var(--glow-color);
}

.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(--background-color);
}

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

.page-cockfighting__text-block p {
  margin-bottom: 15px;
}

.page-cockfighting__text-block h3 {
  color: var(--text-main);
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
  object-fit: cover;
}

.page-cockfighting__image-content--center {
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.page-cockfighting__image-content--app {
  max-width: 600px;
  margin-top: 0;
  margin-bottom: 0;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-cockfighting__list-item {
  background-color: var(--deep-green);
  border-left: 5px solid var(--gold-color);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: var(--text-main);
  font-size: 17px;
}

.page-cockfighting__list-item h3 {
  color: var(--gold-color);
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 5px;
}

.page-cockfighting__list-item p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.page-cockfighting__btn-text {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.page-cockfighting__btn-text:hover {
  color: var(--glow-color);
}

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

.page-cockfighting__guide-step {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-title {
  color: var(--gold-color);
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-cockfighting__guide-step p {
  color: var(--text-secondary);
  font-size: 16px;
}

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

.page-cockfighting__benefit-card {
  background-color: var(--deep-green);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.page-cockfighting__benefit-card p {
  color: var(--text-secondary);
  font-size: 16px;
}

.page-cockfighting__app-content {
  flex: 1;
  padding-right: 20px;
}

.page-cockfighting__app-content .page-cockfighting__section-title {
  text-align: left;
}

.page-cockfighting__app-content p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 20px;
}

.page-cockfighting__app-content .page-cockfighting__list {
  margin-left: 20px;
}

.page-cockfighting__app-content .page-cockfighting__list-item {
  border-left: 3px solid var(--primary-color);
  background: none;
  padding: 8px 0;
  margin-bottom: 5px;
  color: var(--text-secondary);
  font-size: 16px;
}

.page-cockfighting__app-content .page-cockfighting__list-item::before {
  content: '✔';
  color: var(--glow-color);
  margin-right: 10px;
}

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

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

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--text-main);
  font-weight: bold;
  font-size: 18px;
  outline: none;
  user-select: none;
}

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

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

.page-cockfighting__faq-question {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.page-cockfighting__faq-qtext {
  color: var(--gold-color);
}

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

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

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

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

.page-cockfighting__description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-cockfighting__container--flex {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting__app-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .page-cockfighting__app-content .page-cockfighting__section-title {
    text-align: center;
  }

  .page-cockfighting__app-content .page-cockfighting__list {
    margin-left: 0;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

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

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 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;
  }

  .page-cockfighting__text-block {
    font-size: 16px;
  }

  .page-cockfighting__list-item {
    font-size: 16px;
    padding: 12px 15px;
  }

  .page-cockfighting__list-item h3 {
    font-size: 18px;
  }

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

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

  .page-cockfighting__faq-item summary {
    font-size: 16px;
    padding: 15px;
  }

  .page-cockfighting__faq-qtext {
    padding-right: 10px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 20px;
  }

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

  /* Mobile specific image and video responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting video {
    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__hero-image-wrapper,
  .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; /* Ensure no overflow */
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  
  .page-cockfighting__image-content--app {
    max-width: 100% !important;
  }

  /* Content area images - enforce min size if not already large */
  .page-cockfighting__content-area img {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}