/* style/slots-free-play.css */

/* Biến CSS */
:root {
    --page-slots-free-play-primary-color: #0056B3;
    --page-slots-free-play-secondary-color: #FFD700;
    --page-slots-free-play-text-dark: #333;
    --page-slots-free-play-text-light: #fff;
    --page-slots-free-play-background-light: #f8f8f8;
    --page-slots-free-play-accent-color: #ffa94c; /* Contrast for primary */
}

.page-slots-free-play {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-slots-free-play-text-dark);
}

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

.page-slots-free-play__section {
    padding: 60px 0;
}

.page-slots-free-play__section:nth-of-type(even) {
    background-color: var(--page-slots-free-play-background-light);
}

.page-slots-free-play__section-title {
    font-size: 2.5em;
    color: var(--page-slots-free-play-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-slots-free-play__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--page-slots-free-play-secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Hero Section */
.page-slots-free-play__hero {
    background: linear-gradient(135deg, var(--page-slots-free-play-primary-color) 0%, #003a7a 100%); /* Darker shade of primary */
    color: var(--page-slots-free-play-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-slots-free-play__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: var(--page-slots-free-play-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-slots-free-play__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slots-free-play__hero-image {
    max-width: 70%;
    height: auto;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-slots-free-play__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.page-slots-free-play__button--primary {
    background-color: var(--page-slots-free-play-secondary-color);
    color: var(--page-slots-free-play-primary-color);
    border-color: var(--page-slots-free-play-secondary-color);
}

.page-slots-free-play__button--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-slots-free-play__button--secondary {
    background-color: var(--page-slots-free-play-primary-color);
    color: var(--page-slots-free-play-text-light);
    border-color: var(--page-slots-free-play-primary-color);
}

.page-slots-free-play__button--secondary:hover {
    background-color: #003a7a; /* Darker blue */
    border-color: #003a7a;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-slots-free-play__button--outline {
    background-color: transparent;
    color: var(--page-slots-free-play-secondary-color);
    border-color: var(--page-slots-free-play-secondary-color);
}

.page-slots-free-play__button--outline:hover {
    background-color: var(--page-slots-free-play-secondary-color);
    color: var(--page-slots-free-play-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-slots-free-play__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* About Section */
.page-slots-free-play__section--about p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-slots-free-play__section--about .page-slots-free-play__button {
    margin-top: 20px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slots-free-play__grid-item {
    background-color: var(--page-slots-free-play-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slots-free-play__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-slots-free-play__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.1));
}

.page-slots-free-play__grid-item h3 {
    font-size: 1.5em;
    color: var(--page-slots-free-play-primary-color);
    margin-bottom: 15px;
}

.page-slots-free-play__grid-item p {
    font-size: 1em;
    color: var(--page-slots-free-play-text-dark);
}

/* How-To-Play Steps */
.page-slots-free-play__steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 40px;
}

.page-slots-free-play__steps li {
    background-color: var(--page-slots-free-play-text-light);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-left: 80px;
    transition: transform 0.3s ease;
}

.page-slots-free-play__steps li:hover {
    transform: translateX(10px);
}

.page-slots-free-play__steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--page-slots-free-play-secondary-color);
    color: var(--page-slots-free-play-primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-slots-free-play__steps li h3 {
    font-size: 1.6em;
    color: var(--page-slots-free-play-primary-color);
    margin-bottom: 10px;
}

.page-slots-free-play__steps li p {
    font-size: 1.1em;
    color: var(--page-slots-free-play-text-dark);
}

.page-slots-free-play__note {
    text-align: center;
    font-style: italic;
    margin-top: 30px;
    font-size: 1em;
    color: var(--page-slots-free-play-primary-color);
}

.page-slots-free-play__note a {
    color: var(--page-slots-free-play-accent-color);
    text-decoration: underline;
}

/* Popular Games */
.page-slots-free-play__game-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slots-free-play__game-list li {
    background-color: var(--page-slots-free-play-text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slots-free-play__game-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-slots-free-play__game-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 5px solid var(--page-slots-free-play-secondary-color);
    margin-bottom: 15px;
}

.page-slots-free-play__game-list h3 {
    font-size: 1.4em;
    color: var(--page-slots-free-play-primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slots-free-play__game-list p {
    font-size: 0.95em;
    color: var(--page-slots-free-play-text-dark);
    padding: 0 15px;
}

/* Real Money Section */
.page-slots-free-play__section--real-money .page-slots-free-play__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slots-free-play__section--real-money .page-slots-free-play__list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    color: var(--page-slots-free-play-text-dark);
}

.page-slots-free-play__section--real-money .page-slots-free-play__list li strong {
    color: var(--page-slots-free-play-primary-color);
}

.page-slots-free-play__section--real-money .page-slots-free-play__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-slots-free-play-secondary-color);
    font-size: 1.2em;
}

.page-slots-free-play__section--real-money .page-slots-free-play__button {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Security Section */
.page-slots-free-play__flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-slots-free-play__content-text {
    flex: 1;
    min-width: 300px;
}

.page-slots-free-play__content-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-slots-free-play__image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slots-free-play__image--right {
    order: 2;
}

.page-slots-free-play__section--security .page-slots-free-play__button {
    margin-top: 20px;
}

/* FAQ Section */
.page-slots-free-play__faq-item {
    background-color: var(--page-slots-free-play-text-light);
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-slots-free-play__faq-item h3 {
    font-size: 1.3em;
    color: var(--page-slots-free-play-primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-slots-free-play__faq-item p {
    font-size: 1em;
    color: var(--page-slots-free-play-text-dark);
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.page-slots-free-play__faq-item a {
    color: var(--page-slots-free-play-accent-color);
    text-decoration: underline;
}

/* CTA Section */
.page-slots-free-play__cta {
    background: linear-gradient(45deg, var(--page-slots-free-play-primary-color), #003a7a);
    color: var(--page-slots-free-play-text-light);
    padding: 80px 0;
    text-align: center;
    border-top: 5px solid var(--page-slots-free-play-secondary-color);
}

.page-slots-free-play__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--page-slots-free-play-text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-slots-free-play__cta-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slots-free-play__cta .page-slots-free-play__button {
    margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slots-free-play__hero-title {
        font-size: 3em;
    }
    .page-slots-free-play__hero-subtitle {
        font-size: 1.2em;
    }
    .page-slots-free-play__section-title {
        font-size: 2em;
    }
    .page-slots-free-play__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-slots-free-play__flex-container {
        flex-direction: column;
    }
    .page-slots-free-play__image--right {
        order: initial;
    }
    .page-slots-free-play__image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-slots-free-play__hero {
        padding: 80px 0 50px;
    }
    .page-slots-free-play__hero-title {
        font-size: 2.5em;
    }
    .page-slots-free-play__hero-subtitle {
        font-size: 1.1em;
    }
    .page-slots-free-play__hero-image {
        max-width: 90%;
        margin-top: 30px;
    }
    .page-slots-free-play__section {
        padding: 40px 0;
    }
    .page-slots-free-play__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slots-free-play__grid {
        grid-template-columns: 1fr;
    }
    .page-slots-free-play__steps li {
        padding-left: 60px;
    }
    .page-slots-free-play__steps li::before {
        width: 35px;
        height: 35px;
        font-size: 1.5em;
        left: 15px;
    }
    .page-slots-free-play__steps li h3 {
        font-size: 1.4em;
    }
    .page-slots-free-play__game-list {
        grid-template-columns: 1fr;
    }
    .page-slots-free-play__cta-title {
        font-size: 2.2em;
    }
    .page-slots-free-play__cta-subtitle {
        font-size: 1.1em;
    }
    .page-slots-free-play__cta .page-slots-free-play__button {
        display: block;
        margin: 15px auto;
        width: 80%;
    }
}

@media (max-width: 480px) {
    .page-slots-free-play__hero-title {
        font-size: 2em;
    }
    .page-slots-free-play__hero-subtitle {
        font-size: 1em;
    }
    .page-slots-free-play__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-slots-free-play__button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-slots-free-play__section-title {
        font-size: 1.5em;
    }
    .page-slots-free-play__grid-item h3 {
        font-size: 1.3em;
    }
    .page-slots-free-play__steps li h3 {
        font-size: 1.2em;
    }
    .page-slots-free-play__cta-title {
        font-size: 1.8em;
    }
    .page-slots-free-play__cta-subtitle {
        font-size: 1em;
    }
    .page-slots-free-play__cta .page-slots-free-play__button {
        width: 90%;
    }
}