/* style/cockfighting.css */

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

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--page-cockfighting-text-main); /* Default text color for the page */
    background-color: var(--page-cockfighting-bg-main); /* Main background color for the page */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-cockfighting__section-padding {
    padding: 80px 20px;
}

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

.page-cockfighting__section-title {
    font-size: 2.8em;
    color: var(--page-cockfighting-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--page-cockfighting-gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    color: var(--page-cockfighting-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-cockfighting-bg-main);
    display: flex;
    flex-direction: column; /* Stacks children vertically */
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure hero section has a minimum height */
}

.page-cockfighting__hero-image-block {
    width: 100%;
    max-height: 675px; /* Limit height to maintain aspect ratio for 1920x1080 */
    overflow: hidden;
}

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

.page-cockfighting__hero-content-block {
    text-align: center;
    max-width: 90%;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 40px; /* Spacing between image and text */
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

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

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

.page-cockfighting__btn-link {
    background: transparent;
    color: var(--page-cockfighting-gold-color);
    text-decoration: underline;
    padding: 5px 10px;
    font-size: 1em;
    border: none;
}

.page-cockfighting__btn-link:hover {
    color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__intro-section {
    background-color: var(--page-cockfighting-bg-card);
    border-bottom: 1px solid var(--page-cockfighting-divider-color);
}

.page-cockfighting__why-choose-section {
    background-color: var(--page-cockfighting-deep-green); /* Darker background for contrast */
}

.page-cockfighting__features-grid,
.page-cockfighting__steps-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(--page-cockfighting-bg-card);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-cockfighting-border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-cockfighting__feature-image,
.page-cockfighting__promotion-image {
    width: 100%;
    height: auto;
    max-height: 250px; /* Limit height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-cockfighting__card-description {
    font-size: 1em;
    color: var(--page-cockfighting-text-secondary);
    line-height: 1.5;
    flex-grow: 1; /* Allow description to take available space */
}

.page-cockfighting__step-card .page-cockfighting__card-description {
    text-align: left;
}

.page-cockfighting__step-icon {
    width: 60px;
    height: 60px;
    background: var(--page-cockfighting-btn-gradient);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(17, 168, 78, 0.3);
}

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

.page-cockfighting__tips-section {
    background-color: var(--page-cockfighting-bg-card);
}

.page-cockfighting__tips-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting__tips-image {
    width: 45%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 55%;
}

.page-cockfighting__list-item {
    background-color: var(--page-cockfighting-bg-main);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid var(--page-cockfighting-primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__list-title {
    font-size: 1.3em;
    color: var(--page-cockfighting-gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__list-description {
    font-size: 0.95em;
    color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__promotions-section {
    background-color: var(--page-cockfighting-deep-green);
}

.page-cockfighting__responsible-gaming-section {
    background-color: var(--page-cockfighting-bg-main);
    border-top: 1px solid var(--page-cockfighting-divider-color);
}

.page-cockfighting__faq-section {
    background-color: var(--page-cockfighting-bg-card);
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-cockfighting-text-main);
    background-color: var(--page-cockfighting-deep-green);
    border-bottom: 1px solid var(--page-cockfighting-divider-color);
    transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
    background-color: var(--page-cockfighting-primary-color);
    border-bottom: 1px solid var(--page-cockfighting-primary-color);
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    margin-left: 20px;
    color: var(--page-cockfighting-gold-color);
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question .page-cockfighting__faq-toggle {
    color: #ffffff;
}

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--page-cockfighting-text-secondary);
    text-align: left;
}

/* Hide default details marker */
.page-cockfighting__faq-item > summary {
    list-style: none;
}
.page-cockfighting__faq-item > summary::-webkit-details-marker {
    display: none;
}

.page-cockfighting__cta-section {
    background-color: var(--page-cockfighting-deep-green);
    text-align: center;
}

.page-cockfighting__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__section-title {
        font-size: 2.2em;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }
    .page-cockfighting__hero-section {
        min-height: 500px;
    }
    .page-cockfighting__tips-content {
        flex-direction: column;
        align-items: center;
    }
    .page-cockfighting__tips-image,
    .page-cockfighting__tips-list {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__section-padding {
        padding: 40px 15px;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.5em, 6vw, 2.2em);
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        min-height: auto;
    }
    .page-cockfighting__hero-content-block {
        max-width: 95%;
        padding: 15px;
        margin-top: 20px; /* Smaller margin for mobile */
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Mobile image, video, button responsiveness */
    .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-image-block,
    .page-cockfighting__hero-content-block,
    .page-cockfighting__tips-content,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__promotions-grid,
    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-cockfighting__video-section {
      padding-top: 10px !important; /* body already handles --header-offset, only small decorative padding */
    }
    
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-cockfighting__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__section-title {
        font-size: 1.6em;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.3em, 7vw, 1.8em);
    }
    .page-cockfighting__hero-section {
        min-height: auto;
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
    .page-cockfighting__text-block {
        font-size: 0.9em;
    }
    .page-cockfighting__card-title {
        font-size: 1.3em;
    }
    .page-cockfighting__card-description {
        font-size: 0.9em;
    }
}