/* Base styles for the slot-games page */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F3F8FF); /* Default text color for dark body background */
    background-color: var(--deep-navy, #08162B);
}

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

.page-slot-games__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-main, #F3F8FF);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-slot-games__section-description {
    font-size: 18px;
    color: var(--text-secondary, #AFC4E8);
    text-align: center;
    max-width: 800px;
    margin: -20px auto 50px auto;
}

.page-slot-games__text-main {
    color: var(--text-main, #F3F8FF);
}

.page-slot-games__text-secondary {
    color: var(--text-secondary, #AFC4E8);
}

.page-slot-games__gold-text {
    color: var(--gold, #F2C14E);
}

.page-slot-games__highlight {
    color: var(--gold, #F2C14E);
    font-weight: bold;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    border: none;
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--text-main, #F3F8FF);
    border: 2px solid var(--border-color, #244D84);
}

.page-slot-games__btn-secondary:hover {
    background: var(--border-color, #244D84);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-small {
    padding: 8px 18px;
    font-size: 14px;
}

.page-slot-games__btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, not --header-offset */
    background-color: var(--deep-navy, #08162B);
    overflow: hidden;
}

.page-slot-games__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    padding: 20px;
}

.page-slot-games__hero-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.page-slot-games__hero-text-area {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: var(--card-bg, #10233F);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    flex-grow: 1;
}

.page-slot-games__main-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--gold, #F2C14E);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.page-slot-games__tagline {
    font-size: 19px;
    color: var(--text-secondary, #AFC4E8);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 60px 0;
    background-color: var(--deep-navy, #08162B);
}

.page-slot-games__text-block {
    font-size: 17px;
    color: var(--text-secondary, #AFC4E8);
    margin-bottom: 20px;
    text-align: justify;
}

/* Game Categories Section */
.page-slot-games__game-categories-section {
    padding: 60px 0;
    background: var(--card-bg, #10233F);
}

.page-slot-games__categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__category-card {
    background: var(--deep-navy, #08162B);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--divider, #1B3357);
}

.page-slot-games__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-slot-games__category-card .page-slot-games__card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__category-card .page-slot-games__card-description {
    font-size: 15px;
    color: var(--text-secondary, #AFC4E8);
    padding: 0 15px;
}

/* Advantages Section */
.page-slot-games__advantages-section {
    padding: 60px 0;
    background-color: var(--deep-navy, #08162B);
}

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

.page-slot-games__advantage-item {
    background: var(--card-bg, #10233F);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--divider, #1B3357);
}

.page-slot-games__advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__advantage-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 10px;
}

.page-slot-games__advantage-item .page-slot-games__item-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main, #F3F8FF);
    margin-bottom: 15px;
}

.page-slot-games__advantage-item .page-slot-games__item-description {
    font-size: 16px;
    color: var(--text-secondary, #AFC4E8);
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
    padding: 60px 0;
    background: var(--card-bg, #10233F);
}

.page-slot-games__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-slot-games__step-card {
    background: var(--deep-navy, #08162B);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--divider, #1B3357);
}

.page-slot-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color, #113B7A);
    border: 3px solid var(--gold, #F2C14E);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-slot-games__step-card .page-slot-games__card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-slot-games__step-card .page-slot-games__card-description {
    font-size: 15px;
    color: var(--text-secondary, #AFC4E8);
    margin-bottom: 25px;
}

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

.page-slot-games__cta-bottom p {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Tips Section */
.page-slot-games__tips-section {
    padding: 60px 0;
    background-color: var(--deep-navy, #08162B);
}

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

.page-slot-games__tip-card {
    background: var(--card-bg, #10233F);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--divider, #1B3357);
}

.page-slot-games__tip-card .page-slot-games__card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main, #F3F8FF);
    margin-bottom: 15px;
}

.page-slot-games__tip-card .page-slot-games__card-description {
    font-size: 16px;
    color: var(--text-secondary, #AFC4E8);
}

/* SEO Article Section */
.page-slot-games__seo-article-section {
    padding: 60px 0;
    background: var(--card-bg, #10233F);
}

.page-slot-games__article-body {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    color: var(--text-secondary, #AFC4E8);
    text-align: justify;
}

.page-slot-games__article-body h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main, #F3F8FF);
    margin-top: 35px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.page-slot-games__article-body p {
    margin-bottom: 20px;
}

.page-slot-games__bullet-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-slot-games__bullet-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary, #AFC4E8);
}

.page-slot-games__bullet-list li::before {
    content: '•';
    color: var(--gold, #F2C14E);
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}

.page-slot-games__article-figure {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-article {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: var(--deep-navy, #08162B);
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color, #244D84);
  overflow: hidden;
  background: var(--card-bg, #10233F);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
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: var(--primary-color, #113B7A);
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F3F8FF);
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  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: var(--deep-navy, #08162B);
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: var(--text-secondary, #AFC4E8);
}
details.page-slot-games__faq-item .page-slot-games__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
}


/* Media Queries for Responsive Design */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-slot-games__container {
        padding: 15px;
    }

    .page-slot-games__section-title {
        font-size: clamp(26px, 3.5vw, 38px);
    }

    .page-slot-games__section-description {
        font-size: 17px;
        margin-bottom: 40px;
    }

    .page-slot-games__hero-content-wrapper {
        gap: 20px;
        padding: 15px;
    }

    .page-slot-games__hero-text-area {
        padding: 25px;
    }

    .page-slot-games__main-title {
        font-size: clamp(28px, 4.5vw, 48px);
    }

    .page-slot-games__tagline {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .page-slot-games__cta-buttons {
        gap: 15px;
    }

    .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
        padding: 10px 20px;
        font-size: 15px;
    }

    .page-slot-games__category-card img {
        
    }

    .page-slot-games__advantage-item img {
        max-width: 200px;
    }

    .page-slot-games__article-body {
        font-size: 16px;
    }

    .page-slot-games__article-body h3 {
        font-size: 22px;
    }

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

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__hero-section {
        padding-top: 10px; /* Ensure small top padding for mobile */
    }

    .page-slot-games__hero-content-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .page-slot-games__hero-image img {
        object-fit: contain !important; /* Prevent cropping on mobile */
        aspect-ratio: unset !important; /* Allow natural aspect ratio or be defined by height: auto */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__hero-image {
        border-radius: 0;
        box-shadow: none;
    }

    .page-slot-games__hero-text-area {
        padding: 20px 15px;
        border-radius: 0;
        box-shadow: none;
    }

    .page-slot-games__main-title {
        font-size: clamp(28px, 8vw, 40px); /* Smaller on mobile, but still prominent */
        margin-bottom: 15px;
    }

    .page-slot-games__tagline {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .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;
    }

    .page-slot-games__section-title {
        font-size: clamp(24px, 7vw, 32px);
        margin-bottom: 30px;
        padding: 0 15px 10px;
    }

    .page-slot-games__section-description {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-slot-games__categories-grid,
    .page-slot-games__advantages-grid,
    .page-slot-games__step-by-step,
    .page-slot-games__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__category-card,
    .page-slot-games__advantage-item,
    .page-slot-games__step-card,
    .page-slot-games__tip-card {
        padding: 20px;
        border-radius: 10px;
    }

    .page-slot-games__category-card img {
        
    }

    .page-slot-games__category-card .page-slot-games__card-title {
        font-size: 20px;
    }

    .page-slot-games__advantage-item img {
        
    }

    .page-slot-games__advantage-item .page-slot-games__item-title {
        font-size: 22px;
    }

    .page-slot-games__step-number {
        width: 50px;
        height: 50px;
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-slot-games__step-card .page-slot-games__card-title {
        font-size: 20px;
    }

    .page-slot-games__cta-bottom p {
        font-size: 18px;
        padding: 0 15px;
    }

    .page-slot-games__btn-large {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-slot-games__seo-article-section {
        padding: 40px 0;
    }

    .page-slot-games__article-body {
        font-size: 16px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__article-body h3 {
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-slot-games__article-figure {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
    }

    .page-slot-games__cta-article {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .page-slot-games__faq-section {
        padding: 40px 0;
    }

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

    /* General image responsiveness for all content images */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-content-wrapper,
    .page-slot-games__cta-buttons,
    .page-slot-games__cta-article {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */ /* Handled by specific sections */
        /* padding-right: 15px; */ /* Handled by specific sections */
        overflow: hidden; /* Ensure no horizontal scroll from content */
    }
    .page-slot-games__products-grid { /* This page doesn't have a products-grid, but for completeness */
        overflow-x: hidden;
    }
}