/* 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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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 {
    background-color: var(--page-slot-games-bg);
    color: var(--page-slot-games-text-main);
    font-family: 'Arial', sans-serif;
}

/* Hero Section */
.page-slot-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px 20px; /* body handles --header-offset, so small top padding here */
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--page-slot-games-border);
}

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

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Using clamp for responsive H1 */
    color: var(--page-slot-games-gold);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--page-slot-games-glow);
}

.page-slot-games__hero-description {
    font-size: 1.1em;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* General Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-link {
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    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;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-slot-games__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
}

.page-slot-games__btn-play {
    background: var(--page-slot-games-deep-green);
    color: var(--page-slot-games-glow);
    border: 1px solid var(--page-slot-games-glow);
    font-size: 0.95em;
    padding: 10px 20px;
    margin-top: 15px;
}

.page-slot-games__btn-play:hover {
    background: var(--page-slot-games-glow);
    color: var(--page-slot-games-deep-green);
}

.page-slot-games__btn-link {
    background: transparent;
    color: var(--page-slot-games-glow);
    text-decoration: underline;
    padding: 5px 0;
    font-size: 0.9em;
}

.page-slot-games__btn-link:hover {
    color: var(--page-slot-games-gold);
}

/* General Section Styles */
.page-slot-games__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__section:last-of-type {
    border-bottom: none;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    color: var(--page-slot-games-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-slot-games__section-description {
    font-size: 1.1em;
    color: var(--page-slot-games-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

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

.page-slot-games__feature-card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__feature-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__feature-title {
    font-size: 1.6em;
    color: var(--page-slot-games-text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

.page-slot-games__game-card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__game-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__game-title {
    font-size: 1.4em;
    color: var(--page-slot-games-gold);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.page-slot-games__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-slot-games__game-title a:hover {
    text-decoration: underline;
}

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

/* How to Play Steps */
.page-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__step-item {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    position: relative;
    padding-top: 60px; /* Space for number */
}

.page-slot-games__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--page-slot-games-btn-gradient);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    border: 3px solid var(--page-slot-games-deep-green);
    box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

.page-slot-games__step-title {
    font-size: 1.5em;
    color: var(--page-slot-games-text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-slot-games__step-description {
    font-size: 0.95em;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Tips & Strategy */
.page-slot-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-slot-games__strategy-item {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__strategy-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__strategy-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__strategy-title {
    font-size: 1.4em;
    color: var(--page-slot-games-text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* FAQ Section */
.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-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-slot-games-border);
    overflow: hidden;
}

.page-slot-games__faq-item summary {
    list-style: none;
}

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

.page-slot-games__faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    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-border);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: var(--page-slot-games-deep-green);
    opacity: 0.9;
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: '−';
}

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

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
}

.page-slot-games__faq-answer a {
    color: var(--page-slot-games-glow);
    text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
    color: var(--page-slot-games-gold);
}

/* CTA Bottom Section */
.page-slot-games__cta-bottom {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 80px 20px;
    border-bottom: none;
}

.page-slot-games__cta-content {
    flex: 1;
    text-align: left;
}

.page-slot-games__cta-title {
    font-size: 2.8em;
    color: var(--page-slot-games-gold);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-slot-games__cta-description {
    font-size: 1.15em;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.page-slot-games__cta-image-wrapper {
    flex: 1;
    max-width: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--page-slot-games-border);
}

.page-slot-games__cta-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        padding: 10px 15px 50px 15px;
    }

    .page-slot-games__section-title {
        font-size: 2.2em;
    }

    .page-slot-games__cta-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .page-slot-games__cta-content {
        text-align: center;
    }

    .page-slot-games__cta-title {
        font-size: 2.2em;
    }

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

@media (max-width: 768px) {
    .page-slot-games__hero-section,
    .page-slot-games__section,
    .page-slot-games__cta-bottom {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-slot-games__hero-description,
    .page-slot-games__section-description,
    .page-slot-games__feature-description,
    .page-slot-games__game-description,
    .page-slot-games__step-description,
    .page-slot-games__strategy-description,
    .page-slot-games__faq-answer,
    .page-slot-games__cta-description {
        font-size: 0.9em;
    }

    .page-slot-games__section-title,
    .page-slot-games__cta-title {
        font-size: 1.8em;
    }

    .page-slot-games__hero-image,
    .page-slot-games__feature-icon,
    .page-slot-games__game-image,
    .page-slot-games__strategy-image,
    .page-slot-games__cta-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__hero-image-wrapper,
    .page-slot-games__feature-card,
    .page-slot-games__game-card,
    .page-slot-games__step-item,
    .page-slot-games__strategy-item,
    .page-slot-games__cta-image-wrapper,
    .page-slot-games__cta-buttons,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column !important;
        gap: 10px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-play,
    .page-slot-games__btn-link {
        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__hero-section {
        padding-top: 10px !important;
    }
}