/* style/slot-games.css */
:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --page-bg: #F4F7FB;
    --text-main: #1F2D3D;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

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

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--page-bg);
}

.page-slot-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-slot-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

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

.page-slot-games__hero-description {
    font-size: 18px;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* General Section Styling */
.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__benefits-section,
.page-slot-games__promotions-section,
.page-slot-games__security-support-section,
.page-slot-games__faq-section,
.page-slot-games__blog-section {
    padding: 60px 0;
    background-color: var(--page-bg);
}

.page-slot-games__section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
}

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

/* Quick Access Buttons */
.page-slot-games__quick-access {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-slot-games__game-card,
.page-slot-games__promo-card,
.page-slot-games__blog-card {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.page-slot-games__game-card:hover,
.page-slot-games__promo-card:hover,
.page-slot-games__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__game-card img,
.page-slot-games__promo-card img,
.page-slot-games__blog-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-slot-games__game-card p,
.page-slot-games__promo-card p,
.page-slot-games__blog-card p {
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-slot-games__card-button:hover {
    background: var(--secondary-color);
}

.page-slot-games__blog-card {
    text-align: left;
    text-decoration: none;
}

.page-slot-games__blog-card .page-slot-games__card-title {
    color: var(--text-main);
}

.page-slot-games__blog-card .page-slot-games__card-excerpt {
    color: var(--text-main);
}

.page-slot-games__read-more {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
    display: block;
}

.page-slot-games__read-more:hover {
    text-decoration: underline;
}

.page-slot-games__view-all-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Benefit List */
.page-slot-games__benefit-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-slot-games__benefit-list li {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    color: var(--text-main);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.page-slot-games__benefit-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__benefit-list li strong {
    color: var(--primary-color);
}

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

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

.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-item img {
    width: 100%;
    
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__item-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-slot-games__feature-item p {
    font-size: 15px;
    color: var(--text-main);
}

/* FAQ Section */
details.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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;
    color: var(--text-main);
}

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-main);
}

.page-slot-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    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-main);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(24px, 5vw, 40px);
    }
    .page-slot-games__hero-description {
        font-size: 17px;
    }
    .page-slot-games__section-title {
        font-size: clamp(22px, 4vw, 32px);
    }
    .page-slot-games__game-cards, .page-slot-games__promo-cards, .page-slot-games__blog-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-slot-games__benefit-list, .page-slot-games__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-image img {
        border-radius: 4px;
    }
    .page-slot-games__main-title {
        font-size: clamp(20px, 7vw, 32px);
        margin-bottom: 15px;
    }
    .page-slot-games__hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-slot-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__section-title {
        font-size: clamp(20px, 6vw, 28px);
        margin-bottom: 30px;
    }
    .page-slot-games p {
        font-size: 15px;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__introduction-section,
    .page-slot-games__game-types-section,
    .page-slot-games__benefits-section,
    .page-slot-games__promotions-section,
    .page-slot-games__security-support-section,
    .page-slot-games__faq-section,
    .page-slot-games__blog-section {
        padding: 40px 0;
    }
    .page-slot-games__quick-access {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__game-cards, .page-slot-games__promo-cards, .page-slot-games__blog-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__benefit-list, .page-slot-games__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__game-card img,
    .page-slot-games__promo-card img,
    .page-slot-games__blog-card img {
        
    }
    .page-slot-games__card-title {
        font-size: 18px;
    }
    .page-slot-games__game-card p,
    .page-slot-games__promo-card p,
    .page-slot-games__blog-card p {
        font-size: 14px;
    }
    details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
    .page-slot-games__faq-qtext { font-size: 15px; }
    .page-slot-games__faq-answer { padding: 0 15px 15px; }

    /* Image mobile overrides */
    .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;
    }
    .page-slot-games__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-slot-games__hero-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}