/* style/g.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for dark background */
    background-color: var(--color-background); /* Default background color */
}

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

.page-cockfighting__light-bg {
    background-color: #f8f8f8;
    color: #333333;
}

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

/* 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 */
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    margin-bottom: 40px;
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting__main-title {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text-main);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(var(--color-glow), 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--color-glow), 0.6);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--color-button-gradient-start);
    border: 2px solid var(--color-button-gradient-start);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--color-button-gradient-start);
    color: #ffffff;
    transform: translateY(-3px);
}

.page-cockfighting__small-btn {
    padding: 10px 20px;
    font-size: 1rem;
}

.page-cockfighting__large-btn {
    padding: 18px 35px;
    font-size: 1.2rem;
}

/* Section Titles */
.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: var(--color-gold);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-description {
    font-size: 1.05rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--color-text-secondary);
}

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

.page-cockfighting__card {
    background-color: var(--color-card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--color-text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__card-image {
    width: 100%;
    height: 250px; /* Enforce minimum height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

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

.page-cockfighting__card-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* How to Play Section */
.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-cockfighting__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.page-cockfighting__step-title {
    font-size: 1.8rem;
    color: var(--color-deep-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-cockfighting__step-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

.page-cockfighting__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--color-text-main);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    background-color: var(--color-card-bg);
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-cockfighting__faq-question:hover {
    background-color: rgba(var(--color-primary), 0.1);
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 25px;
    text-align: center;
    flex-shrink: 0;
    color: var(--color-gold);
}

.page-cockfighting__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.page-cockfighting__cta-faq {
    text-align: center;
    margin-top: 40px;
}

/* Final CTA Section */
.page-cockfighting__cta-final {
    padding: 80px 20px;
    text-align: center;
}

.page-cockfighting__cta-final .page-cockfighting__section-title {
    color: var(--color-deep-green);
}

.page-cockfighting__cta-final .page-cockfighting__description {
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__hero-image-wrapper {
        max-height: 60vh;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 30px;
        max-height: 50vh;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-cockfighting__description {
        font-size: 1rem;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-cockfighting__container {
        padding: 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 20px;
    }
    .page-cockfighting__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__game-types-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .page-cockfighting__card-image {
        height: 200px; /* Adjust height for mobile */
    }
    .page-cockfighting__card-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__card-text {
        font-size: 0.9rem;
    }
    .page-cockfighting__step-item {
        padding: 20px;
    }
    .page-cockfighting__step-title {
        font-size: 1.5rem;
    }
    .page-cockfighting__step-text {
        font-size: 1rem;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .page-cockfighting__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95rem;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__why-choose-us,
    .page-cockfighting__types-of-games,
    .page-cockfighting__how-to-play,
    .page-cockfighting__promotions,
    .page-cockfighting__tips-strategies,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-cockfighting__description {
        font-size: 0.9rem;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-cockfighting__card-image {
        height: 180px;
    }
}