/* style/slot-games.css */

/* Custom Color Palette */
:root {
    --v8club-primary-color: #11A84E;
    --v8club-secondary-color: #22C768;
    --v8club-background-dark: #08160F;
    --v8club-card-bg: #11271B;
    --v8club-text-main: #F2FFF6;
    --v8club-text-secondary: #A7D9B8;
    --v8club-border-color: #2E7A4E;
    --v8club-glow-color: #57E38D;
    --v8club-gold-color: #F2C14E;
    --v8club-divider-color: #1E3A2A;
    --v8club-deep-green: #0A4B2C;
    --v8club-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--v8club-text-main); /* Default text color for dark background */
    background-color: var(--v8club-background-dark); /* Ensure background is dark */
    line-height: 1.6;
    padding-bottom: 60px;
}

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

.page-slot-games__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--v8club-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-slot-games__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--v8club-text-secondary);
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--v8club-background-dark);
    padding: 10px 0 60px 0; /* Small top padding, larger bottom */
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-slot-games__main-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--v8club-gold-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.03em;
}

.page-slot-games__description {
    font-size: 19px;
    color: var(--v8club-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-slot-games__btn-primary {
    background: var(--v8club-button-gradient);
    color: var(--v8club-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--v8club-text-main);
    border: 2px solid var(--v8club-secondary-color);
    box-shadow: 0 4px 10px rgba(34, 199, 104, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background: var(--v8club-secondary-color);
    color: var(--v8club-background-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-tertiary {
    background: var(--v8club-deep-green);
    color: var(--v8club-text-main);
    border: 1px solid var(--v8club-border-color);
    padding: 10px 20px;
    font-size: 15px;
}

.page-slot-games__btn-tertiary:hover {
    background: var(--v8club-secondary-color);
    color: var(--v8club-background-dark);
    border-color: var(--v8club-secondary-color);
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Section Backgrounds */
.page-slot-games__dark-bg {
    background-color: var(--v8club-background-dark);
    color: var(--v8club-text-main);
    padding: 80px 0;
}

.page-slot-games__light-bg {
    background-color: var(--v8club-card-bg); /* Use card background for lighter sections */
    color: var(--v8club-text-main);
    padding: 80px 0;
}

/* Introduction Section */
.page-slot-games__introduction-section .page-slot-games__text-block {
    color: var(--v8club-text-main);
    text-align: justify;
}

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

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

.page-slot-games__game-card {
    background-color: var(--v8club-card-bg);
    border: 1px solid var(--v8club-border-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for cards */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-slot-games__card-title {
    font-size: 24px;
    color: var(--v8club-gold-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__card-text {
    font-size: 16px;
    color: var(--v8club-text-secondary);
    margin-bottom: 20px;
    padding: 0 15px;
}

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

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

.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.page-slot-games__step-card {
    background-color: var(--v8club-card-bg);
    border: 1px solid var(--v8club-border-color);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.page-slot-games__step-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__step-title {
    font-size: 22px;
    color: var(--v8club-gold-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.page-slot-games__step-title::before {
    content: attr(data-step-number);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--v8club-primary-color);
    color: var(--v8club-text-main);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.page-slot-games__step-card:nth-child(1) .page-slot-games__step-title::before { content: '1'; }
.page-slot-games__step-card:nth-child(2) .page-slot-games__step-title::before { content: '2'; }
.page-slot-games__step-card:nth-child(3) .page-slot-games__step-title::before { content: '3'; }
.page-slot-games__step-card:nth-child(4) .page-slot-games__step-title::before { content: '4'; }
.page-slot-games__step-card:nth-child(5) .page-slot-games__step-title::before { content: '5'; }

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

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

.page-slot-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-slot-games__text-content {
    flex: 2;
}

.page-slot-games__image-container {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__strategy-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Promotions Section */
.page-slot-games__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-games__promotion-item {
    background-color: var(--v8club-card-bg);
    border: 1px solid var(--v8club-border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 17px;
    color: var(--v8club-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__promotion-item strong {
    color: var(--v8club-gold-color);
}

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

.page-slot-games__faq-item {
    background-color: var(--v8club-card-bg);
    border: 1px solid var(--v8club-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--v8club-gold-color);
    cursor: pointer;
    background-color: var(--v8club-deep-green);
    border-bottom: 1px solid var(--v8club-border-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid var(--v8club-border-color);
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 24px;
    line-height: 1;
    width: 24px;
    text-align: center;
    color: var(--v8club-text-main);
}

.page-slot-games__faq-answer {
    padding: 20px;
    font-size: 16px;
    color: var(--v8club-text-secondary);
    text-align: justify;
}

/* Details/Summary specific styling for native behavior */
.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none;
}

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

/* Conclusion Section */
.page-slot-games__conclusion-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 80px;
}

.page-slot-games__conclusion-section .page-slot-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--v8club-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__content-wrapper {
        flex-direction: column;
    }
    .page-slot-games__image-container {
        width: 100%;
        max-width: 600px;
        margin: 30px auto 0 auto;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section,
    .page-slot-games__introduction-section,
    .page-slot-games__game-types-section,
    .page-slot-games__benefits-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__strategy-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section {
        padding: 40px 0;
    }

    .page-slot-games__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .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__introduction-section,
    .page-slot-games__game-types-section,
    .page-slot-games__benefits-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__strategy-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__conclusion-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-slot-games__hero-section {
        padding-top: 10px !important;
    }

    .page-slot-games__main-title {
        font-size: 30px;
    }

    .page-slot-games__description {
        font-size: 16px;
    }

    .page-slot-games__cta-buttons,
    .page-slot-games__cta-center {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-tertiary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        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__game-card,
    .page-slot-games__feature-item,
    .page-slot-games__step-card {
        padding: 20px;
    }

    .page-slot-games__card-image {
        height: 180px;
    }

    .page-slot-games__feature-icon {
        max-width: 150px;
    }

    .page-slot-games__faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .page-slot-games__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__section-title {
        font-size: 26px;
    }
    .page-slot-games__main-title {
        font-size: 28px;
    }
    .page-slot-games__card-title,
    .page-slot-games__feature-title,
    .page-slot-games__step-title {
        font-size: 20px;
    }
    .page-slot-games__text-block,
    .page-slot-games__card-text,
    .page-slot-games__feature-text,
    .page-slot-games__step-text,
    .page-slot-games__promotion-item {
        font-size: 15px;
    }
}