/* 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-color: #0A4B2C;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Main text color for dark background */
  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__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

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

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold-color);
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__text-block {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__text-block--tip {
  font-style: italic;
  color: var(--glow-color);
  margin-top: 30px;
  font-size: 16px;
}

.page-cockfighting__cta-button,
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-button:hover,
.page-cockfighting__btn-primary:hover,
.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-cockfighting__btn-center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

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

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

.page-cockfighting__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.page-cockfighting__card-title {
  font-size: 24px;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

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

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

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

/* How-to Steps Grid */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  padding: 25px;
  text-align: center;
  justify-content: flex-start;
}

.page-cockfighting__step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

/* Bet Types Grid */
.page-cockfighting__bet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__bet-card {
  padding: 25px;
  justify-content: flex-start;
}

/* Strategy List */
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-cockfighting__strategy-list li {
  background-color: var(--card-bg);
  border: 1px solid var(--divider-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__strategy-list li strong {
  color: var(--gold-color);
  margin-right: 10px;
  flex-shrink: 0;
}

.page-cockfighting__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 40px auto;
  display: block;
  border: 2px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Features Grid */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-card {
  padding: 25px;
  text-align: center;
  justify-content: flex-start;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
  font-weight: bold;
  font-size: 18px;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: var(--deep-green-color);
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  background: var(--background-color);
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: var(--text-secondary);
}

/* Footer */
.page-cockfighting__footer {
  background-color: var(--deep-green-color);
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid var(--divider-color);
}

.page-cockfighting__copyright {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title,
  .page-cockfighting__main-title {
    margin-bottom: 30px;
  }
  .page-cockfighting__hero-description {
    font-size: 18px;
  }
  .page-cockfighting__text-block {
    font-size: 17px;
  }
  .page-cockfighting__card-title {
    font-size: 22px;
  }
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page-cockfighting__hero-image img {
    border-radius: 8px;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 18px 20px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 17px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 26px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 20px 18px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(28px, 8vw, 48px);
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-image img {
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  }
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 10px 25px;
    font-size: 16px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section {
    padding: 30px 0;
  }
  .page-cockfighting__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 25px;
  }
  .page-cockfighting__text-block {
    font-size: 16px;
    padding: 0 10px;
  }
  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__step-card,
  .page-cockfighting__bet-card,
  .page-cockfighting__feature-card {
    padding: 20px;
  }
  .page-cockfighting__card-title {
    font-size: 20px;
  }
  .page-cockfighting__strategy-list {
    margin: 30px auto;
  }
  .page-cockfighting__strategy-list li {
    padding: 15px;
    font-size: 15px;
  }
  .page-cockfighting__content-image {
    margin-bottom: 30px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__faq-list {
    margin-top: 30px;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px 18px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 18px 15px;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__footer {
    padding: 20px 0;
  }
  .page-cockfighting__copyright {
    font-size: 14px;
  }
}