:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-slot-games-jackpot-tips {
    color: var(--color-text-main); /* Default text color for the page content */
    background-color: var(--color-background); /* Page background */
}

/* Hero Section */
.page-slot-games-jackpot-tips__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    background-color: var(--color-background);
    overflow: hidden;
}

.page-slot-games-jackpot-tips__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 30px; /* Space between image and text */
}

.page-slot-games-jackpot-tips__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-slot-games-jackpot-tips__hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%; /* Ensure content takes full width within max-width */
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slot-games-jackpot-tips__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Use clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gold);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.page-slot-games-jackpot-tips__description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games-jackpot-tips__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-slot-games-jackpot-tips__btn-primary,
.page-slot-games-jackpot-tips__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensure padding doesn't cause overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-slot-games-jackpot-tips__btn-primary {
    background: var(--color-button-gradient-start); /* Fallback for gradient */
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games-jackpot-tips__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-slot-games-jackpot-tips__btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-border);
}

.page-slot-games-jackpot-tips__btn-secondary:hover {
    background-color: var(--color-border);
    color: #ffffff;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-slot-games-jackpot-tips__section {
    padding: 60px 20px;
    width: 100%;
    box-sizing: border-box;
}

.page-slot-games-jackpot-tips__dark-section {
    background-color: var(--color-deep-green); /* Example dark background */
    color: var(--color-text-main);
}

.page-slot-games-jackpot-tips__light-bg {
    background-color: var(--color-background); /* Using the main background color for contrast in sections */
    color: var(--color-text-main);
}

.page-slot-games-jackpot-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px;
}

.page-slot-games-jackpot-tips__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games-jackpot-tips__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

.page-slot-games-jackpot-tips__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 25px;
    line-height: 1.4;
}

.page-slot-games-jackpot-tips__text-block {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-slot-games-jackpot-tips__text-block:last-child {
    margin-bottom: 0;
}

/* Image Content Grid */
.page-slot-games-jackpot-tips__image-content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-slot-games-jackpot-tips__image-content-grid--reverse {
    flex-direction: row-reverse;
}

.page-slot-games-jackpot-tips__text-block-wrapper {
    flex: 1;
}

.page-slot-games-jackpot-tips__image-wrapper {
    flex: 1;
    min-width: 300px; /* Ensure image doesn't get too small */
}

.page-slot-games-jackpot-tips__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Card Grid */
.page-slot-games-jackpot-tips__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games-jackpot-tips__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--color-text-main);
}

.page-slot-games-jackpot-tips__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-slot-games-jackpot-tips__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-slot-games-jackpot-tips__card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.page-slot-games-jackpot-tips__cta-buttons--center {
    margin-top: 40px;
}

/* FAQ Section */
.page-slot-games-jackpot-tips__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games-jackpot-tips__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-slot-games-jackpot-tips__faq-item[open] {
    background-color: var(--color-deep-green);
    border-color: var(--color-gold);
}

.page-slot-games-jackpot-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    list-style: none; /* Remove default marker for details summary */
    transition: color 0.3s ease;
}

.page-slot-games-jackpot-tips__faq-question::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

.page-slot-games-jackpot-tips__faq-item[open] .page-slot-games-jackpot-tips__faq-question {
    color: var(--color-gold);
}

.page-slot-games-jackpot-tips__faq-qtext {
    flex-grow: 1;
}

.page-slot-games-jackpot-tips__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 20px;
    color: var(--color-gold);
}

.page-slot-games-jackpot-tips__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games-jackpot-tips__image-content-grid {
        flex-direction: column;
        gap: 30px;
    }
    .page-slot-games-jackpot-tips__image-content-grid--reverse {
        flex-direction: column; /* Stacks normally on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-slot-games-jackpot-tips__hero-section {
        padding: 10px 15px 40px;
    }

    .page-slot-games-jackpot-tips__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-slot-games-jackpot-tips__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-slot-games-jackpot-tips__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games-jackpot-tips__btn-primary,
    .page-slot-games-jackpot-tips__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .page-slot-games-jackpot-tips__section {
        padding: 40px 15px;
    }

    .page-slot-games-jackpot-tips__container {
        padding: 0; /* Remove horizontal padding, let section handle it */
    }

    .page-slot-games-jackpot-tips__section-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-slot-games-jackpot-tips__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    .page-slot-games-jackpot-tips__text-block {
        font-size: 0.95rem;
    }

    .page-slot-games-jackpot-tips__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games-jackpot-tips__card {
        padding: 25px;
    }

    .page-slot-games-jackpot-tips__card-title {
        font-size: 1.15rem;
    }

    .page-slot-games-jackpot-tips__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-slot-games-jackpot-tips__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }

    /* Mobile Image Responsiveness */
    .page-slot-games-jackpot-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games-jackpot-tips__hero-image-wrapper,
    .page-slot-games-jackpot-tips__image-wrapper,
    .page-slot-games-jackpot-tips__section,
    .page-slot-games-jackpot-tips__card,
    .page-slot-games-jackpot-tips__container,
    .page-slot-games-jackpot-tips__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-slot-games-jackpot-tips__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Ensure video containers also adapt (though no video on this page, good for future proofing) */
    .page-slot-games-jackpot-tips video,
    .page-slot-games-jackpot-tips__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-slot-games-jackpot-tips__video-section,
    .page-slot-games-jackpot-tips__video-container,
    .page-slot-games-jackpot-tips__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-slot-games-jackpot-tips__video-section {
        padding-top: 10px !important;
    }

    /* Button specific mobile adjustments */
    .page-slot-games-jackpot-tips__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games-jackpot-tips__cta-button,
    .page-slot-games-jackpot-tips__btn-primary,
    .page-slot-games-jackpot-tips__btn-secondary,
    .page-slot-games-jackpot-tips a[class*="button"],
    .page-slot-games-jackpot-tips a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center; /* Center text in stacked buttons */
        padding-left: 15px; /* Add internal padding to buttons */
        padding-right: 15px;
    }
}

/* Ensure no filter is used on images */
.page-slot-games-jackpot-tips img {
    filter: none; /* Explicitly ensure no filter */
}

/* Content area text contrast */
.page-slot-games-jackpot-tips__content-area,
.page-slot-games-jackpot-tips p,
.page-slot-games-jackpot-tips li {
  color: var(--color-text-secondary); /* Ensure good contrast on dark background */
}

/* Specific dark/light background classes for text contrast (if needed) */
.page-slot-games-jackpot-tips__dark-bg {
  background-color: var(--color-background);
  color: var(--color-text-main);
}
.page-slot-games-jackpot-tips__light-bg {
  background-color: var(--color-background); /* In this context, it's a lighter shade than deep-green, still dark overall */
  color: var(--color-text-main);
}
.page-slot-games-jackpot-tips__medium-bg {
  /* Not explicitly used here but good to have for future */
  background-color: var(--color-secondary); /* Example */
  color: #000000; /* Default deep text for medium */
}

/* Contrast fix if needed (though with defined palette, should be ok) */
.page-slot-games-jackpot-tips__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-slot-games-jackpot-tips__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}