/* style/cockfighting.css */

/* Root variables for colors */
:root {
    --gp88-primary: #2F6BFF;
    --gp88-primary-light: #6FA3FF;
    --gp88-gradient-start: #4A8BFF;
    --gp88-gradient-end: #2F6BFF;
    --gp88-background: #F4F7FB;
    --gp88-card-bg: #FFFFFF;
    --gp88-text-main: #1F2D3D;
    --gp88-text-dark: #000000;
    --gp88-border: #D6E2FF;
    --gp88-glow: #A5C4FF;
}

/* Base styles for the page content */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--gp88-text-main); /* Default text color for light background */
    line-height: 1.6;
    background-color: var(--gp88-background); /* Ensures contrast with text */
}

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

.page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--gp88-text-dark);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-cockfighting__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--gp88-text-main);
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, var(--gp88-gradient-start) 0%, var(--gp88-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

.page-cockfighting__btn-primary--large {
    padding: 15px 35px;
    font-size: 1.15rem;
}

.page-cockfighting__btn-secondary {
    background: var(--gp88-card-bg);
    color: var(--gp88-primary);
    border: 2px solid var(--gp88-primary);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--gp88-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.2);
}

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

.page-cockfighting__cta-buttons--center {
    justify-content: center;
}

/* Card styles */
.page-cockfighting__card {
    background: var(--gp88-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    color: var(--gp88-text-main);
    border: 1px solid var(--gp88-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gp88-primary);
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-cockfighting__card-text {
    font-size: 0.95rem;
    color: var(--gp88-text-main);
}

/* Image base styles */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    background-color: var(--gp88-primary);
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.page-cockfighting__tagline {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 80px 0;
    background-color: var(--gp88-background);
}

/* Features Section */
.page-cockfighting__features-section {
    padding: 80px 0;
    background-color: var(--gp88-primary);
    color: #ffffff;
}

.page-cockfighting__features-section .page-cockfighting__section-title {
    color: #ffffff;
}

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

.page-cockfighting__feature-image {
    max-width: 100%;
    height: 267px; /* Fixed height for consistency */
    object-fit: cover;
    margin: 0 auto 20px;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
    padding: 80px 0;
    background-color: var(--gp88-background);
}

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

.page-cockfighting__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 80px 0;
    background-color: var(--gp88-primary);
    color: #ffffff;
}

.page-cockfighting__guide-section .page-cockfighting__section-title {
    color: #ffffff;
}

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

.page-cockfighting__guide-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__guide-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.page-cockfighting__guide-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-cockfighting__guide-item p {
    color: #f0f0f0;
    font-size: 0.95rem;
}

/* Strategies Section */
.page-cockfighting__strategies-section {
    padding: 80px 0;
    background-color: var(--gp88-background);
}

.page-cockfighting__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.page-cockfighting__strategy-item {
    background: var(--gp88-card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--gp88-primary);
}

.page-cockfighting__strategy-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gp88-primary);
    margin-bottom: 10px;
}

.page-cockfighting__strategy-item p {
    color: var(--gp88-text-main);
}

.page-cockfighting__strategy-image {
    width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 80px 0;
    background-color: var(--gp88-primary);
    color: #ffffff;
}

.page-cockfighting__promotions-section .page-cockfighting__section-title {
    color: #ffffff;
}

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

.page-cockfighting__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: var(--gp88-background);
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-cockfighting__faq-item {
    background: var(--gp88-card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gp88-border);
}

.page-cockfighting__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--gp88-text-dark);
    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(47, 107, 255, 0.05);
}

.page-cockfighting__faq-item[open] summary {
    background-color: rgba(47, 107, 255, 0.1);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gp88-primary);
    line-height: 1;
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gp88-text-main);
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
    padding: 80px 0;
    background-color: var(--gp88-primary);
    text-align: center;
    color: #ffffff;
}

.page-cockfighting__cta-final-content {
    max-width: 900px;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
    color: #ffffff;
    margin-bottom: 25px;
}

.page-cockfighting__cta-final-section .page-cockfighting__text-block {
    color: #f0f0f0;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2.2rem, 4vw, 3rem);
    }
    .page-cockfighting__tagline {
        font-size: 1.1rem;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__game-types-grid,
    .page-cockfighting__guide-list,
    .page-cockfighting__promo-grid {
        gap: 20px;
    }
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__game-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    .page-cockfighting__tagline {
        font-size: 1rem;
    }
    .page-cockfighting__hero-section {
        padding: 10px 15px 40px;
    }
    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 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 15px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__btn-primary--large {
        padding: 15px 20px !important;
        font-size: 1.1rem !important;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__game-types-grid,
    .page-cockfighting__guide-list,
    .page-cockfighting__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-cockfighting__feature-image,
    .page-cockfighting__game-image,
    .page-cockfighting__promo-image {
        height: 220px; /* Adjust height for smaller screens */
        object-fit: cover;
    }

    /* Mobile image and container adaptation */
    .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__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__game-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section,
    .page-cockfighting__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .page-cockfighting__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.4rem, 8vw, 2rem);
    }
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__game-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__strategies-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding: 40px 0;
    }
    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-content {
        padding: 0 10px;
    }
}