.page-slot-games-jackpot-guide {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    background-color: #ffffff; /* Explicitly set for content area if needed, though body handles it */
}

.page-slot-games-jackpot-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(135deg, #26A9E0, #34C7F5); /* Soft gradient background */
    overflow: hidden;
    margin-bottom: 40px;
}

.page-slot-games-jackpot-guide__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for large screens */
    height: auto;
    object-fit: cover; /* Cover the area, crop if needed */
    display: block;
    margin-bottom: 20px; /* Space between image and text */
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games-jackpot-guide__hero-content {
    padding: 0 20px 40px;
    max-width: 900px;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-slot-games-jackpot-guide__main-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-slot-games-jackpot-guide__description {
    font-size: 18px;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games-jackpot-guide__btn-primary,
.page-slot-games-jackpot-guide__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    text-align: center;
}

.page-slot-games-jackpot-guide__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
    box-shadow: 0 4px 10px rgba(234, 124, 7, 0.4);
}

.page-slot-games-jackpot-guide__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(234, 124, 7, 0.5);
}

.page-slot-games-jackpot-guide__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Main brand color for secondary action */
    border: 2px solid #26A9E0;
    box-shadow: 0 4px 10px rgba(38, 169, 224, 0.2);
}

.page-slot-games-jackpot-guide__btn-secondary:hover {
    background-color: #e6f7ff;
    border-color: #1e87b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(38, 169, 224, 0.3);
}

.page-slot-games-jackpot-guide__cta-buttons--centered {
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-slot-games-jackpot-guide__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-slot-games-jackpot-guide__section:nth-of-type(odd) {
    background-color: #f9f9f9;
}

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

.page-slot-games-jackpot-guide__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

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

.page-slot-games-jackpot-guide__text-block {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #444444;
}

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

.page-slot-games-jackpot-guide__card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #333333;
}

.page-slot-games-jackpot-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games-jackpot-guide__card-title {
    font-size: 22px;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-slot-games-jackpot-guide__card-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    flex-grow: 1;
}

.page-slot-games-jackpot-guide__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px; /* Example max-width for content images */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
}

.page-slot-games-jackpot-guide__ordered-list,
.page-slot-games-jackpot-guide__unordered-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-slot-games-jackpot-guide__ordered-list li,
.page-slot-games-jackpot-guide__unordered-list li {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #444444;
}

.page-slot-games-jackpot-guide__ordered-list li strong {
    color: #26A9E0;
}

.page-slot-games-jackpot-guide__ordered-list li::before {
    content: counter(list-item) ".";
    counter-increment: list-item;
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #EA7C07;
    font-size: 18px;
}

.page-slot-games-jackpot-guide__unordered-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #EA7C07;
    font-size: 24px;
    line-height: 1;
    top: 5px;
}

.page-slot-games-jackpot-guide__story-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency in story cards */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games-jackpot-guide__link {
    color: #26A9E0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-slot-games-jackpot-guide__link:hover {
    color: #1e87b9;
}

