/* style/cockfighting.css */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF;
}

.page-cockfighting__hero-section {
    background-color: #017439;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.page-cockfighting__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.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: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

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

.page-cockfighting__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #017439;
}

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

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-cockfighting__about-cockfighting .page-cockfighting__content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-cockfighting__about-cockfighting .page-cockfighting__content-text {
    flex: 1;
}

.page-cockfighting__about-cockfighting .page-cockfighting__content-text p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-cockfighting__about-cockfighting .page-cockfighting__content-image {
    flex: 1;
    text-align: center;
}

.page-cockfighting__about-cockfighting .page-cockfighting__content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.page-cockfighting__why-choose {
    background-color: #f9f9f9;
}

.page-cockfighting__feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-cockfighting__feature-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-cockfighting__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__feature-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-cockfighting__image-center {
    text-align: center;
    margin-top: 20px;
}

.page-cockfighting__image-center img {
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.page-cockfighting__how-to-play .page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-cockfighting__step-item {
    background-color: #f0fdf5;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #d0e8d7;
}

.page-cockfighting__step-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-cockfighting__step-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

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

.page-cockfighting__app-image {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 30px auto 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-cockfighting__promotions {
    background-color: #017439;
    color: #FFFFFF;
}

.page-cockfighting__promotions .page-cockfighting__section-title {
    color: #FFFFFF;
}

.page-cockfighting__promotions p {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

.page-cockfighting__faq {
    padding-bottom: 80px;
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: #333333;
}
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;
}
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: #f5f5f5;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

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

    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-cockfighting__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

    .page-cockfighting__about-cockfighting .page-cockfighting__content-text p {
        font-size: 0.95em;
    }

    .page-cockfighting__about-cockfighting .page-cockfighting__content-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__why-choose .page-cockfighting__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .page-cockfighting__feature-item {
        padding: 25px;
    }

    .page-cockfighting__feature-title {
        font-size: 1.3em;
    }

    .page-cockfighting__image-center img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__how-to-play .page-cockfighting__steps-list {
        gap: 20px;
    }

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

    .page-cockfighting__step-title {
        font-size: 1.2em;
    }

    .page-cockfighting__app-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-top: 20px;
    }

    .page-cockfighting__promotions p {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-cockfighting__faq {
        padding-bottom: 40px;
    }

    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 15px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}