/* style/jackpot.css */

:root {
    --primary-color: #3A005F;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #F8F8F8; /* From shared.css body */
    --background-dark: #3A005F;
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-jackpot {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background-color: var(--background-light);
}

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

.page-jackpot__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-jackpot__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* Hero Section */
.page-jackpot__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: var(--background-dark); /* Use primary color for hero background */
    color: var(--text-light);
    overflow: hidden; /* For image */
}

.page-jackpot__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-jackpot__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-jackpot__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.page-jackpot__hero-title {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--secondary-color); /* Gold for title */
    line-height: 1.2;
}

.page-jackpot__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-jackpot__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

.page-jackpot__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-jackpot__cta-button--primary {
    background: var(--secondary-color);
    color: var(--primary-color); /* Dark text on gold button */
    border: 2px solid var(--secondary-color);
}

.page-jackpot__cta-button--primary:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-jackpot__cta-button--secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-jackpot__cta-button--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Sections */
.page-jackpot__intro-section,
.page-jackpot__how-to-play-section,
.page-jackpot__tips-section,
.page-jackpot__faq-section {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 80px 0;
}

.page-jackpot__games-section,
.page-jackpot__promotions-section,
.page-jackpot__why-choose-us-section,
.page-jackpot__cta-final-section {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 80px 0;
}

.page-jackpot__games-section .page-jackpot__section-title,
.page-jackpot__promotions-section .page-jackpot__section-title,
.page-jackpot__why-choose-us-section .page-jackpot__section-title,
.page-jackpot__cta-final-section .page-jackpot__section-title {
    color: var(--secondary-color);
}

.page-jackpot__games-section .page-jackpot__section-description,
.page-jackpot__promotions-section .page-jackpot__section-description,
.page-jackpot__why-choose-us-section .page-jackpot__section-description,
.page-jackpot__cta-final-section .page-jackpot__section-description {
    color: var(--text-light);
}

.page-jackpot__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-jackpot__text-block {
    flex: 1;
}

.page-jackpot__text-block p {
    margin-bottom: 20px;
    font-size: 17px;
}

.page-jackpot__text-block a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-jackpot__text-block a:hover {
    text-decoration: underline;
}

.page-jackpot__image-block {
    flex: 1;
    text-align: center;
}

.page-jackpot__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.page-jackpot__game-cards,
.page-jackpot__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-jackpot__card {
    background: var(--card-bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-dark); /* Ensure dark text on light card background */
}

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

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

.page-jackpot__card-title {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 15px 10px;
}

.page-jackpot__card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-jackpot__card-title a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-jackpot__card-text {
    font-size: 16px;
    padding: 0 15px 20px;
    flex-grow: 1;
}

/* How To Play Steps */
.page-jackpot__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-jackpot__step-item {
    background: var(--card-bg-light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-jackpot__step-item:hover {
    transform: translateY(-5px);
}

.page-jackpot__step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-jackpot__step-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-jackpot__step-text {
    font-size: 16px;
    color: var(--text-dark);
}

.page-jackpot__step-text a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}
.page-jackpot__step-text a:hover {
    text-decoration: underline;
}

/* Promotions */
.page-jackpot__promo-cards .page-jackpot__card-image {
    height: 220px; /* Adjust height for promo images */
}

/* Tips List */
.page-jackpot__tips-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-jackpot__tips-item {
    background: var(--card-bg-light);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--secondary-color);
}

.page-jackpot__tips-heading {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-jackpot__tips-item p {
    font-size: 16px;
    color: var(--text-dark);
}

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

.page-jackpot__feature-item {
    background: var(--card-bg-light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    color: var(--text-dark);
}

.page-jackpot__feature-item:hover {
    transform: translateY(-5px);
}

.page-jackpot__feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block; /* Ensure it's not inline */
    object-fit: contain; /* Maintain aspect ratio */
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-jackpot__feature-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-jackpot__feature-text {
    font-size: 16px;
    color: var(--text-dark);
}