:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg: #111111;
    --background-color: #0A0A0A; /* Assuming this is the body background color from shared.css */
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --header-offset: 122px; /* Default value, assumed to be set in shared.css */
}

.page-sports {
    background-color: var(--background-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-sports__section-padding {
    padding: 60px 0;
}

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

.page-sports__section-title {
    font-size: 2.5em;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-sports__section-intro {
    font-size: 1.1em;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-sports__btn-primary {
    background: var(--button-gradient);
    color: #000000; /* Dark text for gradient button for better contrast */
    border: none;
}

.page-sports__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-sports__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-sports__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #000000; /* Dark text for hover state */
    transform: translateY(-2px);
}

.page-sports__btn-link {
    background: none;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-sports__btn-link:hover {
    background-color: var(--primary-color);
    color: #000000;
}

.page-sports__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Cards */
.page-sports__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color); /* Ensure text is light on dark card background */
}

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

.page-sports__card-title {
    font-size: 1.5em;
    color: var(--text-main-color);
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-sports__card-description {
    font-size: 1em;
    color: var(--text-main-color);
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    flex-direction: column; /* Image then text */
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-sports__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken video for text contrast */
}

.page-sports__hero-content {
    position: relative; /* Ensure content is above video */
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for readability */
    border-radius: 10px;
    max-width: 900px;
    margin: 50px auto; /* Centered with vertical margin */
    box-sizing: border-box;
    color: var(--text-main-color);
}

.page-sports__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
    color: var(--text-main-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-sports__hero-description {
    font-size: clamp(1em, 2vw, 1.3em);
    color: var(--text-main-color);
    margin-bottom: 30px;
}

/* Why Choose Section */
.page-sports__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-sports__feature-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Popular Sports Section */
.page-sports__sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-sports__sport-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Live Betting Section */
.page-sports__dark-section {
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-sports__live-betting-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-sports__live-betting-text {
    flex: 1;
    min-width: 300px;
}

.page-sports__live-betting-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-sports__live-betting-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.page-sports__live-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-sports__live-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-main-color);
}

.page-sports__live-features li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Bonuses Section */
.page-sports__bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-sports__bonus-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* How to Start Section */
.page-sports__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.page-sports__step-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 20px;
}

/* Mobile App Section */
.page-sports__mobile-app-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-sports__mobile-app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-sports__mobile-app-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* constrain height for larger images */
    object-fit: contain;
    border-radius: 10px;
}

.page-sports__mobile-app-content {
    flex: 1;
    min-width: 300px;
}

.page-sports__app-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-sports__app-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-main-color);
}

.page-sports__app-features li::before {
    content: '📱';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-sports__rg-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 20px;
}

.page-sports__responsible-gaming-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
}

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

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

/* FAQ Section */
.page-sports__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    cursor: pointer;
    background-color: #1a1a1a; /* Slightly lighter dark for question header */
    color: var(--text-main-color);
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
    background-color: #2a2a2a;
}

.page-sports__faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: var(--text-main-color);
}

.page-sports__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-sports__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-main-color);
}

.page-sports__faq-item.active .page-sports__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-sports__faq-answer p {
    margin: 0;
    color: var(--text-main-color);
}