/* style/cockfighting.css */
:root {
    --primary-color: #FF4500; /* OrangeRed */
    --secondary-color: #00CED1; /* DarkTurquoise */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f1f3f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

/* Ensure content is below fixed header */
.page-cockfighting {
    padding-top: 120px; /* Desktop padding for fixed header */
    background-color: var(--bg-light);
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .page-cockfighting {
        padding-top: 100px !important; /* Mobile padding for fixed header */
    }
}

/* Sections */
.page-cockfighting__intro-section,
.page-cockfighting__benefits-section,
.page-cockfighting__safety-tips-section,
.page-cockfighting__promotions-section {
    padding: 60px 20px;
}

.page-cockfighting__how-to-play-section,
.page-cockfighting__platform-showcase-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section {
    padding: 60px 20px;
}

.page-cockfighting__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-cockfighting__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

/* Titles and Descriptions */
.page-cockfighting__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.3;
}

.page-cockfighting__description,
.page-cockfighting__note-text {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__note-text {
    font-style: italic;
    margin-top: 30px;
    color: var(--text-dark);
}

/* CTA Button */
.page-cockfighting__cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.page-cockfighting__cta-button:hover {
    background-color: #00A3A6;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* 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(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.page-cockfighting__card-image {
    width: 100%;
    max-width: 400px; /* Ensure images are not too small but not too big */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

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

.page-cockfighting__card-text {
    font-size: 1em;
    line-height: 1.6;
}

.page-cockfighting__card-list {
    list-style: disc inside;
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.6;
    padding-left: 20px;
    text-align: left;
    width: 100%;
}

.page-cockfighting__card-list li {
    margin-bottom: 5px;
}

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

.page-cockfighting__feature-item {
    text-align: center;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--text-light);
}

.page-cockfighting__feature-icon {
    width: 120px; /* Min image size 200x200, but for icons, 120px is a good visual size for a feature icon */
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-cockfighting__feature-text {
    font-size: 1em;
    line-height: 1.6;
}

/* Platform Showcase */
.page-cockfighting__platform-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__platform-item {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__platform-logo {
    width: 150px; /* Min image size 200x200, but for logos, 150px is a good visual size */
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-cockfighting__platform-name {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-cockfighting__platform-description {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__btn-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-cockfighting__btn-link:hover {
    background-color: #E63900;
}

/* Safety List */
.page-cockfighting__safety-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    text-align: left;
}

.page-cockfighting__safety-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 25px;
    color: var(--text-light);
}

.page-cockfighting__safety-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-cockfighting__safety-text {
    font-size: 0.95em;
    line-height: 1.6;
}

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

.page-cockfighting__promo-item {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__promo-image {
    width: 100%;
    max-width: 400px; /* Ensure images are not too small but not too big */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

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

.page-cockfighting__promo-text {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__btn-promo {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-cockfighting__btn-promo:hover {
    background-color: #00A3A6;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    text-align: left;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: var(--bg-white);
    border-radius: 0 0 5px 5px;
}

.page-cockfighting__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-cockfighting__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-cockfighting__faq-question:active {
    background: #eeeeee;
}

.page-cockfighting__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-dark);
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__intro-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__platform-showcase-section,
    .page-cockfighting__safety-tips-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section {
        padding: 40px 15px;
    }

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

    .page-cockfighting__main-title {
        font-size: 2.2em;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__description,
    .page-cockfighting__note-text {
        font-size: 1em;
    }

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

    .page-cockfighting__card,
    .page-cockfighting__feature-item,
    .page-cockfighting__platform-item,
    .page-cockfighting__promo-item {
        padding: 20px;
    }

    .page-cockfighting__card-title,
    .page-cockfighting__feature-title,
    .page-cockfighting__platform-name,
    .page-cockfighting__promo-title {
        font-size: 1.3em;
    }

    .page-cockfighting__card-image,
    .page-cockfighting__feature-icon,
    .page-cockfighting__platform-logo,
    .page-cockfighting__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-cockfighting__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-cockfighting__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-cockfighting__faq-answer {
        padding: 0 15px;
    }
    
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px !important;
    }
}