/* style/cockfighting.css */

/* Custom Colors */
:root {
    --page-cockfighting-bg-primary: #08160F;
    --page-cockfighting-bg-card: #11271B;
    --page-cockfighting-text-main: #F2FFF6;
    --page-cockfighting-text-secondary: #A7D9B8;
    --page-cockfighting-border: #2E7A4E;
    --page-cockfighting-glow: #57E38D;
    --page-cockfighting-gold: #F2C14E;
    --page-cockfighting-divider: #1E3A2A;
    --page-cockfighting-deep-green: #0A4B2C;
    --page-cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-cockfighting-light-bg: #ffffff;
    --page-cockfighting-light-text: #333333;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-cockfighting-text-main); /* Default text color for dark body bg */
    background-color: var(--page-cockfighting-bg-primary); /* Assuming body background is dark from shared */
}

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

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

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

.page-cockfighting__section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting__section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    color: var(--page-cockfighting-gold);
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.page-cockfighting__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

.page-cockfighting__highlight {
    color: var(--page-cockfighting-gold);
    font-weight: bold;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body handles top padding, this is for visual spacing */
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height of the image */
    overflow: hidden;
    margin-bottom: 40px; /* Space between image and content */
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(32px, 4.5vw, 60px);
    color: var(--page-cockfighting-gold);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__description {
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--page-cockfighting-text-main);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons adapt to container */
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-btn-gradient);
    color: #ffffff; /* Explicit white for contrast */
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--page-cockfighting-gold);
    border: 2px solid var(--page-cockfighting-gold);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-gold);
    color: var(--page-cockfighting-bg-primary);
    transform: translateY(-2px);
}

/* Card Styles */
.page-cockfighting__card {
    background-color: var(--page-cockfighting-bg-card);
    color: var(--page-cockfighting-text-main);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__card-title {
    font-size: 24px;
    color: var(--page-cockfighting-gold);
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.page-cockfighting__card-text {
    font-size: 16px;
    color: var(--page-cockfighting-text-secondary);
}

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

.page-cockfighting__feature-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-width: 200px; /* Max size for feature icons */
    margin-bottom: 15px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-cockfighting__type-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Guide List */
.page-cockfighting__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__guide-item {
    background-color: var(--page-cockfighting-bg-card);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--page-cockfighting-gold);
}

.page-cockfighting__guide-step-title {
    font-size: 22px;
    color: var(--page-cockfighting-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-cockfighting__guide-text {
    font-size: 17px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__guide-text a {
    color: var(--page-cockfighting-gold);
    text-decoration: none;
    font-weight: bold;
}

.page-cockfighting__guide-text a:hover {
    text-decoration: underline;
}

.page-cockfighting__center-cta {
    margin-top: 40px;
}

/* Tips Section */
.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__tips-item {
    background-color: var(--page-cockfighting-bg-card);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--page-cockfighting-deep-green);
}

.page-cockfighting__tips-title {
    font-size: 22px;
    color: var(--page-cockfighting-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-cockfighting__tips-text {
    font-size: 17px;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__image-promo {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__promo-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.page-cockfighting__promo-card {
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--page-cockfighting-border);
}

.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
    margin-top: 20px;
}

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

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-bg-card);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 19px;
    font-weight: 600;
    color: var(--page-cockfighting-gold);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: inherit;
}

.page-cockfighting__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−';
}

.page-cockfighting__faq-answer {
    padding: 15px 25px 25px;
    font-size: 17px;
    color: var(--page-cockfighting-text-secondary);
    border-top: 1px solid var(--page-cockfighting-divider);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image-wrapper {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__section {
        padding: 40px 0;
    }

    .page-cockfighting__section-title {
        font-size: clamp(24px, 5vw, 38px);
    }

    .page-cockfighting__text-block,
    .page-cockfighting p,
    .page-cockfighting li,
    .page-cockfighting__card-text {
        font-size: 16px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(28px, 6vw, 48px);
    }

    .page-cockfighting__description {
        font-size: clamp(16px, 3vw, 20px);
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    .page-cockfighting__container,
    .page-cockfighting__feature-grid,
    .page-cockfighting__type-grid,
    .page-cockfighting__promo-cards,
    .page-cockfighting__faq-list {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsive */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-cockfighting__feature-icon,
    .page-cockfighting__type-image {
        max-width: 100%;
        height: auto;
    }

    .page-cockfighting__guide-item,
    .page-cockfighting__tips-item,
    .page-cockfighting__promo-card {
        padding: 20px;
    }

    .page-cockfighting__guide-step-title,
    .page-cockfighting__tips-title,
    .page-cockfighting__card-title {
        font-size: 20px;
    }

    .page-cockfighting__faq-item summary {
        font-size: 17px;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        font-size: 16px;
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-image-wrapper {
        max-height: 250px;
    }
}