/* style/jackpot-games.css */

/* Base styles for the page content */
.page-jackpot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light background */
    background-color: #f8f8f8; /* Light background for the page */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-jackpot-games__container--center {
    text-align: center;
}

.page-jackpot-games__heading {
    font-size: 36px;
    color: #26A9E0; /* Brand color for headings */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-jackpot-games__sub-heading {
    font-size: 24px;
    color: #333333;
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-jackpot-games__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555555;
}

.page-jackpot-games__text-block--center {
    text-align: center;
}

/* Hero Section */
.page-jackpot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #26A9E0, #98dcfc); /* Gradient with brand color */
    color: #ffffff;
}

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

.page-jackpot-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-jackpot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-jackpot-games__main-title {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.page-jackpot-games__description {
    font-size: 22px;
    margin-bottom: 40px;
    color: #f0f0f0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

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

.page-jackpot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
}

.page-jackpot-games__btn-primary {
    background: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-jackpot-games__btn-primary:hover {
    background: #d46f06;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-jackpot-games__btn-secondary {
    background: #ffffff;
    color: #26A9E0; /* Brand color */
    border: 2px solid #26A9E0;
}

.page-jackpot-games__btn-secondary:hover {
    background: #e0f8ff;
    color: #1e87b7;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-jackpot-games__section {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-jackpot-games__dark-section {
    background: #26A9E0;
    color: #ffffff;
}

.page-jackpot-games__dark-section .page-jackpot-games__heading {
    color: #ffffff;
}

.page-jackpot-games__dark-section .page-jackpot-games__text-block {
    color: #f0f0f0;
}

.page-jackpot-games__dark-section .page-jackpot-games__sub-heading {
    color: #ffffff;
}

/* About Section */
.page-jackpot-games__image-content-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-jackpot-games__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-jackpot-games__image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-jackpot-games__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-jackpot-games__list-item {
    background: #f9f9f9;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    font-size: 17px;
    color: #444444;
}

.page-jackpot-games__list-item strong {
    color: #26A9E0;
}

/* Game Grid Section */
.page-jackpot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-jackpot-games__game-card {
    background: #ffffff;
    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;
}

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

.page-jackpot-games__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-jackpot-games__card-title {
    font-size: 22px;
    color: #26A9E0;
    margin: 15px 10px 10px;
    font-weight: bold;
}

.page-jackpot-games__card-description {
    font-size: 16px;
    color: #666666;
    padding: 0 15px 15px;
    flex-grow: 1; /* Make description take available space */
}

.page-jackpot-games__card-button {
    display: inline-block;
    background: #EA7C07;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: calc(100% - 30px); /* Adjust for padding */
    box-sizing: border-box;
}

.page-jackpot-games__card-button:hover {
    background: #d46f06;
}

.page-jackpot-games__cta-buttons--center {
    margin-top: 40px;
}

/* How To Section */
.page-jackpot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-jackpot-games__step-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-jackpot-games__step-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-jackpot-games__step-description {
    font-size: 16px;
    color: #666666;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-jackpot-games__step-button {
    display: inline-block;
    background: #EA7C07;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-jackpot-games__step-button:hover {
    background: #d46f06;
}

/* Promotions Section */
.page-jackpot-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-jackpot-games__promo-list .page-jackpot-games__list-item {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #ffffff;
    box-shadow: none;
    color: #ffffff;
    padding: 20px 25px;
}

.page-jackpot-games__promo-list .page-jackpot-games__sub-heading {
    color: #ffffff;
    margin-top: 0;
}

.page-jackpot-games__promo-list .page-jackpot-games__list-item p {
    color: #f0f0f0;
}

/* Security Section */
.page-jackpot-games__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-jackpot-games__security-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

.page-jackpot-games__security-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-jackpot-games__faq-list {
    margin-top: 40px;
}

.page-jackpot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-jackpot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-jackpot-games__faq-item.active .page-jackpot-games__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-jackpot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-jackpot-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-jackpot-games__faq-question:active {
    background: #eeeeee;
}

.page-jackpot-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px; /* Adjusted for better readability */
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #333333;
}

.page-jackpot-games__faq-toggle {
    font-size: 28px; /* Adjusted for better visibility */
    font-weight: bold;
    line-height: 1;
    color: #26A9E0; /* Brand color for toggle */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-jackpot-games__faq-item.active .page-jackpot-games__faq-toggle {
    color: #EA7C07; /* Login color when active */
    transform: rotate(45deg); /* Rotate for 'x' effect */
}