/* style/sports.css */
/* -------------------------------------------------------------------------- */
/* Base Styles */
/* -------------------------------------------------------------------------- */
.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css var(--dark-bg-1) */
}

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

.page-sports__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold color for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-sports__text-block {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-sports__dark-section {
    background-color: #000080; /* Dark blue background */
    color: #ffffff;
    padding: 60px 0;
}

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

.page-sports__dark-section .page-sports__text-block {
    color: #f0f0f0;
}

/* -------------------------------------------------------------------------- */
/* Buttons */
/* -------------------------------------------------------------------------- */
.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure long words break */
}

.page-sports__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark blue text for contrast */
    border: 2px solid #FFD700;
}

.page-sports__btn-primary:hover {
    background-color: #e6c200;
    color: #000050;
}

.page-sports__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-sports__btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
}

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

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

/* -------------------------------------------------------------------------- */
/* Hero Section */
/* -------------------------------------------------------------------------- */
.page-sports__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

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

.page-sports__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 2;
}

.page-sports__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-sports__hero-title {
    font-size: 3.8em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: bold;
}

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

/* -------------------------------------------------------------------------- */
/* Introduction Section */
/* -------------------------------------------------------------------------- */
.page-sports__introduction-section {
    padding: 60px 0;
    background-color: transparent; /* Inherit from body */
    color: #f0f0f0;
}

.page-sports__introduction-section .page-sports__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* -------------------------------------------------------------------------- */
/* Features Section */
/* -------------------------------------------------------------------------- */
.page-sports__features-section {
    padding: 60px 0;
}

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

.page-sports__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-sports__feature-card:hover {
    transform: translateY(-10px);
}

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

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

/* -------------------------------------------------------------------------- */
/* Sports Types Section */
/* -------------------------------------------------------------------------- */
.page-sports__sports-types-section {
    padding: 60px 0;
    background-color: transparent;
    color: #f0f0f0;
}

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

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

.page-sports__sport-card:hover {
    transform: translateY(-10px);
}

.page-sports__sport-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-sports__sport-title {
    font-size: 1.8em;
    color: #FFD700;
    margin: 20px 0 10px;
    font-weight: bold;
}

.page-sports__sport-description {
    font-size: 1em;
    color: #f0f0f0;
    padding: 0 20px 20px;
}

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

.page-sports__live-betting-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-sports__live-betting-image {
    flex: 1;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-sports__live-betting-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.page-sports__live-betting-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    color: #f0f0f0;
}

.page-sports__live-betting-list li::before {
    content: '✔️';
    position: absolute;
    left: 0;
    color: #FFD700;
}

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

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

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

.page-sports__promotion-card:hover {
    transform: translateY(-10px);
}

.page-sports__promotion-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-sports__promotion-title {
    font-size: 1.8em;
    color: #FFD700;
    margin: 20px 0 10px;
    font-weight: bold;
}

.page-sports__promotion-description {
    font-size: 1em;
    color: #f0f0f0;
    padding: 0 20px 20px;
}

/* -------------------------------------------------------------------------- */
/* How To Play Section */
/* -------------------------------------------------------------------------- */
.page-sports__how-to-play-section {
    padding: 60px 0;
}

.page-sports__how-to-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.page-sports__how-to-list li {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #FFD700;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__how-to-list li strong {
    color: #FFD700;
    font-size: 1.2em;
    display: block;
    margin-bottom: 5px;
}

/* -------------------------------------------------------------------------- */
/* Mobile App Section */
/* -------------------------------------------------------------------------- */
.page-sports__mobile-app-section {
    padding: 60px 0;
    background-color: transparent;
    color: #f0f0f0;
}

.page-sports__mobile-app-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-sports__mobile-app-image {
    flex: 1;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-sports__mobile-app-features {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.page-sports__mobile-app-features li {
    font-size: 1.1em;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    color: #f0f0f0;
}

.page-sports__mobile-app-features li::before {
    content: '📱';
    position: absolute;
    left: 0;
    color: #FFD700; /* Decorative, not text */
}