/* style/cockfighting.css */

/* Custom Colors from palette */
:root {
  --page-cockfighting-bg: #08160F;
  --page-cockfighting-card-bg: #11271B;
  --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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--page-cockfighting-deep-green);
  overflow: hidden;
}

.page-cockfighting__video-container {
  width: 100%; /* Ensure video container fills width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-top: 30px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.6);
}

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

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

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

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

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

.page-cockfighting__container--reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.page-cockfighting__container--reverse > div {
  direction: ltr;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--page-cockfighting-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(87, 227, 141, 0.4);
}

.page-cockfighting__sub-title {
  font-size: 1.8rem;
  color: var(--page-cockfighting-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.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__cta-button {
  display: inline-block;
  background: var(--page-cockfighting-btn-gradient);
  color: var(--page-cockfighting-text-main);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--page-cockfighting-glow);
}

.page-cockfighting__cta-button--small {
  padding: 10px 20px;
  font-size: 1rem;
  margin-top: 20px;
}

.page-cockfighting__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3rem;
  margin-top: 30px;
}

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

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

.page-cockfighting__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--page-cockfighting-glow);
  font-weight: bold;
  font-size: 1.2em;
}

.page-cockfighting__list--bet-types .page-cockfighting__list-item::before {
  content: '●';
  font-size: 1em;
}

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

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

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

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

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 10px;
}

.page-cockfighting__card-text {
  font-size: 0.95rem;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__step-number {
  background-color: var(--page-cockfighting-glow);
  color: var(--page-cockfighting-deep-green);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-right: 20px;
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 5px;
}

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

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

.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;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  cursor: pointer;
  background-color: rgba(17, 168, 78, 0.1);
  border-bottom: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: none;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.2);
}

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

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting__container--grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__container--reverse {
    direction: ltr;
  }
  .page-cockfighting__container--reverse > div {
    direction: ltr;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }
  .page-cockfighting__cta-button--large {
    font-size: 1.1rem;
    padding: 15px 30px;
  }
  .page-cockfighting__grid-2-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-cockfighting__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: 1.5rem;
  }
  .page-cockfighting__paragraph {
    font-size: 0.95rem;
  }
  .page-cockfighting__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__cta-button,
  .page-cockfighting__cta-button--small,
  .page-cockfighting__cta-button--large {
    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;
    font-size: 1rem;
  }
  .page-cockfighting__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }
  .page-cockfighting__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }
}