/* FAQ Styles */
details.page-slot-games-jackpot-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
details.page-slot-games-jackpot-guide__faq-item summary.page-slot-games-jackpot-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px; /* Slightly larger font for question */
  font-weight: 600;
  color: #333333;
}
details.page-slot-games-jackpot-guide__faq-item summary.page-slot-games-jackpot-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games-jackpot-guide__faq-item summary.page-slot-games-jackpot-guide__faq-question:hover {
  background: #f5f5f5;
}
.page-slot-games-jackpot-guide__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-slot-games-jackpot-guide__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #26A9E0; /* Brand color for toggle */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
  line-height: 1;
}
details.page-slot-games-jackpot-guide__faq-item .page-slot-games-jackpot-guide__faq-answer {
  padding: 0 25px 25px; /* Increased padding */
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-slot-games-jackpot-guide__main-title {
        font-size: 42px;
    }
    .page-slot-games-jackpot-guide__description {
        font-size: 17px;
    }
    .page-slot-games-jackpot-guide__section-title {
        font-size: 32px;
    }
    .page-slot-games-jackpot-guide__btn-primary,
    .page-slot-games-jackpot-guide__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-slot-games-jackpot-guide__hero-image {
        margin-bottom: 15px;
    }
    .page-slot-games-jackpot-guide__card {
        padding: 25px;
    }
    .page-slot-games-jackpot-guide__card-title {
        font-size: 20px;
    }
    .page-slot-games-jackpot-guide__card-text {
        font-size: 15px;
    }
    .page-slot-games-jackpot-guide__image-content {
        margin: 30px auto;
    }
    .page-slot-games-jackpot-guide__story-image {
        height: 220px;
    }
    details.page-slot-games-jackpot-guide__faq-item summary.page-slot-games-jackpot-guide__faq-question {
        padding: 16px 20px;
        font-size: 17px;
    }
    .page-slot-games-jackpot-guide__faq-qtext {
        font-size: 17px;
    }
    .page-slot-games-jackpot-guide__faq-toggle {
        font-size: 26px;
        margin-left: 15px;
    }
    details.page-slot-games-jackpot-guide__faq-item .page-slot-games-jackpot-guide__faq-answer {
        padding: 0 20px 20px;
        font-size: 15px;
    }
}


@media (max-width: 768px) {
    .page-slot-games-jackpot-guide__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        margin-bottom: 30px;
    }

    .page-slot-games-jackpot-guide__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain; /* For mobile, ensure image content is fully visible */
        margin-bottom: 15px;
    }

    .page-slot-games-jackpot-guide__hero-content {
        padding: 0 15px 30px;
    }

    .page-slot-games-jackpot-guide__main-title {
        font-size: clamp(28px, 8vw, 38px); /* Responsive font size */
        margin-bottom: 10px;
    }

    .page-slot-games-jackpot-guide__description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .page-slot-games-jackpot-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        width: 100%; /* Ensure container takes full width */
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container */
    }

    .page-slot-games-jackpot-guide__btn-primary,
    .page-slot-games-jackpot-guide__btn-secondary {
        width: 100% !important; /* Full width for buttons */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-slot-games-jackpot-guide__section {
        padding: 40px 0;
        margin-bottom: 15px;
    }

    .page-slot-games-jackpot-guide__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games-jackpot-guide__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-slot-games-jackpot-guide__text-block {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .page-slot-games-jackpot-guide__grid {
        grid-template-columns: 1fr; /* Single column for grids on mobile */
        gap: 20px;
        margin-top: 20px;
    }

    .page-slot-games-jackpot-guide__card {
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

    .page-slot-games-jackpot-guide__card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .page-slot-games-jackpot-guide__card-text {
        font-size: 15px;
    }

    .page-slot-games-jackpot-guide__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
        border-radius: 10px;
        min-width: 200px !important; /* Ensure min size for content images */
        min-height: 200px !important;
    }

    .page-slot-games-jackpot-guide__ordered-list li,
    .page-slot-games-jackpot-guide__unordered-list li {
        font-size: 16px;
        margin-bottom: 10px;
        padding-left: 25px;
    }

    .page-slot-games-jackpot-guide__ordered-list li::before {
        font-size: 16px;
        top: 3px;
    }

    .page-slot-games-jackpot-guide__unordered-list li::before {
        font-size: 20px;
        top: 3px;
    }

    .page-slot-games-jackpot-guide__story-image {
        height: 180px; /* Adjust height for mobile story cards */
        margin-bottom: 15px;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    details.page-slot-games-jackpot-guide__faq-item {
        margin-bottom: 10px;
        border-radius: 6px;
    }
    details.page-slot-games-jackpot-guide__faq-item summary.page-slot-games-jackpot-guide__faq-question {
        padding: 15px 18px;
        font-size: 16px;
    }
    .page-slot-games-jackpot-guide__faq-qtext {
        font-size: 16px;
    }
    .page-slot-games-jackpot-guide__faq-toggle {
        font-size: 24px;
        margin-left: 10px;
        width: 24px;
    }
    details.page-slot-games-jackpot-guide__faq-item .page-slot-games-jackpot-guide__faq-answer {
        padding: 0 18px 18px;
        font-size: 14px;
    }
}