/* style/slot-games.css */
:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark body background */
    background-color: transparent; /* body handles background */
}

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

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-color);
    border-radius: 2px;
}

.page-slot-games__text-block {
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-main);
}

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

.page-slot-games__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

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

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

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

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

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

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
}

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

.page-slot-games__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games__button-group .page-slot-games__cta-button {
    margin-top: 0;
}

/* 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 */
    overflow: hidden;
}

.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;
    border-radius: 12px;
    overflow: hidden;
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.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: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

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

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 80px 0;
}

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

.page-slot-games__feature-title {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 15px;
    text-align: center;
}

.page-slot-games__feature-description {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 80px 0;
}

.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 {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-slot-games__game-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-slot-games__game-description {
    font-size: 15px;
    color: var(--text-secondary);
    flex-grow: 1;
}

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

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

.page-slot-games__step-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__step-description {
    font-size: 16px;
    color: var(--text-secondary);
}

.page-slot-games__step-description a {
    color: var(--glow-color);
    text-decoration: none;
}

.page-slot-games__step-description a:hover {
    text-decoration: underline;
}

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

.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 {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-slot-games__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__promo-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-slot-games__promo-description {
    font-size: 16px;
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 15px;
}

.page-slot-games__promo-link {
    display: inline-block;
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: auto;
}

.page-slot-games__promo-link:hover {
    text-decoration: underline;
}

/* Security & Support Section */
.page-slot-games__security-support-section {
    padding: 80px 0;
}

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

.page-slot-games__security-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
    text-align: center;
}

.page-slot-games__security-description {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
}

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

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

details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    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: rgba(var(--primary-color), 0.7);
}

.page-slot-games__faq-qtext {
    flex: 1;
    font-size: 17px;
    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(--gold-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 25px 25px;
    background: var(--card-bg);
    border-radius: 0 0 10px 10px;
    color: var(--text-secondary);
}

.page-slot-games__faq-answer p {
    margin: 0;
    font-size: 16px;
}

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

.page-slot-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Blog Section */
.page-slot-games__blog-section {
    padding: 80px 0;
}

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

.page-slot-games__blog-card {
    text-align: left;
    display: flex;
    flex-direction: column;
}

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

.page-slot-games__blog-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.page-slot-games__blog-title a {
    color: var(--gold-color);
    text-decoration: none;
}

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

.page-slot-games__blog-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__container {
        padding: 30px 15px;
    }
    .page-slot-games__section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 16px;
    }
    .page-slot-games__hero-image img {
        border-radius: 8px;
    }
    .page-slot-games__hero-section {
        padding: 40px 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(26px, 5vw, 40px);
    }
    .page-slot-games__description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-image {
        margin-bottom: 20px;
    }
    .page-slot-games__hero-image img {
        border-radius: 4px;
    }
    .page-slot-games__main-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 15px;
    }
    .page-slot-games__description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-slot-games__cta-button {
        padding: 12px 25px;
        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__button-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__button-group .page-slot-games__cta-button {
        width: 100%;
    }
    .page-slot-games__section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    .page-slot-games__text-block {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-slot-games__card {
        padding: 20px;
    }
    .page-slot-games__feature-title, .page-slot-games__game-title, .page-slot-games__step-title, .page-slot-games__promo-title, .page-slot-games__security-title, .page-slot-games__blog-title {
        font-size: 20px;
    }
    .page-slot-games__feature-description, .page-slot-games__game-description, .page-slot-games__step-description, .page-slot-games__promo-description, .page-slot-games__security-description, .page-slot-games__blog-excerpt {
        font-size: 14px;
    }
    .page-slot-games__game-image, .page-slot-games__promo-image, .page-slot-games__blog-image {
        height: 150px;
        border-radius: 6px;
    }
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__introduction-section, .page-slot-games__game-types-section, .page-slot-games__how-to-play-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;
    }
    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;
    }
    .page-slot-games__faq-answer p {
        font-size: 14px;
    }
    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__feature-grid, .page-slot-games__game-grid, .page-slot-games__steps-list, .page-slot-games__promo-grid, .page-slot-games__security-grid, .page-slot-games__blog-grid {
        gap: 20px;
    }
}