/* style/slot-games.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color: #333333;
    --dark-text-color: #000000;
    --light-text-color: #ffffff;
    --register-color: #C30808;
    --login-color: #C30808;
    --background-color: #FFFFFF;
    --register-login-font-color: #FFFF00;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

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

.page-slot-games__section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

/* 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: #f8f8f8;
}

.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%; /* Ensure full width on desktop */
}

.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: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__hero-content h1 {
    color: var(--primary-color);
    font-size: clamp(32px, 4.5vw, 56px); /* Adjusted h1 size for hero */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--register-color);
    color: var(--register-login-font-color);
    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 {
    background: #a80707;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Content Styling */
.page-slot-games__introduction p,
.page-slot-games__game-types p,
.page-slot-games__how-to-play p,
.page-slot-games__promotions p,
.page-slot-games__security-guide p,
.page-slot-games__registration-cta p,
.page-slot-games__conclusion p,
.page-slot-games__faq-answer p {
    font-size: 17px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.page-slot-games__how-to-play ol {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 30px;
    padding-left: 25px;
}

.page-slot-games__how-to-play li {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--light-text-color);
}

.page-slot-games__how-to-play li strong {
    color: var(--register-login-font-color);
}

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

.page-slot-games__card {
    background: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-slot-games__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: cover;
}

.page-slot-games__card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-slot-games__promo-card {
    background: linear-gradient(135deg, #f0fdf0, var(--secondary-color));
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--primary-color);
}

.page-slot-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games__promo-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

/* How to Play Section (Dark Background) */
.page-slot-games__how-to-play {
    background: var(--primary-color);
    color: var(--light-text-color);
}

.page-slot-games__how-to-play .page-slot-games__section-title {
    color: var(--register-login-font-color);
}

.page-slot-games__how-to-play .page-slot-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    flex-wrap: wrap;
}

.page-slot-games__how-to-play .page-slot-games__text-block {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__how-to-play .page-slot-games__image-block {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__how-to-play .page-slot-games__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* Security Section */
.page-slot-games__security-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: left;
}

.page-slot-games__security-list li {
    background: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 17px;
    color: var(--text-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-slot-games__security-list li::before {
    content: '✅';
    margin-right: 10px;
    font-size: 20px;
}

/* Registration CTA */
.page-slot-games__registration-cta {
    background: linear-gradient(90deg, var(--secondary-color), #f0fdf0);
    padding: 80px 20px;
}

.page-slot-games__registration-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    flex-wrap: wrap;
}

.page-slot-games__registration-content {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__registration-content .page-slot-games__section-title {
    text-align: left;
}

.page-slot-games__registration-content p {
    text-align: left;
}

.page-slot-games__registration-content .page-slot-games__btn-register {
    margin-top: 20px;
}

.page-slot-games__registration-image {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__registration-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

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

details.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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(--dark-text-color);
    font-weight: 600;
    font-size: 18px;
}

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: #f0f0f0;
}

.page-slot-games__faq-qtext {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.page-slot-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 25px 25px;
    background: #f9f9f9;
    border-top: 1px solid #e5e5e5;
    border-radius: 0 0 10px 10px;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
}

/* Conclusion Section */
.page-slot-games__conclusion .page-slot-games__button-group {
    margin-top: 40px;
    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;
    text-decoration: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.page-slot-games__btn-primary {
    background: var(--primary-color);
    color: var(--light-text-color);
    border-color: var(--primary-color);
}

.page-slot-games__btn-primary:hover {
    background: darken(var(--primary-color), 10%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
    background: #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-section h1 {
        font-size: clamp(28px, 4vw, 48px);
    }
    .page-slot-games__hero-content p {
        font-size: clamp(15px, 1.8vw, 18px);
    }
    .page-slot-games__section {
        padding: 40px 15px;
    }
    .page-slot-games__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .page-slot-games__how-to-play .page-slot-games__content-wrapper,
    .page-slot-games__registration-flex {
        flex-direction: column;
        gap: 30px;
    }
    .page-slot-games__how-to-play .page-slot-games__image-block,
    .page-slot-games__registration-image {
        order: -1; /* Image on top for mobile */
    }
    .page-slot-games__registration-content .page-slot-games__section-title,
    .page-slot-games__registration-content p {
        text-align: center;
    }
    .page-slot-games__how-to-play ol,
    .page-slot-games__security-list {
        padding-left: 0;
    }
    .page-slot-games__how-to-play li,
    .page-slot-games__security-list li {
        text-align: left;
    }
}

@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 img {
        border-radius: 8px;
    }
    .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(24px, 6vw, 36px);
        margin-bottom: 20px;
    }
    .page-slot-games__card,
    .page-slot-games__promo-card {
        padding: 20px;
        border-radius: 10px;
    }
    .page-slot-games__card img {
        border-radius: 6px;
        min-width: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__how-to-play .page-slot-games__image-block img,
    .page-slot-games__registration-image img {
        min-width: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
    }
    .page-slot-games p,
    .page-slot-games li,
    .page-slot-games__faq-answer p {
        font-size: 16px;
    }
    details.page-slot-games__faq-item summary.page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-slot-games__faq-qtext {
        font-size: 16px;
    }
    .page-slot-games__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    details.page-slot-games__faq-item .page-slot-games__faq-answer {
        padding: 0 20px 20px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        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;
    }
    .page-slot-games__section,
    .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__how-to-play ol,
    .page-slot-games__security-list {
        padding-left: 0;
    }
    .page-slot-games__security-list li {
        padding: 12px 15px;
        font-size: 16px;
    }
    .page-slot-games__security-list li::before {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-section h1 {
        font-size: clamp(26px, 7vw, 40px);
    }
    .page-slot-games__hero-content p {
        font-size: clamp(14px, 3.5vw, 16px);
    }
    .page-slot-games__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__card-title,
    .page-slot-games__promo-title {
        font-size: 20px;
    }
    .page-slot-games__how-to-play ol {
        padding-left: 15px;
    }
    .page-slot-games__how-to-play li {
        font-size: 15px;
    }
    .page-slot-games__security-list li {
        font-size: 15px;
    }
}