/* style/slots.css */
.page-slots {
    font-family: 'Arial', sans-serif;
    color: #F8F8F8; /* Light text on dark background */
    background-color: #1A202C; /* Main dark background */
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Hero Section */
.page-slots__hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #1A202C, #2c3a4d); /* Dark gradient */
    overflow: hidden;
}

.page-slots__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-slots__hero .page-slots__container {
    position: relative;
    z-index: 1;
}

.page-slots__title {
    font-size: 3.5em;
    color: #FFD700; /* Gold accent for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-slots__subtitle {
    font-size: 1.3em;
    color: #E0E0E0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slots__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-slots__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.page-slots__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #1A202C; /* Dark text on gold */
}

.page-slots__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-slots__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.page-slots__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-3px);
}

/* General Section Styling */
.page-slots__section {
    padding: 80px 0;
    text-align: center;
}

.page-slots__section--dark {
    background-color: #2c3a4d; /* Slightly lighter dark background for contrast */
}

.page-slots__heading {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-slots__text {
    font-size: 1.1em;
    color: #E0E0E0;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slots__feature-item {
    background-color: #1A202C; /* Dark background for feature cards */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-slots__feature-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slots__feature-description {
    font-size: 1em;
    color: #C0C0C0;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

/* Game Types Section */
.page-slots__game-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slots__game-type-item {
    background-color: #2c3a4d;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-slots__game-type-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-slots__game-type-description {
    font-size: 0.95em;
    color: #C0C0C0;
}

/* Tips Section */
.page-slots__tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.page-slots__tip-item {
    background-color: #1A202C;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-slots__tip-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-slots__tip-description {
    font-size: 0.95em;
    color: #C0C0C0;
}

.page-slots__tips-image {
    width: 80%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 50px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}


/* Steps/Guide Section */
.page-slots__steps {
    list-style: none;
    padding: 0;
    margin: 50px auto;
    max-width: 800px;
    text-align: left;
}

.page-slots__steps li {
    background-color: #2c3a4d;
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    color: #E0E0E0;
    position: relative;
    counter-increment: step-counter;
}

.page-slots__steps li strong {
    color: #FFD700;
}

.page-slots__steps li::before {
    content: "Bước " counter(step-counter);
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FFD700;
    color: #1A202C;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Commitment List */
.page-slots__commitment-list {
    list-style: none;
    padding: 0;
    margin: 50px auto;
    max-width: 900px;
    text-align: left;
}

.page-slots__commitment-list li {
    background-color: #1A202C;
    padding: 20px 30px;
    margin-bottom: 15px;
    border-left: 5px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    color: #C0C0C0;
}

.page-slots__commitment-list li strong {
    color: #FFD700;
    display: block;
    margin-bottom: 5px;
    font-size: 1.2em;
}

.page-slots__support-image {
    width: 80%;
    max-width: 700px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 50px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Detail Pages Section */
.page-slots__detail-pages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}

.page-slots__detail-item {
    background-color: #1A202C;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-slots__detail-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-slots__detail-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slots__detail-title a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-slots__detail-description {
    font-size: 0.95em;
    color: #C0C0C0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slots__btn--link {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 10px 20px;
    font-size: 0.9em;
    align-self: flex-start;
}

.page-slots__btn--link:hover {
    background-color: #FFD700;
    color: #1A202C;
}

/* FAQ Section */
.page-slots__faq {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-slots__faq-item {
    background-color: #2c3a4d;
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-slots__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-slots__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-slots__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-slots__faq-answer {
    font-size: 1em;
    color: #C0C0C0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-slots__faq-answer.active {
    max-height: 200px; /* Adjust based on content */
    padding-top: 15px;
}


/* Final CTA Section */
.page-slots__cta-final {
    background-color: #FFD700; /* Gold background for final CTA */
    color: #1A202C; /* Dark text on gold */
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-slots__cta-final .page-slots__heading {
    color: #1A202C; /* Dark heading */
}

.page-slots__cta-final .page-slots__text {
    color: #333; /* Slightly lighter dark text */
}

.page-slots__cta-final .page-slots__btn--primary {
    background-color: #1A202C;
    color: #FFD700;
}

.page-slots__cta-final .page-slots__btn--primary:hover {
    background-color: #000;
    color: #FFD700;
}

.page-slots__cta-final .page-slots__btn--secondary {
    background-color: transparent;
    color: #1A202C;
    border-color: #1A202C;
}

.page-slots__cta-final .page-slots__btn--secondary:hover {
    background-color: #1A202C;
    color: #FFD700;
}

.page-slots__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-slots__cta-final .page-slots__cta-content {
    position: relative;
    z-index: 1;
}

/* Animation for sections */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slots__title {
        font-size: 3em;
    }
    .page-slots__heading {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-slots__hero {
        padding: 80px 0;
    }
    .page-slots__title {
        font-size: 2.5em;
    }
    .page-slots__subtitle {
        font-size: 1.1em;
    }
    .page-slots__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-slots__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-slots__section {
        padding: 60px 0;
    }
    .page-slots__heading {
        font-size: 1.8em;
    }
    .page-slots__text {
        font-size: 1em;
    }
    .page-slots__features,
    .page-slots__game-types,
    .page-slots__tips,
    .page-slots__detail-pages {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-slots__steps li::before {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-right: 15px;
        margin-bottom: 0;
        width: 50px;
        height: 50px;
        font-size: 1em;
        vertical-align: middle;
        flex-shrink: 0;
    }
    .page-slots__steps li {
        padding-left: 20px; /* Adjust for removed absolute position */
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    .page-slots__faq-question {
        font-size: 1.2em;
    }
    .page-slots__faq-answer {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-slots__title {
        font-size: 2em;
    }
    .page-slots__heading {
        font-size: 1.5em;
    }
    .page-slots__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-slots__feature-title,
    .page-slots__game-type-title,
    .page-slots__tip-title,
    .page-slots__detail-title,
    .page-slots__faq-question {
        font-size: 1.3em;
    }
}