:root {
    --primary-color: #26A9E0;
    --secondary-color: #EA7C07; /* Color for login/CTA to stand out */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #ffffff;
    --background-dark: #26A9E0; /* Using primary color as dark background for sections */
    --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark); /* Default dark text on light background */
    background: var(--background-light); /* Assuming body background is light */
}

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

/* Section styling */
.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__section:nth-of-type(even) {
    background-color: #f9f9f9; /* Slightly off-white for alternating sections */
}

.page-slot-games__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

.page-slot-games__dark-bg .page-slot-games__title,
.page-slot-games__dark-bg .page-slot-games__subtitle,
.page-slot-games__dark-bg .page-slot-games__text-block,
.page-slot-games__dark-bg .page-slot-games__list {
    color: var(--text-color-light);
}

.page-slot-games__light-bg {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

/* Titles and headings */
.page-slot-games__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    color: var(--primary-color);
}

.page-slot-games__subtitle {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--primary-color);
}

.page-slot-games__text-block {
    font-size: 17px;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-slot-games__text-block .highlight {
    font-weight: bold;
    color: var(--secondary-color);
}

.page-slot-games__list {
    list-style: disc;
    text-align: left;
    max-width: 900px;
    margin: 0 auto 25px;
    padding-left: 40px;
    font-size: 17px;
}

.page-slot-games__list li {
    margin-bottom: 10px;
}

.page-slot-games__list-item-strong {
    color: var(--primary-color);
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for visual spacing, body handles main offset */
    background-color: #f0f8ff; /* Light background for hero section */
}

.page-slot-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
}

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

.page-slot-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.1);
}

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

.page-slot-games__hero-content h1 {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-slot-games__hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-color-dark);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button styles */
.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__cta-button--primary {
    background: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
}

.page-slot-games__cta-button--primary:hover {
    background: #1e87c0;
    border-color: #1e87c0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

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

.page-slot-games__cta-button--secondary:hover {
    background: #c76706;
    border-color: #c76706;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.page-slot-games__cta-wrapper {
    margin-top: 40px;
    text-align: center;
}


/* Features Grid */
.page-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__feature-item {
    background: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-slot-games__feature-item img {
    width: 100%;
    height: auto;
    max-width: 250px; /* Constrain image width within feature item */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    align-self: center; /* Center the image */
}

.page-slot-games__feature-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* Giftcode Promo Section */
.page-slot-games__giftcode-promo {
    padding: 80px 0;
}

.page-slot-games__giftcode-benefits {
    margin-top: 40px;
}

/* Game Type Grid */
.page-slot-games__game-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__game-type-item {
    background: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-type-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-slot-games__game-type-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-slot-games__game-type-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-slot-games__game-type-description {
    font-size: 16px;
    color: var(--text-color-dark);
}

/* Guide List */
.page-slot-games__guide-list {
    list-style: decimal;
    text-align: left;
    max-width: 900px;
    margin: 0 auto 25px;
    padding-left: 40px;
    font-size: 17px;
}

.page-slot-games__guide-list li {
    margin-bottom: 10px;
}

/* Tips List */
.page-slot-games__tips-list {
    list-style: disc;
    text-align: left;
    max-width: 900px;
    margin: 0 auto 25px;
    padding-left: 40px;
    font-size: 17px;
}

.page-slot-games__tips-list li {
    margin-bottom: 10px;
}

.page-slot-games__tips-list li ul {
    list-style: circle;
    margin-top: 5px;
    padding-left: 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--background-light);
}
details.page-slot-games__faq-item summary.page-slot-games__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;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-color-dark);
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  text-align: left;
  font-size: 16px;
  color: var(--text-color-dark);
}
details.page-slot-games__faq-item .page-slot-games__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-content h1 {
        font-size: clamp(28px, 4.5vw, 48px);
    }
    .page-slot-games__hero-description {
        font-size: clamp(15px, 2.2vw, 18px);
    }
    .page-slot-games__title {
        font-size: clamp(26px, 3.5vw, 38px);
    }
    .page-slot-games__subtitle {
        font-size: clamp(20px, 2.5vw, 28px);
    }
    .page-slot-games__text-block,
    .page-slot-games__list,
    .page-slot-games__feature-description,
    .page-slot-games__game-type-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body handles main offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__hero-image img {
        border-radius: 4px;
    }
    .page-slot-games__feature-item img {
        max-width: 100% !important; /* Ensure feature images scale down */
    }
    .page-slot-games__game-type-item img {
        max-width: 100% !important; /* Ensure game type images scale down */
    }

    /* Buttons responsiveness */
    .page-slot-games__cta-button,
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games 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;
        font-size: 16px;
        padding: 12px 20px;
    }
    .page-slot-games__cta-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to wrapper itself */
    }

    .page-slot-games__features-grid,
    .page-slot-games__game-type-grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 20px;
    }

    .page-slot-games__feature-item,
    .page-slot-games__game-type-item {
        padding: 20px;
    }

    .page-slot-games__feature-title,
    .page-slot-games__game-type-title {
        font-size: 20px;
    }
    .page-slot-games__text-block,
    .page-slot-games__list,
    .page-slot-games__guide-list,
    .page-slot-games__tips-list,
    .page-slot-games__feature-description,
    .page-slot-games__game-type-description {
        font-size: 15px;
    }
    .page-slot-games__list,
    .page-slot-games__guide-list,
    .page-slot-games__tips-list {
        padding-left: 25px;
    }

    details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
    .page-slot-games__faq-qtext { font-size: 15px; }
    details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
}

/* Ensure content area images are not too small */
.page-slot-games img:not(.page-slot-games__hero-image img):not(.page-slot-games__feature-item img):not(.page-slot-games__game-type-item img) {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filters for images */
.page-slot-games img {
    filter: none;
}