/* style/cockfighting.css */

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

/* Base styles for the page content, assuming body has dark background */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--odin678-text-main); /* Main text color for dark background */
  background-color: var(--odin678-bg-dark);
  line-height: 1.6;
  font-size: 1rem;
}

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--odin678-gold);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--odin678-green-secondary);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  color: var(--odin678-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--odin678-button-gradient);
  color: var(--odin678-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-cockfighting__btn-secondary:hover {
  background: rgba(34, 199, 104, 0.1);
  color: var(--odin678-text-main);
  border-color: var(--odin678-text-main);
}

.page-cockfighting__btn-small {
  padding: 8px 15px;
  font-size: 0.95rem;
  background: var(--odin678-deep-green);
  color: var(--odin678-text-main);
  border: 1px solid var(--odin678-border);
  border-radius: 5px;
}

.page-cockfighting__btn-small:hover {
  background: var(--odin678-green-main);
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

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

/* Cards */
.page-cockfighting__card {
  background-color: var(--odin678-card-bg);
  border: 1px solid var(--odin678-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: var(--odin678-text-main);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__card-title {
  font-size: 1.4rem;
  color: var(--odin678-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-text {
  font-size: 1rem;
  color: var(--odin678-text-secondary);
  line-height: 1.5;
  flex-grow: 1;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles padding-top from header, this is additional */
  background-color: var(--odin678-bg-dark);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--odin678-gold);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--odin678-text-secondary);
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.page-cockfighting__image-text-block {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__image-text-block .page-cockfighting__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--odin678-border);
}

.page-cockfighting__image-text-block .page-cockfighting__text-block {
  flex: 1.5;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  padding: 60px 0;
  background-color: var(--odin678-card-bg);
}

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

/* Rules Section */
.page-cockfighting__rules-section {
  padding: 60px 0;
  background-color: var(--odin678-bg-dark);
}

.page-cockfighting__content-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-cockfighting__text-content {
  flex: 1;
}

.page-cockfighting__list,
.page-cockfighting__list-ordered {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__list li,
.page-cockfighting__list-ordered li {
  background-color: var(--odin678-card-bg);
  border: 1px solid var(--odin678-border);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.05rem;
  color: var(--odin678-text-secondary);
}

.page-cockfighting__list-icon,
.page-cockfighting__list-step {
  color: var(--odin678-gold);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.page-cockfighting__list-ordered li a {
  color: var(--odin678-green-secondary);
  text-decoration: none;
}

.page-cockfighting__list-ordered li a:hover {
  text-decoration: underline;
}

.page-cockfighting__video-wrapper {
  flex: 1;
  min-width: 300px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--odin678-border);
  width: 100%; /* Important for desktop flex container */
  max-width: 100%; /* Important for desktop flex container */
}

.page-cockfighting__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

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

.page-cockfighting__video-caption {
  text-align: center;
  margin-top: 15px;
  font-size: 0.95rem;
  color: var(--odin678-text-secondary);
}

/* Strategies Section */
.page-cockfighting__strategies-section {
  padding: 60px 0;
  background-color: var(--odin678-card-bg);
}

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

.page-cockfighting__strategy-card {
  text-align: left;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 60px 0;
  background-color: var(--odin678-bg-dark);
}

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

.page-cockfighting__advantage-item {
  background-color: var(--odin678-card-bg);
  border: 1px solid var(--odin678-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__advantage-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%; /* Make icons circular if desired */
  border: 2px solid var(--odin678-green-main);
}

.page-cockfighting__advantage-title {
  font-size: 1.3rem;
  color: var(--odin678-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Registration Guide Section */
.page-cockfighting__registration-guide-section {
  padding: 60px 0;
  background-color: var(--odin678-card-bg);
}

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

.page-cockfighting__step-card {
  background-color: var(--odin678-deep-green);
  border: 1px solid var(--odin678-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--odin678-gold);
  color: var(--odin678-bg-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  border: 2px solid var(--odin678-border);
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  color: var(--odin678-text-main);
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
  background-color: var(--odin678-bg-dark);
}

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

.page-cockfighting__promo-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
  padding: 0;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--odin678-border);
}

.page-cockfighting__promo-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-cockfighting__promo-content .page-cockfighting__card-title {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--odin678-green-secondary);
}

.page-cockfighting__promo-content .page-cockfighting__card-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--odin678-card-bg);
}

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

.page-cockfighting__faq-item {
  background-color: var(--odin678-deep-green);
  border: 1px solid var(--odin678-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-cockfighting__faq-question:hover {
  background-color: var(--odin678-green-main);
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--odin678-gold);
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__image-text-block {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting__image-text-block .page-cockfighting__text-block {
    text-align: justify;
  }

  .page-cockfighting__content-flex {
    flex-direction: column;
    align-items: center;
  }

  .page-cockfighting__video-wrapper {
    margin-top: 30px;
    width: 100%;
    max-width: 600px; /* Constrain video width on smaller desktops/tablets */
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 15px;
    line-height: 1.65;
  }

  .page-cockfighting__container {
    padding: 0 15px !important;
  }

  .page-cockfighting__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-top: 30px;
  }

  .page-cockfighting__sub-title {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-cockfighting__text-block {
    font-size: 1rem;
  }

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-cockfighting__main-title {
    font-size: 2rem;
  }

  .page-cockfighting__subtitle {
    font-size: 1rem;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small {
    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;
  }

  /* Image Responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image-text-block .page-cockfighting__content-image,
  .page-cockfighting__advantage-icon,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 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: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
  }

  .page-cockfighting__grid-cards,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__advantage-list,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__image-text-block {
    flex-direction: column;
  }

  .page-cockfighting__content-flex {
    flex-direction: column;
  }

  .page-cockfighting__list li,
  .page-cockfighting__list-ordered li {
    padding: 12px 15px;
    font-size: 1rem;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  .page-cockfighting__advantage-icon {
    width: 80px;
    height: 80px;
  }

  .page-cockfighting__step-number {
    top: -15px;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }

  .page-cockfighting__step-card {
    padding: 20px;
  }

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

  .page-cockfighting__promo-content {
    padding: 20px;
  }

  .page-cockfighting__promo-content .page-cockfighting__card-title {
    font-size: 1.15rem;
  }

  .page-cockfighting__promo-content .page-cockfighting__card-text {
    font-size: 0.9rem;
  }
}