:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --page-bg: #F4F7FB;
    --text-main: #1F2D3D;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

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

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-bg);
    overflow: hidden;
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

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

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-cockfighting__hero-content h1 {
    font-size: clamp(28px, 4vw, 48px); /* Use clamp for responsive H1 */
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.page-cockfighting__hero-content p {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-cockfighting__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__introduction-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategies-section,
.page-cockfighting__security-support-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: var(--page-bg);
}

.page-cockfighting__dark-bg {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__card-title {
    color: #ffffff;
}

.page-cockfighting__dark-bg p,
.page-cockfighting__dark-bg li {
    color: #e0e0e0;
}

.page-cockfighting__light-bg {
    background-color: var(--page-bg);
    color: var(--text-main);
}

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

.page-cockfighting__feature-card,
.page-cockfighting__type-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-cockfighting__feature-card img,
.page-cockfighting__type-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 100%; /* Ensure images fill card width */
    min-height: 200px; /* Minimum height for content images */
}

.page-cockfighting__card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.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(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    border: 1px solid var(--border-color);
}

.page-cockfighting__step-card .page-cockfighting__card-title {
    font-size: 24px;
    color: var(--text-main);
    position: relative;
    padding-left: 40px;
}

.page-cockfighting__step-card .page-cockfighting__card-title::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.page-cockfighting__step-card:nth-child(1) .page-cockfighting__card-title::before { content: '1'; }
.page-cockfighting__step-card:nth-child(2) .page-cockfighting__card-title::before { content: '2'; }
.page-cockfighting__step-card:nth-child(3) .page-cockfighting__card-title::before { content: '3'; }
.page-cockfighting__step-card:nth-child(4) .page-cockfighting__card-title::before { content: '4'; }

.page-cockfighting__strategy-list,
.page-cockfighting__promo-list,
.page-cockfighting__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__strategy-list li,
.page-cockfighting__promo-list li,
.page-cockfighting__security-list li {
    background-color: var(--card-bg);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    border-left: 5px solid var(--primary-color);
    color: var(--text-main);
}

.page-cockfighting__dark-bg .page-cockfighting__strategy-list li,
.page-cockfighting__dark-bg .page-cockfighting__promo-list li,
.page-cockfighting__dark-bg .page-cockfighting__security-list li {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.page-cockfighting__strategy-list li strong,
.page-cockfighting__promo-list li strong,
.page-cockfighting__security-list li strong {
    color: var(--primary-color);
    margin-right: 10px;
    flex-shrink: 0;
}

.page-cockfighting__dark-bg .page-cockfighting__strategy-list li strong,
.page-cockfighting__dark-bg .page-cockfighting__promo-list li strong,
.page-cockfighting__dark-bg .page-cockfighting__security-list li strong {
    color: var(--secondary-color);
}

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

/* FAQ Styles */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
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;
  color: var(--text-main);
  font-weight: bold;
}
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: #f0f0f0;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  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: var(--text-main);
}

.page-cockfighting__text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__text-link:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 32px;
    }
    .page-cockfighting__hero-content h1 {
        font-size: clamp(26px, 5vw, 42px);
    }
    .page-cockfighting__hero-content p {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-image img {
        border-radius: 4px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__container,
    .page-cockfighting__introduction-section,
    .page-cockfighting__features-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__types-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__security-support-section,
    .page-cockfighting__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__section-title {
        font-size: 28px;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-cockfighting__hero-content h1 {
        font-size: clamp(24px, 6vw, 36px);
    }

    .page-cockfighting__hero-content p {
        font-size: 16px;
    }

    .page-cockfighting__feature-grid, .page-cockfighting__types-grid, .page-cockfighting__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__feature-card,
    .page-cockfighting__type-card,
    .page-cockfighting__step-card {
        padding: 20px;
    }

    .page-cockfighting__feature-card img,
    .page-cockfighting__type-card img,
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px; /* Maintain minimum image size */
    }

    .page-cockfighting__card-title {
        font-size: 20px;
    }

    .page-cockfighting__strategy-list li,
    .page-cockfighting__promo-list li,
    .page-cockfighting__security-list li {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .page-cockfighting__strategy-list li strong,
    .page-cockfighting__promo-list li strong,
    .page-cockfighting__security-list li strong {
        margin-bottom: 5px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
    .page-cockfighting__faq-qtext { font-size: 15px; }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-cockfighting__cta-buttons {
        display: flex;
        flex-direction: column; 
    }
}