/* style/slot-games.css */

/* Variables from custom color palette */
:root {
    --slot-games-primary-color: #11A84E;
    --slot-games-secondary-color: #22C768;
    --slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --slot-games-card-bg: #11271B;
    --slot-games-bg: #08160F;
    --slot-games-text-main: #F2FFF6;
    --slot-games-text-secondary: #A7D9B8;
    --slot-games-border: #2E7A4E;
    --slot-games-glow: #57E38D;
    --slot-games-gold: #F2C14E;
    --slot-games-divider: #1E3A2A;
    --slot-games-deep-green: #0A4B2C;
}

/* General page styling */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--slot-games-text-main); /* Default text color for dark sections */
    background-color: var(--slot-games-bg); /* Default background for dark sections */
}

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

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

.page-slot-games__dark-bg {
    background-color: var(--slot-games-bg);
    color: var(--slot-games-text-main);
}

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

.page-slot-games__card-bg {
    background-color: var(--slot-games-card-bg);
    color: var(--slot-games-text-main);
}

.page-slot-games__section-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    color: inherit;
    line-height: 1.2;
}

.page-slot-games__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
    line-height: 1.6;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
    max-height: 675px;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 30px;
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: 900;
    color: var(--slot-games-gold);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    line-height: 1.2;
}

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--slot-games-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

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

/* Advantages Section */
.page-slot-games__advantages {
    background-color: #ffffff;
    color: #333333;
}

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

.page-slot-games__advantage-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--slot-games-border);
}

.page-slot-games__advantage-icon {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-slot-games__advantage-title {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--slot-games-primary-color);
    margin-bottom: 15px;
}

.page-slot-games__advantage-text {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

/* Game Types Section */
.page-slot-games__game-types .page-slot-games__section-title,
.page-slot-games__game-types .page-slot-games__section-description {
    color: var(--slot-games-text-main);
}

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

.page-slot-games__game-type-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--slot-games-border);
    background-color: var(--slot-games-card-bg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-slot-games__game-type-title {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--slot-games-gold);
    margin: 20px 15px 10px;
}

.page-slot-games__game-type-text {
    font-size: 0.95em;
    color: var(--slot-games-text-secondary);
    padding: 0 15px 20px;
    line-height: 1.5;
}

/* How To Play Section */
.page-slot-games__how-to-play {
    background-color: #ffffff;
    color: #333333;
}

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

.page-slot-games__step-item {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    border: 1px solid #e0e0e0;
}

.page-slot-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--slot-games-primary-color);
    margin-bottom: 15px;
}

.page-slot-games__step-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.page-slot-games__step-text {
    font-size: 0.95em;
    color: #555555;
    line-height: 1.6;
}

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

/* Tips & Strategies Section */
.page-slot-games__tips-strategies .page-slot-games__section-title,
.page-slot-games__tips-strategies .page-slot-games__section-description {
    color: var(--slot-games-text-main);
}

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

.page-slot-games__tip-item {
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    background-color: var(--slot-games-card-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--slot-games-border);
}

.page-slot-games__tip-title {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--slot-games-gold);
    margin-bottom: 15px;
}

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

/* Promotions Section */
.page-slot-games__promotions {
    background-color: #ffffff;
    color: #333333;
}

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

.page-slot-games__promo-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.page-slot-games__promo-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
}

.page-slot-games__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-slot-games__promo-title {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--slot-games-primary-color);
    margin-bottom: 10px;
}

.page-slot-games__promo-text {
    font-size: 0.95em;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-slot-games__faq-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-description {
    color: var(--slot-games-text-main);
}

.page-slot-games__faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    color: var(--slot-games-gold);
    background-color: var(--slot-games-deep-green);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-slot-games__faq-question:hover {
    background-color: var(--slot-games-primary-color);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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: 15px 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--slot-games-text-secondary);
}

/* Final CTA Section */
.page-slot-games__cta-final {
    background-color: #ffffff;
    color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__section-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-content {
        padding: 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-slot-games__hero-section {
        padding-bottom: 40px;
    }
    .page-slot-games__hero-image {
        max-height: 400px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-slot-games__hero-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;
    }

    /* Mobile image responsiveness */
    .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__advantage-item,
    .page-slot-games__game-type-card,
    .page-slot-games__step-item,
    .page-slot-games__tip-item,
    .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;
        overflow: hidden !important;
    }
    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-slot-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__advantage-icon {
        width: 150px;
        height: auto;
    }
    .page-slot-games__game-type-image {
        height: 180px;
    }
    .page-slot-games__promo-image {
        height: 180px;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }
    .page-slot-games__faq-answer {
        padding: 10px 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.6em, 9vw, 2.2em);
    }
    .page-slot-games__advantage-title,
    .page-slot-games__game-type-title,
    .page-slot-games__step-title,
    .page-slot-games__tip-title,
    .page-slot-games__promo-title {
        font-size: 1.4em;
    }
}