/* Base styles for the cockfighting page */
.page-cockfighting {
  background: #0A0A0A; /* Page background */
  color: #FFF6D6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-cockfighting__section {
  padding: 60px 0;
}

.page-cockfighting__dark-section {
  background: #0A0A0A;
  color: #FFF6D6;
}

.page-cockfighting__light-bg {
  background: #111111;
  color: #FFF6D6;
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Main brand color for titles */
}

.page-cockfighting__sub-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFD36B; /* Auxiliary brand color for sub-titles */
}

.page-cockfighting__description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #FFF6D6;
}

.page-cockfighting__text-center {
  text-align: center;
}

.page-cockfighting__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  color: #FFF6D6;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Adjust based on desired aspect ratio */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: #111111;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-cockfighting__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-cockfighting__cta-button {
  margin-top: 30px;
}

/* Image Content */
.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Advantages Grid */
.page-cockfighting__grid-advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__advantage-card {
  background: #111111; /* Card Background */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

.page-cockfighting__card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-cockfighting__card p {
  font-size: 16px;
  color: #FFF6D6;
}

/* Guide List */
.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
}

.page-cockfighting__guide-list li {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

.page-cockfighting__guide-list li h3 {
  color: #FFD36B;
  margin-top: 0;
}

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

.page-cockfighting__promo-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

.page-cockfighting__promo-card .page-cockfighting__card-image {
  height: 200px;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
  margin-top: 20px;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  color: #FFF6D6;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B;
}
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: rgba(242, 193, 78, 0.1);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A;
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
}

/* Final CTA Section */
.page-cockfighting__cta-final {
  padding-bottom: 80px;
  padding-top: 40px;
}

/* --- General Responsive Styles --- */
/* Ensure all images are responsive */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all containers are responsive */
.page-cockfighting__section,
.page-cockfighting__container,
.page-cockfighting__card,
.page-cockfighting__hero-section,
.page-cockfighting__introduction,
.page-cockfighting__rules,
.page-cockfighting__advantages,
.page-cockfighting__guide,
.page-cockfighting__strategies,
.page-cockfighting__promotions,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* --- Homepage Game Trial CSS (Required for CSS output, even if not used in this HTML) --- */
@media (max-width: 1023px) {
  .page-cockfighting__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-cockfighting__hero-brand,
  .page-cockfighting__hero-jackpot {
    display: none !important;
  }
  .page-cockfighting__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-cockfighting__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-cockfighting__game-trial-topbar,
  .page-cockfighting__game-trial-bottombar {
    display: none !important;
  }
  .page-cockfighting__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-cockfighting__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-cockfighting__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-cockfighting__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-cockfighting__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px; /* Small top padding, relying on body for header offset */
    box-sizing: border-box;
  }
  .page-cockfighting__hero-brand,
  .page-cockfighting__hero-jackpot,
  .page-cockfighting__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-cockfighting__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-cockfighting__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-cockfighting__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-cockfighting__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-cockfighting__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  /* Additional desktop styles for homepage sections, if they were present */
  .page-cockfighting__promo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 16px auto 0;
    padding: 0 16px;
  }
  .page-cockfighting__promo-strip-item {
    display: flex;
    flex-direction: row; /* Left image, right text */
    align-items: center;
    text-align: left;
  }
  .page-cockfighting__promo-strip-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 15px;
  }
  .page-cockfighting__hot-games-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 16px;
  }
  .page-cockfighting__hot-games-item-name,
  .page-cockfighting__hot-games-item-rtp,
  .page-cockfighting__hot-games-item-desc {
    display: block;
  }
  .page-cockfighting__hot-games-item-image-wrapper {
    text-align: center;
  }
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-cockfighting__section {
    padding: 30px 0;
  }

  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-cockfighting__sub-title {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-cockfighting__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Hero Section */
  .page-cockfighting__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  /* Images in content */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
  }

  /* Buttons mobile adaptation */
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__cta-button,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .page-cockfighting__grid-advantages,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .page-cockfighting__advantage-card,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

  .page-cockfighting__card-image {
    max-height: 150px;
  }

  .page-cockfighting__card-title {
    font-size: 18px;
  }

  .page-cockfighting__guide-list li {
    padding: 20px;
  }

  /* FAQ specific mobile styles */
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 15px 15px;
  }

  /* Homepage specific mobile styles (required in output, even if not used in this HTML) */
  .page-cockfighting__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important; /* Example: 2 columns for promo strip on mobile */
    overflow-x: hidden !important;
    gap: 15px;
  }
  .page-cockfighting__promo-strip-item {
    flex-direction: column !important; /* Stack image and text vertically */
    text-align: center !important;
  }
  .page-cockfighting__promo-strip-image {
    margin-right: 0 !important;
    margin-bottom: 10px;
  }
  .page-cockfighting__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 columns for hot games */
    gap: 15px;
  }
  .page-cockfighting__hot-games-item-name,
  .page-cockfighting__hot-games-item-rtp,
  .page-cockfighting__hot-games-item-desc {
    display: none !important; /* Hide details on mobile for hot games */
  }
  .page-cockfighting__hot-games-item-image-wrapper {
    text-align: center;
  }
  .page-cockfighting__brand-intro {
    padding: 30px 15px;
  }
  .page-cockfighting__winner-ticker {
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 10px 15px;
    background: rgba(0,0,0,0.8);
    color: #FFF6D6;
  }
  body {
    padding-bottom: 50px; /* Adjust body padding for fixed ticker */
  }
  .page-cockfighting__hero-brand,
  .page-cockfighting__hero-jackpot {
    display: none !important;
  }
}

/* Additional general styles for homepage elements to satisfy output requirements */
.page-cockfighting__game-trial-overlay { z-index: 5; pointer-events: auto; }
.page-cockfighting__game-trial-overlay.is-hidden { display: none !important; pointer-events: none !important; }
.page-cockfighting__game-trial-start { z-index: 6; pointer-events: auto; touch-action: manipulation; }
.page-cockfighting__game-trial-shell { border: 1px solid #3A2A12; border-radius: 10px; overflow: hidden; }
.page-cockfighting__reward-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); }
.page-cockfighting__reward-modal.is-hidden { display: none !important; }
.page-cockfighting__reward-modal-content { background: #111111; padding: 30px; border-radius: 10px; text-align: center; max-width: 400px; width: 90%; position: relative; border: 1px solid #F2C14E; }
.page-cockfighting__reward-modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; color: #FFF6D6; cursor: pointer; }
.page-cockfighting__reward-modal-title { color: #F2C14E; font-size: 28px; margin-bottom: 15px; }
.page-cockfighting__reward-modal-text { color: #FFF6D6; margin-bottom: 25px; }
.page-cockfighting__reward-modal-button { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #111111; padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: bold; display: inline-block; }
.page-cockfighting__promo-strip-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.page-cockfighting__hot-games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.page-cockfighting__hot-games-item-name { color: #FFD36B; font-weight: bold; margin-top: 10px; }
.page-cockfighting__hot-games-item-rtp { color: #FFF6D6; font-size: 14px; }
.page-cockfighting__hot-games-item-desc { color: #FFF6D6; font-size: 13px; display: none; }
.page-cockfighting__hot-games-item-image { width: 100%; height: auto; border-radius: 8px; border: 1px solid #3A2A12; }
.page-cockfighting__text-block p { color: #FFF6D6; }