/* style/cockfighting.css */
:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --page-bg: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.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;
}

/* HERO Section */
.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-wrapper {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

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

.page-cockfighting__main-title {
    font-size: 2.8em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 165, 58, 0.6);
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    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: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
    background: var(--deep-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__cta-button--small {
    padding: 12px 30px;
    font-size: 1em;
}

.page-cockfighting__cta-button--large {
    padding: 18px 50px;
    font-size: 1.2em;
}

/* General Sections */
.page-cockfighting__introduction-section,
.page-cockfighting__rules-types-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__security-support-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
    padding: 80px 0;
    background-color: var(--page-bg);
    position: relative;
    overflow: hidden;
}

.page-cockfighting__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-cockfighting__text-block {
    font-size: 1.05em;
    color: var(--text-main);
    text-align: justify;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__image-row {
    text-align: center;
    margin: 40px 0;
}

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

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

.page-cockfighting__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(255, 165, 58, 0.4);
}

.page-cockfighting__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__card-description {
    color: var(--text-main);
    font-size: 0.95em;
    line-height: 1.5;
}

/* Feature List */
.page-cockfighting__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    max-width: 900px;
}

.page-cockfighting__feature-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.page-cockfighting__feature-item:hover {
    background-color: #242833;
}

.page-cockfighting__feature-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-cockfighting__feature-description {
    color: var(--text-main);
    font-size: 0.95em;
}

/* Guide List */
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    counter-reset: guide-step;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__guide-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px 30px 25px 70px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__guide-item::before {
    counter-increment: guide-step;
    content: counter(guide-step);
    position: absolute;
    left: 25px;
    top: 25px;
    background-color: var(--primary-color);
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.page-cockfighting__guide-title {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-cockfighting__guide-description {
    color: var(--text-main);
    font-size: 0.95em;
}

/* Promotion Cards */
.page-cockfighting__promotion-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__promotion-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-cockfighting__promotion-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--card-bg);
    box-shadow: 0 3px 10px rgba(255, 165, 58, 0.4);
}

/* Security Features */
.page-cockfighting__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-cockfighting__security-features .page-cockfighting__feature-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__security-features .page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__security-features .page-cockfighting__feature-item img {
    
    
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
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;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--secondary-color);
}
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: #242833; /* Slightly lighter card bg for hover */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  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 25px 20px;
  background: #1e222d; /* Slightly lighter than card bg */
  border-radius: 0 0 8px 8px;
  font-size: 0.95em;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.2em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__text-block {
        font-size: 1em;
    }
    .page-cockfighting__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@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-wrapper img {
        border-radius: 8px;
    }
    .page-cockfighting__main-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    .page-cockfighting__hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__cta-button--small, .page-cockfighting__cta-button--large {
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-cockfighting__introduction-section,
    .page-cockfighting__rules-types-section,
    .page-cockfighting__why-choose-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__security-support-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 50px 0;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 0.9em;
    }
    .page-cockfighting__card-grid {
        gap: 20px;
    }
    .page-cockfighting__card {
        padding: 20px;
    }
    .page-cockfighting__card-title {
        font-size: 1.2em;
    }
    .page-cockfighting__feature-item {
        padding: 20px;
    }
    .page-cockfighting__feature-title {
        font-size: 1.1em;
    }
    .page-cockfighting__guide-item {
        padding: 20px 20px 20px 60px;
    }
    .page-cockfighting__guide-item::before {
        width: 30px;
        height: 30px;
        font-size: 1em;
        left: 15px;
        top: 20px;
    }
    .page-cockfighting__guide-title {
        font-size: 1.1em;
    }
    .page-cockfighting__promotion-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__security-features .page-cockfighting__feature-item img {
        
        
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px;
        font-size: 1em;
    }
    .page-cockfighting__faq-qtext {
        font-size: 0.95em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
        font-size: 0.9em;
    }

    /* Ensure all images are responsive and prevent overflow */
    .page-cockfighting img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-cockfighting__section, .page-cockfighting__card, .page-cockfighting__container, .page-cockfighting__hero-container, .page-cockfighting__hero-content, .page-cockfighting__hero-image-wrapper, .page-cockfighting__promotion-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.5em;
    }
    .page-cockfighting__section-title {
        font-size: 1.3em;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }
}