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

.page-cockfighting {
  background-color: var(--gobet-bg-dark);
  color: var(--gobet-text-main);
  font-family: 'Arial', sans-serif;
  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;
}

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

.page-cockfighting__section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--gobet-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--gobet-text-secondary);
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 40px;
}

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

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

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

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  color: var(--gobet-text-secondary);
  margin-bottom: 40px;
}

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

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

.page-cockfighting__btn-primary {
  background: var(--gobet-btn-gradient);
  color: var(--gobet-text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--gobet-gold);
  color: var(--gobet-bg-dark);
  transform: translateY(-3px);
}

.page-cockfighting__introduction-section .page-cockfighting__image-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-cockfighting__introduction-section .page-cockfighting__content-image {
  flex: 1;
  min-width: 400px;
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__feature-list {
  flex: 1;
  min-width: 300px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--gobet-text-secondary);
  font-size: 1.1rem;
}

.page-cockfighting__feature-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
}

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

.page-cockfighting__card {
  background-color: var(--gobet-card-bg);
  border: 1px solid var(--gobet-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: var(--gobet-text-main);
}

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

.page-cockfighting__card-text {
  font-size: 1rem;
  color: var(--gobet-text-secondary);
}

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

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

.page-cockfighting__type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__type-title {
  font-size: 1.6rem;
  color: var(--gobet-gold);
  margin: 20px 0 10px;
  font-weight: bold;
}

.page-cockfighting__type-description {
  font-size: 1rem;
  color: var(--gobet-text-secondary);
  padding: 0 20px 20px;
}

.page-cockfighting__how-to-play {
  background-color: var(--gobet-deep-green);
}

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

.page-cockfighting__step-card {
  background-color: var(--gobet-card-bg);
  border: 1px solid var(--gobet-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: var(--gobet-text-main);
}

.page-cockfighting__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gobet-btn-gradient);
  color: var(--gobet-text-main);
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  color: var(--gobet-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-cockfighting__step-text a {
  color: var(--gobet-secondary);
  text-decoration: underline;
}

.page-cockfighting__promotions-section .page-cockfighting__promotions-banner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 40px;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  color: var(--gobet-gold);
  font-size: 1.2rem;
  font-weight: bold;
  list-style: none;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gobet-secondary);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  color: var(--gobet-text-secondary);
  font-size: 1rem;
}

.page-cockfighting__faq-answer p {
  margin: 0;
}

.page-cockfighting__cta-final {
  padding-bottom: 100px; /* Extra space for floating buttons */
}

/* Floating CTA Buttons */
.page-cockfighting__floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.page-cockfighting__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  color: var(--gobet-text-main);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.page-cockfighting__floating-btn:hover {
  transform: translateY(-5px);
}

.page-cockfighting__floating-register {
  background: var(--gobet-btn-gradient);
}

.page-cockfighting__floating-login {
  background-color: var(--gobet-gold);
  color: var(--gobet-bg-dark);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__introduction-section .page-cockfighting__image-content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-cockfighting__introduction-section .page-cockfighting__content-image {
    min-width: unset;
    width: 100%;
  }
  .page-cockfighting__feature-list {
    min-width: unset;
    width: 100%;
    padding-left: 20px;
  }
}

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

  .page-cockfighting__section-title {
    margin-bottom: 30px;
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile responsive images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__promotions-banner,
  .page-cockfighting__introduction-section .page-cockfighting__image-content-wrapper,
  .page-cockfighting__type-card,
  .page-cockfighting__step-card,
  .page-cockfighting__card,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-cockfighting__type-image {
    height: 200px;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1.1rem;
    padding: 15px;
  }

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

  .page-cockfighting__floating-cta {
    bottom: 10px;
    right: 10px;
    gap: 10px;
  }

  .page-cockfighting__floating-btn {
    width: 100px;
    height: 45px;
    font-size: 0.9rem;
  }
}