/* style/slot-games.css */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --bg-color-dark: #0A0A0A;
    --card-bg-color: #111111;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --text-light-on-dark: #ffffff;
    --text-dark-on-light: #333333;
}

.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark-on-light); /* Default for light backgrounds */
    background: var(--bg-color-dark);
}

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

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

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding: 10px 0 40px;
    text-align: center;
    overflow: hidden;
    background: var(--bg-color-dark);
    color: var(--text-main-color);
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.6);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 15px 20px;
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main-color);
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

.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: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--card-bg-color);
    transform: translateY(-2px);
}

.page-slot-games__centered-btn {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__mt-20 {
    margin-top: 20px;
}

/* Section Titles */
.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
}

.page-slot-games__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Intro Section */
.page-slot-games__intro-section {
    background: #ffffff;
    color: var(--text-dark-on-light);
    padding: 60px 0;
}

.page-slot-games__intro-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    padding: 60px 0;
}

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

.page-slot-games__why-choose-item {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__why-choose-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-slot-games__why-choose-heading {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Game Types Section */
.page-slot-games__game-types-section {
    background: #ffffff;
    color: var(--text-dark-on-light);
    padding: 60px 0;
}

.page-slot-games__game-types-section p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
}

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

.page-slot-games__game-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    color: var(--text-main-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__game-card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
    padding: 0 15px;
}

.page-slot-games__game-card-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    padding: 0 15px;
    text-align: justify;
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
    padding: 60px 0;
}

.page-slot-games__how-to-play-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__how-to-play-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
}

.page-slot-games__how-to-play-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    background: var(--primary-color);
    color: #ffffff;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-right: 20px;
}

.page-slot-games__list-heading {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-slot-games__how-to-play-list p {
    margin: 0;
    text-align: justify;
}

.page-slot-games__game-trial-wrapper {
    margin-top: 50px;
    text-align: center;
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
}

.page-slot-games__game-trial-frame {
    width: 100%;
    height: 500px; /* Default height for iframe */
    border: none;
    border-radius: 8px;
    margin-top: 20px;
}

/* Tips & Strategies Section */
.page-slot-games__tips-strategies-section {
    background: #ffffff;
    color: var(--text-dark-on-light);
    padding: 60px 0;
}

.page-slot-games__tips-strategies-section p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
}

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

.page-slot-games__tip-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    color: var(--text-main-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__tip-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__tip-card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
    padding: 0 15px;
}

.page-slot-games__tip-card-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    padding: 0 15px;
    text-align: justify;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 0;
}

.page-slot-games__promotions-section p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
}

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

.page-slot-games__promo-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    color: var(--text-main-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__promo-card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
    padding: 0 15px;
}

.page-slot-games__promo-card-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    padding: 0 15px;
    text-align: justify;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background: #ffffff;
    color: var(--text-dark-on-light);
    padding: 60px 0;
}

.page-slot-games__faq-list {
    margin-top: 40px;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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-dark-on-light);
}
.page-slot-games__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__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark-on-light);
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__conclusion-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--text-main-color);
}

