.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #FFF6D6; /* Text Main color, light text for dark background */
    background: #0A0A0A; /* Background color */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    background-color: #0A0A0A; /* Dark background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Desktop: cover to fill space */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px 15px;
    margin-top: -100px; /* Pull content up slightly over the image if needed, but not overlaying text on image */
    background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: #FFD36B; /* Glow color for main title */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-cockfighting__intro-text {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

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

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for light button */
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-cockfighting__btn-secondary {
    background: #111111; /* Card BG */
    color: #FFD36B; /* Glow color */
    border: 2px solid #FFD36B; /* Glow color border */
}

.page-cockfighting__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
    border-color: #FFD36B;
    transform: translateY(-2px);
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: none;
    box-shadow: 0 2px 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(242, 193, 78, 0.4);
}

/* Generic Section Styles */
.page-cockfighting__section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Ensure dark background for sections */
}

.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: #F2C14E; /* Main color for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-cockfighting__content-area {
    line-height: 1.7;
    font-size: 1.05rem;
    color: #FFF6D6; /* Text Main color */
}

.page-cockfighting__text-block p {
    margin-bottom: 1em;
}

.page-cockfighting__text-block ul,
.page-cockfighting__text-block ol {
    margin-left: 20px;
    margin-bottom: 1em;
}

.page-cockfighting__text-block li {
    margin-bottom: 0.5em;
}

.page-cockfighting__text-block h3 {
    font-size: 1.5rem;
    color: #FFD36B; /* Glow color for sub-titles */
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.page-cockfighting__text-block a {
    color: #F2C14E; /* Main color for links */
    text-decoration: underline;
}

.page-cockfighting__text-block a:hover {
    color: #FFD36B;
}

.page-cockfighting .highlight {
    color: #FFD36B; /* Highlight keywords with Glow color */
    font-weight: 600;
}

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

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

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

.page-cockfighting__feature-icon {
    width: 100%; /* Ensure images are not small icons */
    max-width: 250px; /* Max width for feature icons */
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 5px;
}

.page-cockfighting__feature-title {
    font-size: 1.3rem;
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
}

/* Type Cards (Game Types) */
.page-cockfighting__type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__type-card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-cockfighting__type-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-cockfighting__type-title {
    font-size: 1.4rem;
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
}

.page-cockfighting__type-card p {
    flex-grow: 1; /* Allow paragraph to take up available space */
    margin-bottom: 20px;
}

/* How to Play - Steps List */
.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__steps-list li {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__steps-list li h3 {
    font-size: 1.4rem;
    color: #FFD36B; /* Glow color */
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__cta-center {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__promo-card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-cockfighting__promo-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-cockfighting__promo-title {
    font-size: 1.4rem;
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
}

.page-cockfighting__promo-card p {
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Responsible Gambling */
.page-cockfighting__responsible-gambling ul {
    list-style: disc;
    margin-left: 25px;
    margin-top: 20px;
}

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

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card BG */
}
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(242, 193, 78, 0.1); /* Slight hover effect with main color */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6; /* Text Main color */
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main color for toggle icon */
  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; /* Background color for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    margin-bottom: 0;
}


/* General Image Styles */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -80px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__container {
        padding: 15px;
    }
    .page-cockfighting__cta-buttons,
    .page-cockfighting__cta-center {
        gap: 15px;
    }
}

@media (max-width: 849px) {
    .page-cockfighting__hero-image {
        object-fit: contain !important; /* Prevents cropping on narrower screens */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
    }
}

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

    /* Hero Section */
    .page-cockfighting__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
    }
    .page-cockfighting__hero-image-wrapper {
        max-height: 300px; /* Adjust max height for mobile */
        margin-bottom: 20px;
    }
    .page-cockfighting__hero-content {
        margin-top: -50px; /* Adjust pull up for mobile */
        padding: 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-cockfighting__intro-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-buttons,
    .page-cockfighting__cta-center {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-small,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Section Styles */
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__content-area {
        font-size: 1rem;
    }
    .page-cockfighting__text-block h3 {
        font-size: 1.3rem;
    }

    /* Features Grid */
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    .page-cockfighting__feature-card {
        padding: 20px;
    }
    .page-cockfighting__feature-icon {
        max-width: 150px; /* Adjust for mobile */
    }

    /* Type Cards */
    .page-cockfighting__type-cards {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    .page-cockfighting__type-card {
        padding: 20px;
    }
    .page-cockfighting__type-title {
        font-size: 1.2rem;
    }

    /* How to Play - Steps List */
    .page-cockfighting__steps-list li {
        padding: 20px;
    }
    .page-cockfighting__steps-list li h3 {
        font-size: 1.2rem;
    }

    /* Promotions */
    .page-cockfighting__promo-cards {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    .page-cockfighting__promo-card {
        padding: 20px;
    }
    .page-cockfighting__promo-title {
        font-size: 1.2rem;
    }

    /* FAQ */
    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;
        height: 24px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }

    /* All images in content area */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}