/* style/cockfighting.css */

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

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

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

/* Section Styling */
.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-cockfighting__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--color-glow);
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__sub-title {
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--color-text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-cockfighting__content-area {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  color: var(--color-text-secondary);
}

.page-cockfighting__content-area p {
  margin-bottom: 1em;
  font-size: 16px;
}

.page-cockfighting__content-area strong {
  color: var(--color-text-main);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is decorative */
  overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Use clamp for H1 */
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--color-text-main);
  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;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--color-glow);
  color: var(--color-background);
  transform: translateY(-2px);
}

.page-cockfighting__cta-wrapper {
  margin-top: 40px;
  text-align: center;
}

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

/* Feature List */
.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

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

.page-cockfighting__feature-item h3 {
  color: var(--color-glow);
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-cockfighting__feature-item p {
  color: var(--color-text-secondary);
  font-size: 15px;
}

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

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

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

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

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

/* Step List */
.page-cockfighting__step-list {
  list-style: decimal;
  padding-left: 25px;
  margin: 30px 0;
  color: var(--color-text-secondary);
  text-align: left;
}

.page-cockfighting__step-list li {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}

.page-cockfighting__step-list li strong {
  color: var(--color-text-main);
}

/* Promotion List */
.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  text-align: left;
}

.page-cockfighting__promo-list li {
  background-color: var(--color-card-bg);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 16px;
}

.page-cockfighting__promo-list li::before {
  content: '⚡';
  margin-right: 15px;
  font-size: 20px;
  line-height: 1;
  color: var(--color-glow);
}

.page-cockfighting__promo-list li strong {
  color: var(--color-text-main);
}

/* Support Channels & Security Features */
.page-cockfighting__support-channels,
.page-cockfighting__security-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-cockfighting__support-channels li,
.page-cockfighting__security-features li {
  background-color: var(--color-card-bg);
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 16px;
}

.page-cockfighting__support-channels li::before {
  content: '📞';
  margin-right: 10px;
}

.page-cockfighting__security-features li::before {
  content: '🔒';
  margin-right: 10px;
}

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

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

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

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

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

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

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

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

/* Video Section (if any) - This page does not have a dedicated video section, but if it did, these styles would apply */
/* Example video styling */
.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is decorative */
  background-color: var(--color-background);
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1000px; /* Example max width */
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%; /* Important for desktop as well */
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__video-wrapper video,
.page-cockfighting__video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image-wrapper {
    max-height: 450px;
  }
}

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

  .page-cockfighting__section-title {
    font-size: 32px;
  }

  .page-cockfighting__sub-title {
    font-size: 24px;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-image-wrapper {
    max-height: 300px;
  }

  .page-cockfighting__main-title {
    font-size: 36px;
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to prevent overflow */
  }

  .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__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__game-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card-image {
    height: 180px;
  }

  .page-cockfighting__content-area,
  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile image responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile video responsive */
  .page-cockfighting video,
  .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__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__promo-list li,
  .page-cockfighting__support-channels li,
  .page-cockfighting__security-features li {
    font-size: 15px;
    padding: 12px 15px;
  }

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

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