/* General Image & Container Responsive */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-slot-games__section,
.page-slot-games__card,
.page-slot-games__container,
.page-slot-games__hero-cta-buttons,
.page-slot-games__why-choose-grid,
.page-slot-games__game-types-grid,
.page-slot-games__tips-grid,
.page-slot-games__promo-grid,
.page-slot-games__faq-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1023px) {
    /* Homepage trial shell specific CSS - NOT applicable for this inner page, but kept as per instructions if it were a homepage */
    /* This section is explicitly stated to be for homepage, but if the instruction implies including it regardless, here it is. */
    .page-slot-games__home-hero {
        display: block !important;
        grid-template-columns: none !important;
        height: auto !important;
        max-height: none !important;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .page-slot-games__hero-brand,
    .page-slot-games__hero-jackpot {
        display: none !important;
    }
    .page-slot-games__game-trial {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: hidden !important;
        margin: 0 auto;
        padding: 0 0 12px !important;
        box-sizing: border-box;
    }
    .page-slot-games__game-trial-shell {
        height: auto !important;
        max-height: none !important;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    .page-slot-games__game-trial-topbar,
    .page-slot-games__game-trial-bottombar {
        display: none !important;
    }
    .page-slot-games__game-trial-viewport {
        position: relative;
        width: 100%;
        aspect-ratio: 1024 / 768;
        flex: none !important;
        min-height: 240px;
        max-height: none !important;
        overflow: hidden;
        box-sizing: border-box;
    }
    .page-slot-games__game-trial-frame {
        position: absolute;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        max-width: 100%;
        border: none;
        z-index: 1;
        overflow: hidden;
    }
    .page-slot-games__game-trial-overlay {
        z-index: 5 !important;
        pointer-events: auto !important;
    }
    .page-slot-games__game-trial-start {
        z-index: 6 !important;
        pointer-events: auto !important;
        touch-action: manipulation;
    }

    /* General adjustments for tablets/smaller desktops */
    .page-slot-games__hero-content {
        padding: 40px 15px 20px;
    }
    .page-slot-games__main-title {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__hero-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
        width: 80%;
        margin-bottom: 15px;
    }
    .page-slot-games__why-choose-grid, .page-slot-games__game-types-grid, .page-slot-games__tips-grid, .page-slot-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .page-slot-games__how-to-play-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-slot-games__how-to-play-list li::before {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-slot-games__list-heading {
        text-align: center;
    }
}

@media (min-width: 1024px) {
    /* Homepage trial shell specific CSS - NOT applicable for this inner page, but kept as per instructions if it were a homepage */
    .page-slot-games__home-hero {
        display: grid;
        grid-template-columns: 26% 48% 26%;
        gap: 16px;
        align-items: stretch;
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 10px 16px 24px;
        box-sizing: border-box;
    }
    .page-slot-games__hero-brand,
    .page-slot-games__hero-jackpot,
    .page-slot-games__game-trial {
        height: 300px;
        max-height: 300px;
        overflow: hidden;
        box-sizing: border-box;
    }
    .page-slot-games__game-trial {
        max-width: none !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .page-slot-games__game-trial-shell {
        display: flex;
        flex-direction: column;
        height: 100%;
        max-height: 300px;
        box-sizing: border-box;
    }
    .page-slot-games__game-trial-viewport {
        flex: 1;
        min-height: 0;
        position: relative;
        width: 100%;
    }
    .page-slot-games__game-trial-frame {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        border: none;
    }
    .page-slot-games__hero-jackpot-claim {
        background: #c62828 !important;
        color: #fff !important;
    }

    /* PC specific layouts for content sections */
    .page-slot-games__why-choose-grid, .page-slot-games__game-types-grid, .page-slot-games__tips-grid, .page-slot-games__promo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .page-slot-games__promo-strip-track { /* Placeholder for promo strip if it existed */
        grid-template-columns: repeat(4, 1fr);
        max-width: 1280px;
        margin: 0 auto;
    }
    .page-slot-games__hot-games-grid { /* Placeholder for hot games if it existed */
        grid-template-columns: repeat(6, 1fr);
        max-width: 1280px;
        margin: 0 auto;
    }
    .page-slot-games__hero-brand .page-slot-games__trust-items { /* Placeholder for brand intro if it existed */
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }
    .page-slot-games__game-trial-shell {
        border: 1px solid rgba(212,175,55,.45);
        border-radius:10px;
        overflow:hidden;
    }
    .page-slot-games__promo-strip{margin-top:16px;}
}

@media (max-width: 768px) {
    .page-slot-games__hero-content {
        padding: 20px 15px;
    }
    .page-slot-games__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    /* Buttons */
    .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: 1em;
    }
    .page-slot-games__hero-cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }

    /* General images and containers */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .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;
    }

    /* FAQ */
    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; }

    /* How To Play List */
    .page-slot-games__how-to-play-list li {
        padding: 20px;
    }
    .page-slot-games__how-to-play-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }

    /* Game Trial Iframe */
    .page-slot-games__game-trial-frame {
        height: 300px; /* Smaller height for mobile iframe */
    }
}

/* FAQ Toggle Icons (for homepage trial shell, if applicable) */
.page-slot-games__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-slot-games__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}
.page-slot-games__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}
.page-slot-games__game-trial-shell{border:1px solid var(--border-color);border-radius:10px;overflow:hidden;}
.page-slot-games__reward-modal{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,0.8);display:flex;justify-content:center;align-items:center;}
.page-slot-games__reward-modal[hidden] {display: none;}
.page-slot-games__reward-modal-content {background: var(--card-bg-color); color: var(--text-main-color); padding: 40px; border-radius: 15px; text-align: center; position: relative; max-width: 90%;}
.page-slot-games__reward-modal-close {position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 2em; color: var(--text-main-color); cursor: pointer;}
.page-slot-games__reward-modal-title {color: var(--primary-color); font-size: 2em; margin-bottom: 20px;}
.page-slot-games__reward-modal-text {font-size: 1.1em; margin-bottom: 30px;}
.page-slot-games__reward-modal-cta {background: var(--button-gradient); color: #ffffff; padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: bold;}