:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --color-background: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

.page-cockfighting {
    background-color: var(--color-background); /* #0D0E12 */
    color: var(--text-main); /* #FFF3E6 */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

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

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

.page-cockfighting__section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-main); /* #FFF3E6 */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-cockfighting__section-title--light {
    color: #ffffff;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding if body handles header offset */
    background-color: var(--color-background); /* #0D0E12 */
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 810px; /* Limit height of the image */
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the area, cropping if necessary */
    display: block;
}

.page-cockfighting__hero-content {
    text-align: center;
    padding: 60px 15px;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-main); /* #FFF3E6 */
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-content .page-cockfighting__description {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 40px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%); /* #FFA53A to #D96800 */
    color: var(--text-main); /* #FFF3E6 */
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, var(--glow-color) 0%, var(--primary-color) 100%); /* #FFB04D to #FF8C1A */
    box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color); /* #FFA53A */
    color: var(--secondary-color); /* #FFA53A */
}

.page-cockfighting__btn-secondary:hover {
    background: var(--secondary-color); /* #FFA53A */
    color: var(--text-main); /* #FFF3E6 */
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.3);
}

/* About Section & Gameplay Section */
.page-cockfighting__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-cockfighting__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-cockfighting__text-block {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink */
}

.page-cockfighting__text-block p {
    margin-bottom: 20px;
    font-size: 17px;
    color: #e0e0e0;
}

.page-cockfighting__text-block strong {
    color: var(--secondary-color); /* #FFA53A */
}

.page-cockfighting__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0; /* Allow flex item to shrink */
}

.page-cockfighting__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-cockfighting__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-cockfighting__list li {
    margin-bottom: 10px;
    font-size: 17px;
}

.page-cockfighting__list li strong {
    color: var(--secondary-color); /* #FFA53A */
}

/* Features Section & Strategy Section */
.page-cockfighting__dark-section {
    background-color: var(--card-bg); /* #17191F */
    padding: 60px 0;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__strategy-card {
    background-color: var(--card-bg); /* #17191F */
    border: 1px solid var(--border-color); /* #A84F0C */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
}

.page-cockfighting__card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main); /* #FFF3E6 */
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-cockfighting__feature-card p,
.page-cockfighting__strategy-card p {
    font-size: 16px;
    color: #c0c0c0;
}

/* CTA Banner */
.page-cockfighting__cta-banner {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* #FF8C1A to #FFA53A */
    padding: 80px 15px;
    text-align: center;
    border-radius: 10px;
    margin: 60px auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.page-cockfighting__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-cockfighting__cta-content .page-cockfighting__description {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 40px;
}

.page-cockfighting__btn-primary--large {
    padding: 18px 40px;
    font-size: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    background-color: var(--color-background); /* #0D0E12 */
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color); /* #A84F0C */
  overflow: hidden;
  background: var(--card-bg); /* #17191F */
}
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: rgba(255, 140, 26, 0.1); /* Lighter hover for dark background */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main); /* #FFF3E6 */
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color); /* #FFA53A */
  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: rgba(23, 25, 31, 0.8); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #c0c0c0;
  font-size: 16px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 32px;
    }
    .page-cockfighting__hero-content {
        padding: 40px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__description {
        font-size: 17px;
    }
    .page-cockfighting__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-cockfighting__content-wrapper--reverse {
        flex-direction: column; /* Stays column on smaller screens */
    }
    .page-cockfighting__feature-grid,
    .page-cockfighting__strategy-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__strategy-card {
        padding: 25px;
    }
    .page-cockfighting__card-title {
        font-size: 22px;
    }
    .page-cockfighting__cta-banner {
        padding: 60px 15px;
        margin: 40px auto;
    }
    .page-cockfighting__btn-primary--large {
        font-size: 18px;
        padding: 15px 30px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px 18px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 17px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 18px 18px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 15px;
    }
    .page-cockfighting__section-spacing {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-cockfighting__description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px;
    }
    .page-cockfighting__hero-image {
        max-height: 400px;
        object-fit: cover !important;
    }
    .page-cockfighting__hero-content {
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-content .page-cockfighting__description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        font-size: 16px;
    }
    .page-cockfighting__content-wrapper {
        gap: 20px;
    }
    .page-cockfighting__text-block p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .page-cockfighting__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__list {
        padding-left: 20px;
        font-size: 16px;
    }
    .page-cockfighting__list li {
        margin-bottom: 8px;
    }
    .page-cockfighting__feature-grid,
    .page-cockfighting__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__strategy-card {
        padding: 20px;
    }
    .page-cockfighting__feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    .page-cockfighting__card-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .page-cockfighting__feature-card p,
    .page-cockfighting__strategy-card p {
        font-size: 15px;
    }
    .page-cockfighting__cta-banner {
        padding: 40px 15px;
        margin: 30px auto;
    }
    .page-cockfighting__cta-content .page-cockfighting__description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-cockfighting__btn-primary--large {
        font-size: 18px;
        padding: 15px 30px;
    }
    details.page-cockfighting__faq-item {
        margin-bottom: 10px;
    }
    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: 22px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }
    /* Global image and button responsive styles */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Ensure vertical stacking for buttons */
    }
}