/* style/sports.css */

/* Base styles and container */
.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-sports__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Added padding for smaller screens */
    box-sizing: border-box;
}

.page-sports__content-area {
    padding: 40px 0;
}

/* Sections */
.page-sports__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 0;
    overflow: hidden;
    min-height: 600px;
    background-color: #0a0a0a; /* Ensure background for hero */
}

.page-sports__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4; /* Slightly dim image for text readability */
}

.page-sports__hero-title {
    font-size: 3.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-sports__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't overflow */
}

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

.page-sports__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-sports__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #017439; /* Primary brand color */
}

.page-sports__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

.page-sports__section-title {
    font-size: 2.5em;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-sports__about-section p,
.page-sports__promotions-section p,
.page-sports__faq-section p,
.page-sports__live-betting-section p {
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-sports__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Popular Sports Grid */
.page-sports__popular-sports-section {
    background-color: #1a1a1a; /* Slightly lighter dark background */
    padding: 60px 0;
}

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

.page-sports__sport-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-sports__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-sports__card-title {
    font-size: 1.5em;
    margin: 20px 10px 10px;
}

.page-sports__card-title a {
    color: #017439; /* Primary brand color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-sports__card-title a:hover {
    color: #FFFFFF;
}

.page-sports__sport-card p {
    color: #cccccc;
    padding: 0 15px;
    font-size: 0.95em;
}

/* Why Choose Section */
.page-sports__dark-section {
    background-color: #017439; /* Primary brand color as background */
    color: #FFFFFF; /* Ensure white text on brand color */
    padding: 60px 0;
}

.page-sports__dark-section .page-sports__section-title {
    color: #FFFFFF;
}

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

.page-sports__feature-item {
    background-color: rgba(255, 255, 255, 0.1); /* Light transparent background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__feature-icon {
    object-fit: contain;
    margin: 0 auto 15px; /* Center icon */
    display: block;
}

.page-sports__feature-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #FFFF00; /* Yellow for emphasis */
}

.page-sports__feature-item p {
    color: #f0f0f0;
    font-size: 0.9em;
}

/* Live Betting Section */
.page-sports__live-betting-section {
    padding: 60px 0;
    background-color: #0a0a0a;
}

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

.page-sports__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.page-sports__video-description {
    text-align: center;
    color: #cccccc;
    margin-top: 15px;
    font-style: italic;
}

/* Promotions Section */
.page-sports__promotions-section {
    background-color: #1a1a1a;
    padding: 60px 0;
}

.page-sports__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-sports__promo-list li {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    color: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-sports__promo-list li:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__promo-list li a {
    color: #FFFF00; /* Yellow for promo links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-sports__promo-list li a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* FAQ Section */
.page-sports__faq-section {
    background-color: #0a0a0a;
    padding: 60px 0;
}

.page-sports__faq-list {
    margin-top: 30px;
}

.page-sports__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

.page-sports__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}