.page-cockfighting {
    font-family: Arial, sans-serif;
    color: #FFF1E8; /* Text Main */
    background-color: #140C0C; /* Background */
    line-height: 1.6;
}

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

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

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #F3C54D; /* Gold */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__intro-text {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF1E8;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    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: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #FFF1E8;
    border: none;
}

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

.page-cockfighting__btn-secondary {
    background: #2A1212; /* Card BG */
    color: #F3C54D; /* Gold */
    border: 2px solid #F3C54D; /* Gold */
}

.page-cockfighting__btn-secondary:hover {
    background: #F3C54D; /* Gold */
    color: #2A1212; /* Card BG */
    transform: translateY(-2px);
}

/* General Section Styling */
.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__dark-section {
    background-color: #2A1212; /* Card BG */
    padding: 60px 0;
    margin-bottom: 30px;
}

.page-cockfighting__about-section .page-cockfighting__container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__about-section .page-cockfighting__content-area {
    flex: 1;
    min-width: 300px;
    color: #FFF1E8;
}

.page-cockfighting__about-section .page-cockfighting__content-area p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-cockfighting__about-section .page-cockfighting__image-container {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-cockfighting__about-section .page-cockfighting__image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
    padding: 60px 0;
    background-color: #140C0C; /* Background */
}

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

.page-cockfighting__step-card {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__step-card:hover {
    transform: translateY(-5px);
    border-color: #F3C54D; /* Gold */
}

.page-cockfighting__step-title {
    font-size: 1.4rem;
    color: #FFB04A; /* Part of Button gradient */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__step-card p {
    font-size: 1rem;
    color: #FFF1E8;
}

.page-cockfighting__image-container--full-width {
    text-align: center;
}

.page-cockfighting__image-container--full-width img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
    padding: 60px 0;
}

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

.page-cockfighting__feature-card {
    background: #140C0C; /* Background */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
    color: #FFF1E8;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    border-color: #F3C54D; /* Gold */
}

.page-cockfighting__feature-title {
    font-size: 1.3rem;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 60px 0;
    background-color: #140C0C; /* Background */
}

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

.page-cockfighting__promo-card {
    background: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-cockfighting__promo-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__promo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__promo-title {
    font-size: 1.3rem;
    color: #FFB04A; /* Part of Button gradient */
    margin: 20px 15px 10px;
    font-weight: 600;
}

.page-cockfighting__promo-card p {
    font-size: 0.95rem;
    color: #FFF1E8;
    padding: 0 15px 20px;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 20px;
    font-size: 1rem;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}
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: #3a1a1a;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  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: #140C0C; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* CTA Bottom Section */
.page-cockfighting__cta-bottom-section {
    padding: 60px 0;
    text-align: center;
    background-color: #2A1212; /* Card BG */
}

.page-cockfighting__cta-description {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF1E8;
}

/* Links */
.page-cockfighting a {
    color: #F3C54D; /* Gold */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting a:hover {
    color: #FFB04A; /* Part of Button gradient */
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image img {
        height: 500px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-cockfighting__about-section .page-cockfighting__container,
    .page-cockfighting__features-grid,
    .page-cockfighting__promo-grid {
        gap: 20px;
    }
    .page-cockfighting__step-card, .page-cockfighting__feature-card, .page-cockfighting__promo-card {
        padding: 25px;
    }
    .page-cockfighting__promo-card img {
        height: 200px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 1rem;
    }
}

@media (max-width: 849px) {
    .page-cockfighting__hero-image img {
        object-fit: contain !important; 
        aspect-ratio: unset !important; 
        height: auto !important;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-cockfighting__hero-section {
        padding-top: 10px; /* Consistent small top padding */
        padding-bottom: 30px;
    }
    .page-cockfighting__hero-image {
        margin-bottom: 20px;
    }
    .page-cockfighting__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: 300px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__intro-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-cockfighting__dark-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-bottom-section {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .page-cockfighting__about-section .page-cockfighting__container {
        flex-direction: column;
        gap: 20px;
    }
    .page-cockfighting__about-section .page-cockfighting__content-area,
    .page-cockfighting__about-section .page-cockfighting__image-container {
        min-width: unset;
        width: 100%;
    }
    .page-cockfighting__about-section .page-cockfighting__content-area p {
        font-size: 0.95rem;
    }

    .page-cockfighting__steps-grid,
    .page-cockfighting__features-grid,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    .page-cockfighting__image-container--full-width img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__step-card, .page-cockfighting__feature-card, .page-cockfighting__promo-card {
        padding: 20px;
    }
    .page-cockfighting__step-title,
    .page-cockfighting__feature-title,
    .page-cockfighting__promo-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__step-card p,
    .page-cockfighting__feature-card p,
    .page-cockfighting__promo-card p {
        font-size: 0.9rem;
    }
    .page-cockfighting__promo-card img {
        
    }

    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 1rem;
    }
    .page-cockfighting__faq-toggle {
        font-size: 20px;
        width: 24px;
        text-align: center;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
    .page-cockfighting__faq-answer p {
        font-size: 0.95rem;
    }

    .page-cockfighting__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    /* Generic image responsive for all content images */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        display: block;
    }
    .page-cockfighting__content-area,
    .page-cockfighting__text-block,
    .page-cockfighting__image-container,
    .page-cockfighting__steps-grid,
    .page-cockfighting__features-grid,
    .page-cockfighting__promo-grid,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
}