:root {
    /* Custom Colors */
    --page-slot-games-bg: #08160F;
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-border: #2E7A4E;
    --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-slot-games-glow: #57E38D;
    --page-slot-games-gold: #F2C14E;
    --page-slot-games-divider: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
    background-color: var(--page-slot-games-bg);
    color: var(--page-slot-games-text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-slot-games__section {
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    color: var(--page-slot-games-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-slot-games__text-block {
    font-size: 1.1em;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-slot-games__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    color: var(--page-slot-games-gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: var(--page-slot-games-text-main);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-btn-gradient);
    color: var(--page-slot-games-text-main);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--page-slot-games-gold);
    color: var(--page-slot-games-bg);
    transform: translateY(-3px);
}

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

/* Cards */
.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__card-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Ensure min size */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--page-slot-games-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__card-description {
    font-size: 1em;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.5;
}

/* Why Choose Section */
.page-slot-games__why-choose {
    background-color: var(--page-slot-games-deep-green);
}

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

/* Popular Games Section */
.page-slot-games__popular-games {
    background-color: var(--page-slot-games-bg);
}

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

.page-slot-games__game-card .page-slot-games__card-image {
    min-height: 200px;
    max-height: 250px;
}

/* How To Play Section */
.page-slot-games__how-to-play {
    background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games__step-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-item::before {
    counter-increment: step-counter;
    content: "0" counter(step-counter);
    font-size: 2.5em;
    font-weight: 700;
    color: var(--page-slot-games-gold);
    line-height: 1;
    flex-shrink: 0;
}

.page-slot-games__step-title {
    font-size: 1.4em;
    color: var(--page-slot-games-text-main);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-slot-games__step-item p {
    font-size: 1em;
    color: var(--page-slot-games-text-secondary);
    text-align: left;
    margin-bottom: 0;
}

/* Tips & Strategies Section */
.page-slot-games__tips-strategies {
    background-color: var(--page-slot-games-bg);
}

.page-slot-games__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-slot-games__text-content {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-slot-games__image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    min-height: 200px; /* Ensure min size */
}

.page-slot-games__bullet-list {
    list-style: none;
    padding-left: 0;
}

.page-slot-games__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--page-slot-games-text-secondary);
    font-size: 1.1em;
}

.page-slot-games__list-item::before {
    content: '★'; /* Star icon */
    position: absolute;
    left: 0;
    color: var(--page-slot-games-gold);
    font-size: 1.2em;
    line-height: 1;
}

.page-slot-games__list-item strong {
    color: var(--page-slot-games-text-main);
}

/* Promotions Section */
.page-slot-games__promotions {
    background-color: var(--page-slot-games-deep-green);
}

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

.page-slot-games__promotion-card .page-slot-games__card-image {
    min-height: 200px;
    max-height: 250px;
}

.page-slot-games__promotion-card .page-slot-games__btn-secondary {
    margin-top: 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: var(--page-slot-games-bg);
}

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

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--page-slot-games-text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--page-slot-games-gold);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--page-slot-games-gold);
    margin-left: 15px;
}

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

/* Final CTA Section */
.page-slot-games__cta-final {
    background-color: var(--page-slot-games-deep-green);
    text-align: center;
}

.page-slot-games__cta-final .page-slot-games__section-title {
    margin-bottom: 20px;
}

.page-slot-games__cta-final .page-slot-games__text-block {
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        padding-bottom: 40px;
    }
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__section {
        padding: 30px 0;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 25px;
    }
    .page-slot-games__text-block {
        font-size: 1em;
    }
    .page-slot-games__hero-section {
        padding-bottom: 30px;
        padding-top: 10px !important; /* body handles --header-offset, small top padding for this section */
    }
    .page-slot-games__hero-title {
        font-size: clamp(2em, 7vw, 3em);
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    .page-slot-games__hero-cta-buttons,
    .page-slot-games__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__feature-grid,
    .page-slot-games__game-grid,
    .page-slot-games__promotion-grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__content-wrapper {
        flex-direction: column;
    }
    .page-slot-games__text-content,
    .page-slot-games__image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-slot-games__image,
    .page-slot-games__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-height: 200px !important; /* Ensure min size */
    }
    .page-slot-games__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .page-slot-games__step-item::before {
        margin-bottom: 10px;
    }
    .page-slot-games__step-item p {
        text-align: center;
    }
    .page-slot-games__list-item {
        padding-left: 0;
        text-align: center;
    }
    .page-slot-games__list-item::before {
        position: static;
        display: block;
        margin-bottom: 5px;
    }
    .page-slot-games__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }
    /* Mobile specific container padding for all sections to prevent overflow */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      /* padding-left: 15px; */
      /* padding-right: 15px; */
    }
    .page-slot-games__hero-section .page-slot-games__hero-image-wrapper {
      padding: 0 15px;
    }
    .page-slot-games__hero-content {
      padding: 0 15px;
    }
    .page-slot-games__hero-cta-buttons {
      padding: 0 15px;
    }
    .page-slot-games__why-choose .page-slot-games__container,
    .page-slot-games__popular-games .page-slot-games__container,
    .page-slot-games__how-to-play .page-slot-games__container,
    .page-slot-games__tips-strategies .page-slot-games__container,
    .page-slot-games__promotions .page-slot-games__container,
    .page-slot-games__faq-section .page-slot-games__container,
    .page-slot-games__cta-final .page-slot-games__container {
      padding-left: 15px !important;
      padding-right: 15px !important;
    }
    .page-slot-games__hero-image {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
}