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

    background-color: var(--background-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-cockfighting-betting-guide__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    padding-top: 20px; /* Minor top padding */
}

.page-cockfighting-betting-guide__section-title--glow {
    color: var(--text-main-color);
    text-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color);
}

.page-cockfighting-betting-guide__text-content {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-cockfighting-betting-guide__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    padding-top: 10px;
    padding-bottom: 40px;
}

.page-cockfighting-betting-guide__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-cockfighting-betting-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-height: 200px; /* Minimum size for content images */
}

.page-cockfighting-betting-guide__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
}

.page-cockfighting-betting-guide__main-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 5px var(--primary-color);
}

.page-cockfighting-betting-guide__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-main-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting-betting-guide__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-betting-guide__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting-betting-guide__cta-button--small {
    padding: 12px 25px;
    font-size: 1rem;
}

.page-cockfighting-betting-guide__cta-button--large {
    padding: 18px 35px;
    font-size: 1.3rem;
}

.page-cockfighting-betting-guide__cta-button--full {
    width: 100%;
    max-width: 350px;
    margin: 20px auto 0 auto;
    display: block;
}

/* Intro Section */
.page-cockfighting-betting-guide__intro-section,
.page-cockfighting-betting-guide__bet-types,
.page-cockfighting-betting-guide__why-888slots,
.page-cockfighting-betting-guide__cta-section {
    background-color: var(--card-bg);
    padding: 50px 0;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Guide Steps */
.page-cockfighting-betting-guide__guide-steps {
    padding: 50px 0;
}

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

.page-cockfighting-betting-guide__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-cockfighting-betting-guide__step-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-cockfighting-betting-guide__step-item p {
    font-size: 1rem;
    color: var(--text-main-color);
}

.page-cockfighting-betting-guide__step-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-cockfighting-betting-guide__image-content,
.page-cockfighting-betting-guide__image-step {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

/* Bet Types */
.page-cockfighting-betting-guide__type-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-cockfighting-betting-guide__type-item {
    background-color: var(--background-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.page-cockfighting-betting-guide__type-title {
    font-size: 1.4rem;
    color: var(--glow-color);
    margin-bottom: 10px;
}

/* Tips & Strategy */
.page-cockfighting-betting-guide__tips-strategy {
    background-color: var(--background-color);
    padding: 50px 0;
    margin-bottom: 30px;
}

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

.page-cockfighting-betting-guide__tip-item {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-betting-guide__tip-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Related Content */
.page-cockfighting-betting-guide__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-cockfighting-betting-guide__game-card {
    background-color: var(--background-color);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-cockfighting-betting-guide__game-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting-betting-guide__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting-betting-guide__game-title {
    font-size: 1.2rem;
    padding: 15px;
    text-align: center;
    color: var(--text-main-color);
}

/* FAQ Section */
.page-cockfighting-betting-guide__faq-list {
    margin-top: 30px;
}

.page-cockfighting-betting-guide__faq-item {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting-betting-guide__faq-question {
    font-size: 1.3rem;
    color: var(--secondary-color);
    padding: 18px 20px;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.page-cockfighting-betting-guide__faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-cockfighting-betting-guide__faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.page-cockfighting-betting-guide__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 1rem;
    color: var(--text-main-color);
    display: none;
}

.page-cockfighting-betting-guide__faq-answer.open {
    display: block;
}

/* Responsive Design */
@media (max-width: 849px) {
    .page-cockfighting-betting-guide__container {
        padding: 15px;
    }

    .page-cockfighting-betting-guide__hero-section {
        padding-bottom: 30px;
    }

    .page-cockfighting-betting-guide__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-cockfighting-betting-guide__hero-description {
        font-size: 1rem;
    }

    .page-cockfighting-betting-guide__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-cockfighting-betting-guide__text-content {
        font-size: 0.95rem;
    }

    .page-cockfighting-betting-guide__step-list,
    .page-cockfighting-betting-guide__type-list,
    .page-cockfighting-betting-guide__tip-list,
    .page-cockfighting-betting-guide__game-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting-betting-guide__cta-button--full {
        max-width: 100%;
    }

    /* Ensure all images in content sections are responsive and not too small */
    .page-cockfighting-betting-guide__intro-section img,
    .page-cockfighting-betting-guide__guide-steps img,
    .page-cockfighting-betting-guide__bet-types img,
    .page-cockfighting-betting-guide__why-888slots img,
    .page-cockfighting-betting-guide__related-content img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 549px) {
    .page-cockfighting-betting-guide__hero-content {
        padding: 15px;
    }

    .page-cockfighting-betting-guide__main-title {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    .page-cockfighting-betting-guide__hero-description {
        font-size: 0.9rem;
    }

    .page-cockfighting-betting-guide__cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-cockfighting-betting-guide__section-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .page-cockfighting-betting-guide__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }

    .page-cockfighting-betting-guide__faq-question::after {
        right: 15px;
    }

    .page-cockfighting-betting-guide__faq-answer {
        padding: 0 15px 10px 15px;
    }
}