/* style/cockfighting.css */

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

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

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

.page-cockfighting__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

.page-cockfighting__text-block strong {
  color: var(--color-text-main);
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.page-cockfighting__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff; /* White text for primary button for contrast */
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

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

.page-cockfighting__btn-center {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 300px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small padding, body handles header-offset */
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  text-align: center;
  padding: 40px 20px;
  background: var(--color-background);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-cockfighting__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 60px 0;
  background-color: var(--color-background);
}

/* History & Culture Section */
.page-cockfighting__history-culture-section {
  padding: 60px 0;
  background-color: var(--color-card-bg);
}

.page-cockfighting__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.page-cockfighting__text-content {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  padding: 60px 0;
  background-color: var(--color-background);
}

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

.page-cockfighting__game-type-card {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--color-border);
}

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

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

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

/* How To Play Section */
.page-cockfighting__how-to-play-section {
  padding: 60px 0;
  background-color: var(--color-card-bg);
}

.page-cockfighting__step-by-step-guide {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 40px;
}

.page-cockfighting__guide-item {
  background-color: var(--color-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid var(--color-border);
  text-align: center;
}

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

.page-cockfighting__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  color: var(--color-text-secondary);
}

.page-cockfighting__guide-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-cockfighting__guide-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 60px 0;
}

.page-cockfighting__dark-section {
  background-color: var(--color-deep-green);
  color: #ffffff;
}

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

.page-cockfighting__advantage-card {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
  border: 1px solid var(--color-border);
}

.page-cockfighting__advantage-card .page-cockfighting__card-title {
  color: var(--color-gold);
}

.page-cockfighting__advantage-card .page-cockfighting__card-description {
  color: var(--color-text-secondary);
}

/* Tips & Strategy Section */
.page-cockfighting__tips-strategy-section {
  padding: 60px 0;
  background-color: var(--color-background);
}

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

.page-cockfighting__tip-card {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
  border: 1px solid var(--color-border);
}

.page-cockfighting__tip-card .page-cockfighting__card-title {
  color: var(--color-gold);
}

.page-cockfighting__tip-card .page-cockfighting__card-description {
  color: var(--color-text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
}

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

.page-cockfighting__faq-item {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.page-cockfighting__faq-item summary {
  list-style: none;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  color: var(--color-text-main);
  background-color: var(--color-deep-green);
  border-bottom: 1px solid var(--color-divider);
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: var(--color-gold);
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  background-color: var(--color-card-bg);
  color: var(--color-text-secondary);
  font-size: 15px;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  background-color: var(--color-background);
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 30px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-cockfighting__subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
  }
  .page-cockfighting__section-title {
    font-size: clamp(24px, 3.5vw, 36px);
  }
  .page-cockfighting__content-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }
  .page-cockfighting__hero-content {
    padding: 20px 10px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(26px, 6vw, 36px);
  }
  .page-cockfighting__subtitle {
    font-size: clamp(14px, 3vw, 16px);
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    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;
  }
  .page-cockfighting__btn-center {
    max-width: 90% !important;
  }
  .page-cockfighting__text-block {
    font-size: 15px;
  }
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__history-culture-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__tips-strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__game-type-card,
  .page-cockfighting__guide-item,
  .page-cockfighting__advantage-card,
  .page-cockfighting__tip-card,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting img,
  .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
  }
  .page-cockfighting__faq-item summary {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(24px, 7vw, 30px);
  }
  .page-cockfighting__subtitle {
    font-size: clamp(14px, 3.5vw, 15px);
  }
  .page-cockfighting__section-title {
    font-size: clamp(22px, 5vw, 28px);
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
  }
}