/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding: 100px 20px 60px; /* Adjust padding-top to account for fixed header */
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #26A9E0, #1a7bb0); /* Brand color gradient */
    color: #ffffff;
    overflow: hidden;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-cockfighting__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-cockfighting__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Slightly transparent to allow text to stand out */
    filter: brightness(0.7); /* Darken image for better text contrast */
}

/* General Section Styles */
.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Background Color Handling */
.page-cockfighting__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-cockfighting__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333;
}

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

.page-cockfighting__cta-buttons--center {
    text-align: center;
}

.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.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-cockfighting__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-cockfighting__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: #ffffff; /* Text color for dark background */
    border: 2px solid #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__btn-secondary {
    color: #26A9E0; /* Brand color for light background */
    border-color: #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-cockfighting__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
}

.page-cockfighting__light-bg .page-cockfighting__card-title {
    color: #26A9E0;
}

.page-cockfighting__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__card-description {
    color: #555555;
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
    color: #333333;
}

.page-cockfighting__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    max-width: 100%; /* Ensure video does not overflow */
    height: auto; /* Maintain aspect ratio */
    display: block;
}

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

.page-cockfighting__type-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__type-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__type-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid #eee;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-cockfighting__type-card .page-cockfighting__card-title {
    color: #26A9E0;
    margin: 15px 15px 10px;
}

.page-cockfighting__type-card .page-cockfighting__card-description {
    color: #555555;
    padding: 0 15px 20px;
    flex-grow: 1; /* Allow description to take available space */
}

/* How To Play Section */
.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-left: 5px solid #EA7C07;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #ffffff;
}

.page-cockfighting__step-item .page-cockfighting__step-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__step-item .page-cockfighting__step-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-cockfighting__step-item .page-cockfighting__step-description a {
    color: #EA7C07;
    text-decoration: underline;
}

.page-cockfighting__step-item .page-cockfighting__step-description a:hover {
    color: #d16b06;
}

/* Strategy Tips Section */
.page-cockfighting__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-cockfighting__tip-item {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__tip-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-cockfighting__tip-description {
    font-size: 0.95em;
    color: #555555;
}

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

.page-cockfighting__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__promo-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for promo images */
    object-fit: cover;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    color: #ffffff;
    margin: 20px 15px 10px;
}

.page-cockfighting__promo-card .page-cockfighting__card-description {
    color: #f0f0f0;
    padding: 0 15px 20px;
    flex-grow: 1;
}

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

.page-cockfighting__security-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__security-icon {
    width: 100px; /* Icon size */
    height: 100px;
    margin: 0 auto 20px;
    object-fit: contain;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-cockfighting__security-item .page-cockfighting__card-title {
    color: #26A9E0;
}

.page-cockfighting__security-item .page-cockfighting__card-description {
    color: #555555;
}

/* Support Section */
.page-cockfighting__support-channels {
    max-width: 800px;
    margin: 30px auto;
    text-align: center;
}

.page-cockfighting__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-cockfighting__contact-item {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-cockfighting__contact-item::before {
    content: "\2713"; /* Checkmark icon */
    color: #EA7C07;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__faq-item {
    background-color: #f8f8f8;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #eee;
    cursor: pointer;
    font-weight: bold;
    color: #26A9E0;
    border-bottom: 1px solid #e0e0e0;
}