/* style/slot-games.css */

/* Custom Colors */
:root {
    --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-glow: #57E38D;
    --page-slot-games-gold: #F2C14E;
    --page-slot-games-divider: #1E3A2A;
    --page-slot-games-deep-green: #0A4B2C;
    --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-slot-games-primary-color: #11A84E;
    --page-slot-games-secondary-color: #22C768;
}

/* Base styles for the page content */
.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__section-spacing {
    padding: 60px 0;
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--page-slot-games-gold);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
    text-align: center;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit image height */
    overflow: hidden;
}

.page-slot-games__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin-bottom: 40px; /* Space between image and text */
}

.page-slot-games__hero-content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__main-title {
    font-weight: 900;
    color: var(--page-slot-games-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

/* Ensure H1 does not have fixed font-size, relying on shared/browser defaults */
.page-slot-games__hero-section h1 {
    /* font-size: 3.5em; */ /* Removed fixed font-size as per strict rule */
}

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

/* 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;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-btn-gradient);
    color: #ffffff; /* Explicitly white for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    color: var(--page-slot-games-gold);
    transform: translateY(-3px);
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-slot-games__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

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

/* Content Layouts */
.page-slot-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-slot-games__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-slot-games__text-block,
.page-slot-games__image-block {
    flex: 1;
}

.page-slot-games__text-block p {
    margin-bottom: 15px;
    color: var(--page-slot-games-text-main);
}

.page-slot-games__image-block img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__game-card {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__card-content {
    padding: 20px;
}

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

.page-slot-games__card-text {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 20px;
}

/* How to Play */
.page-slot-games__step-list {
    list-style: none;
    padding: 0;
}

.page-slot-games__step-item {
    background-color: var(--page-slot-games-card-bg);
    border-left: 5px solid var(--page-slot-games-gold);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__step-title {
    font-size: 1.3em;
    color: var(--page-slot-games-gold);
    margin-bottom: 10px;
}

.page-slot-games__step-item p {
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 0;
}

/* Promotions */
.page-slot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__promo-card {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Tips */
.page-slot-games__tip-list {
    list-style: none;
    padding: 0;
}

.page-slot-games__tip-item {
    background-color: var(--page-slot-games-card-bg);
    border-left: 5px solid var(--page-slot-games-primary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__tip-title {
    font-size: 1.3em;
    color: var(--page-slot-games-primary-color);
    margin-bottom: 10px;
}

.page-slot-games__tip-item p {
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 0;
}

/* Responsible Gaming */
/* Reuses content-wrapper styles */

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-slot-games__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--page-slot-games-text-main);
    background-color: var(--page-slot-games-deep-green);
    border-bottom: 1px solid var(--page-slot-games-divider);
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    padding: 20px;
    background-color: var(--page-slot-games-card-bg);
    color: var(--page-slot-games-text-secondary);
    font-size: 1em;
}

/* CTA Banner */
.page-slot-games__cta-banner {
    background: var(--page-slot-games-deep-green);
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__cta-banner .page-slot-games__section-title {
    color: var(--page-slot-games-gold);
    margin-bottom: 20px;
}

.page-slot-games__cta-banner .page-slot-games__description {
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 40px;
}

/* Dark/Light Background Sections */
.page-slot-games__dark-section {
    background-color: var(--page-slot-games-bg);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__light-section {
    background-color: #ffffff;
    color: #333333;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__hero-section {
        min-height: 500px;
        padding-bottom: 40px;
    }
    .page-slot-games__main-title {
        font-size: 2.5em;
    }
    .page-slot-games__content-wrapper {
        flex-direction: column;
    }
    .page-slot-games__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-slot-games__text-block, .page-slot-games__image-block {
        width: 100%;
    }
    .page-slot-games__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-slot-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games__section-spacing {
        padding: 40px 0;
    }
    .page-slot-games__hero-section {
        min-height: auto;
        padding: 10px 15px 30px; /* Small top padding */
    }
    .page-slot-games__main-title {
        font-size: 2em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-slot-games__cta-buttons {
        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;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__card-image {
        height: 180px;
    }
    .page-slot-games__card-title {
        font-size: 1.2em;
    }
    .page-slot-games__card-text {
        font-size: 0.9em;
    }
    .page-slot-games__faq-item summary {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-slot-games__faq-answer {
        padding: 15px;
    }
    .page-slot-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-section,
    .page-slot-games__cta-banner,
    .page-slot-games__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__faq-item {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-slot-games__video-section {
        padding-top: 10px !important;
    }
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__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;
    }
    .page-slot-games__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}