/* Base styles for page-cockfighting */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #F3F8FF; /* Text Main */
    background-color: #08162B; /* Deep Navy - Body background */
    line-height: 1.6;
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-cockfighting__text-block {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: #AFC4E8; /* Text Secondary */
}

.page-cockfighting__text-block strong {
    color: #F3F8FF;
}

.page-cockfighting__mt-40 {
    margin-top: 40px;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF; /* Text Main */
    border: none;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #F3F8FF; /* Text Main */
    border: 2px solid #2B73F6;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #2B73F6;
    color: #F3F8FF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 115, 246, 0.2);
}

.page-cockfighting__btn-small {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #F3F8FF;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    margin-top: 15px;
}

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

.page-cockfighting__text-link {
    color: #4FA8FF; /* Glow */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
    color: #F2C14E; /* Gold */
}

/* Card styles */
.page-cockfighting__card {
    background-color: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-title {
    font-size: 22px;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__card-text {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
    line-height: 1.7;
}

/* Image styles */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-cockfighting__image-wrapper {
    text-align: center;
    margin: 30px auto;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Hero Section */
.page-cockfighting__hero-section {
    padding: 10px 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-cockfighting__hero-image {
    width: 100%;
    max-width: 1200px;
    border-radius: 12px;
    margin-top: 40px;
    object-fit: cover;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    padding: 0 15px;
}

.page-cockfighting__main-title {
    font-size: 52px;
    font-weight: 800;
    color: #F3F8FF;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 20px;
    color: #AFC4E8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 60px 0;
}

.page-cockfighting__content-image {
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
    padding: 60px 0;
}

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

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 60px 0;
}

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

.page-cockfighting__step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__step-title {
    font-size: 24px;
    color: #F3F8FF;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-cockfighting__step-text {
    font-size: 16px;
    color: #AFC4E8;
    line-height: 1.7;
    text-align: center;
    flex-grow: 1;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    padding: 60px 0;
}

.page-cockfighting__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting__advantage-item {
    background-color: #10233F;
    border: 1px solid #244D84;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__advantage-title {
    font-size: 22px;
    color: #F2C14E;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__advantage-text {
    font-size: 16px;
    color: #AFC4E8;
    line-height: 1.7;
}

/* Tips Section */
.page-cockfighting__tips-section {
    padding: 60px 0;
}

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

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #244D84;
  overflow: hidden;
  background: #10233F; /* Card BG */
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
  font-weight: 600;
  font-size: 18px;
}
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: #1B3357; /* Slightly lighter than Card BG */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}
.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 12px 12px;
  color: #AFC4E8;
  font-size: 16px;
  line-height: 1.7;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 44px;
    }
    .page-cockfighting__hero-description {
        font-size: 18px;
    }
    .page-cockfighting__section-title {
        font-size: 32px;
    }
    .page-cockfighting__card-title, .page-cockfighting__advantage-title, .page-cockfighting__step-title {
        font-size: 20px;
    }
    .page-cockfighting__text-block, .page-cockfighting__card-text, .page-cockfighting__advantage-text, .page-cockfighting__step-text {
        font-size: 15px;
    }
    .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
        padding: 12px 24px;
        font-size: 16px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 17px;
    }
    .page-cockfighting__faq-toggle {
        font-size: 26px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 16px 20px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 768px) {
    /* Top Section / Hero Section */
    .page-cockfighting__hero-section {
        padding: 10px 15px 40px;
    }
    .page-cockfighting__main-title {
        font-size: 32px !important;
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 16px !important;
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
        padding: 0 15px;
    }
    .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* All section titles */
    .page-cockfighting__section-title {
        font-size: 28px !important;
        margin-bottom: 30px !important;
    }

    /* General text and cards */
    .page-cockfighting__text-block, .page-cockfighting__card-text, .page-cockfighting__advantage-text, .page-cockfighting__step-text {
        font-size: 15px !important;
        text-align: left;
    }
    .page-cockfighting__card-title, .page-cockfighting__advantage-title, .page-cockfighting__step-title {
        font-size: 19px !important;
    }

    /* Grid layouts to single column */
    .page-cockfighting__grid-cards,
    .page-cockfighting__steps-grid,
    .page-cockfighting__advantage-list,
    .page-cockfighting__tips-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Images and image containers */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__image-wrapper {
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-cockfighting__introduction-section,
    .page-cockfighting__betting-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__tips-section,
    .page-cockfighting__faq-section {
        padding: 40px 0;
    }

    /* Small buttons */
    .page-cockfighting__btn-small {
        max-width: 100% !important;
        width: 100% !important;
        font-size: 15px !important;
        padding: 10px 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* FAQ */
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px !important;
        font-size: 16px !important;
    }
    .page-cockfighting__faq-qtext {
        font-size: 16px !important;
    }
    .page-cockfighting__faq-toggle {
        font-size: 24px !important;
        width: 24px !important;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px !important;
        font-size: 15px !important;
    }
}