/* style/sports.css */
.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default light text for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

.page-sports__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 60px 20px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

.page-sports__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-sports__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-sports__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Custom color for main title */
    line-height: 1.2;
}

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

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

.page-sports__btn-primary, .page-sports__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, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-sports__btn-primary {
    background-color: #C30808; /* Custom Register/Login color */
    color: #FFFF00; /* Custom Register/Login font color */
    border: 2px solid #C30808;
}

.page-sports__btn-primary:hover {
    background-color: #e01c1c;
    transform: translateY(-2px);
}

.page-sports__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-sports__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-sports__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-sports__section-title {
    font-size: 2.8em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #017439; /* Brand primary color for titles */
}

.page-sports__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #333333; /* Dark text for light background */
}

.page-sports__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter than body background for contrast */
    color: #ffffff;
}

.page-sports__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-sports__why-choose-us .page-sports__section-title,
.page-sports__other-sports-section .page-sports__section-title,
.page-sports__promotions-section .page-sports__section-title,
.page-sports__faq-section .page-sports__section-title {
    color: #017439;
}

.page-sports__why-choose-us .page-sports__section-description,
.page-sports__other-sports-section .page-sports__section-description,
.page-sports__promotions-section .page-sports__section-description,
.page-sports__faq-section .page-sports__section-description {
    color: #333333;
}

.page-sports__cockfighting-section .page-sports__section-title,
.page-sports__how-to-play .page-sports__section-title,
.page-sports__security-section .page-sports__section-title,
.page-sports__conclusion-section .page-sports__section-title {
    color: #FFFF00; /* Accent color for titles on dark background */
}

.page-sports__cockfighting-section .page-sports__section-description,
.page-sports__how-to-play .page-sports__section-description,
.page-sports__security-section .page-sports__section-description,
.page-sports__conclusion-section .page-sports__section-description {
    color: #f0f0f0;
}

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

.page-sports__card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-sports__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-sports__card-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #017439;
}

.page-sports__card-text {
    font-size: 1em;
    color: #555555;
}

.page-sports__cockfighting-section {
    padding: 60px 20px;
    text-align: center;
}

.page-sports__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.page-sports__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.page-sports__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.page-sports__video-overlay:hover {
    opacity: 1;
}

.page-sports__video-cta {
    background-color: #C30808; /* Custom color for CTA on video */
    color: #FFFF00; /* Custom font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-sports__video-cta:hover {
    background-color: #e01c1c;
}

.page-sports__cockfighting-details {
    margin-top: 50px;
    text-align: left;
}

.page-sports__subsection-title {
    font-size: 2em;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #FFFF00; /* Accent color for titles on dark background */
}

.page-sports__cockfighting-details p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #f0f0f0;
}

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

.page-sports__step-card {
    background-color: #2a2a2a; /* Darker card for dark section */
    color: #ffffff;
    border: 1px solid #3a3a3a;
}