:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --card-bg: #FFFFFF;
    --page-bg: #F5F7FA;
    --text-main: #333333;
    --border-color: #E0E0E0;
    --header-offset: 122px; /* Default, will be overridden by shared.css body padding-top */
}

/* Base styles for the page */
.page-slot-games-guide {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for light background */
    background-color: var(--page-bg); /* Page background from custom colors */
    line-height: 1.6;
}

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

.page-slot-games-guide__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--primary-color); /* Fallback/container background */
}

.page-slot-games-guide__hero-image {
    width: 100%;
    height: 675px; /* Default large height for hero image */
    object-fit: cover;
    display: block;
}

.page-slot-games-guide__hero-content {
    position: relative; /* Not absolute, for image-above-text */
    max-width: 900px;
    margin: 30px auto 60px;
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent white for readability */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}

.page-slot-games-guide__main-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-slot-games-guide__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-main);
}

.page-slot-games-guide__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games-guide__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games-guide__cta-button--secondary {
    background: var(--card-bg); /* White background */
    color: var(--primary-color); /* Primary color text */
    border: 2px solid var(--primary-color);
}

.page-slot-games-guide__cta-button--secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.page-slot-games-guide__section {
    padding: 40px 0;
    margin-bottom: 20px;
    background-color: var(--card-bg); /* Default section background */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games-guide__section:nth-child(even) {
    background-color: #fcfcfc; /* Slightly different background for alternating sections */
}

.page-slot-games-guide__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-slot-games-guide__sub-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-slot-games-guide p {
    margin-bottom: 15px;
    font-size: 17px;
    color: var(--text-main);
}

.page-slot-games-guide ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-slot-games-guide li {
    margin-bottom: 10px;
    font-size: 17px;
    color: var(--text-main);
}

.page-slot-games-guide__image-content {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin: 25px 0;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

/* FAQ Section */
details.page-slot-games-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
details.page-slot-games-guide__faq-item summary.page-slot-games-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}
details.page-slot-games-guide__faq-item summary.page-slot-games-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games-guide__faq-item summary.page-slot-games-guide__faq-question:hover {
  background: #f5f5f5;
}
.page-slot-games-guide__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color); /* FAQ question text color */
}
.page-slot-games-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games-guide__faq-item .page-slot-games-guide__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}
.page-slot-games-guide__faq-answer p {
    margin-bottom: 0;
}

.page-slot-games-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 15px;
}

/* --- Responsive Styles --- */

/* Tablet and smaller screens */
@media (max-width: 1023px) {
    .page-slot-games-guide__main-title {
        font-size: 40px;
    }
    .page-slot-games-guide__section-title {
        font-size: 30px;
    }
    .page-slot-games-guide__sub-title {
        font-size: 24px;
    }
    .page-slot-games-guide__hero-image {
        height: 500px;
    }
    .page-slot-games-guide__hero-content {
        margin: 20px auto 40px;
        padding: 15px;
    }
    .page-slot-games-guide__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .page-slot-games-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games-guide__container {
        padding: 0 15px !important; /* Ensure padding on mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games-guide__hero-section {
        margin-bottom: 20px;
        padding-top: 5px; /* Adjust small top padding for mobile */
    }
    .page-slot-games-guide__hero-image {
        height: 300px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games-guide__hero-content {
        margin: 15px auto 30px;
        padding: 10px;
    }
    .page-slot-games-guide__main-title {
        font-size: clamp(28px, 8vw, 36px); /* Use clamp for H1 on mobile */
        margin-bottom: 10px;
    }
    .page-slot-games-guide__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-slot-games-guide__section {
        padding: 30px 0;
        margin-bottom: 15px;
    }
    .page-slot-games-guide__section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .page-slot-games-guide__sub-title {
        font-size: 22px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-slot-games-guide p,
    .page-slot-games-guide li {
        font-size: 16px;
    }

    /* Images responsiveness */
    .page-slot-games-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Buttons responsiveness */
    .page-slot-games-guide__cta-button,
    .page-slot-games-guide__btn-primary,
    .page-slot-games-guide__btn-secondary,
    .page-slot-games-guide a[class*="button"],
    .page-slot-games-guide a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* FAQ mobile adjustments */
    details.page-slot-games-guide__faq-item summary.page-slot-games-guide__faq-question { padding: 15px; }
    .page-slot-games-guide__faq-qtext { font-size: 16px; }
    details.page-slot-games-guide__faq-item .page-slot-games-guide__faq-answer { padding: 0 15px 15px; }
}