/* style/games-lottery.css */

/* Biến CSS */
:root {
    --page-games-lottery-primary-color: #0A192F;
    --page-games-lottery-secondary-color: #FFD700;
    --page-games-lottery-text-light: #F8F8F8;
    --page-games-lottery-text-dark: #2C3E50;
    --page-games-lottery-background-light: #E0E0E0;
    --page-games-lottery-background-dark: #0A192F;
    --page-games-lottery-accent-dark: #B39700; /* Darker shade of secondary for text on accent background */
    --page-games-lottery-accent-light-text: #0A192F; /* Text color for accent background */
}

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

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

/* Hero Section */
.page-games-lottery__hero {
    background: linear-gradient(135deg, var(--page-games-lottery-primary-color) 0%, #1a3459 100%);
    color: var(--page-games-lottery-text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-games-lottery__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: center;
}

.page-games-lottery__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-games-lottery-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-games-lottery__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-games-lottery-text-light);
}

.page-games-lottery__hero-image-container {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-games-lottery__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-games-lottery__section {
    padding: 60px 0;
    background-color: var(--page-games-lottery-background-light);
}

.page-games-lottery__section:nth-of-type(even) {
    background-color: #F8F8F8; /* Slightly different background for visual separation */
}

.page-games-lottery__section-title {
    font-size: 2.5em;
    color: var(--page-games-lottery-primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-games-lottery__section-subtitle {
    font-size: 1.1em;
    color: var(--page-games-lottery-text-dark);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-games-lottery__button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-games-lottery__button--primary {
    background-color: var(--page-games-lottery-secondary-color);
    color: var(--page-games-lottery-primary-color);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-games-lottery__button--primary:hover {
    background-color: #FFEB3B; /* Lighter gold on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.page-games-lottery__button--secondary {
    background-color: transparent;
    color: var(--page-games-lottery-secondary-color);
    border: 2px solid var(--page-games-lottery-secondary-color);
}

.page-games-lottery__button--secondary:hover {
    background-color: var(--page-games-lottery-secondary-color);
    color: var(--page-games-lottery-primary-color);
    transform: translateY(-3px);
}

.page-games-lottery__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 30px;
}

/* About Section */
.page-games-lottery__about .page-games-lottery__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-games-lottery__about .page-games-lottery__text-content {
    flex: 1;
    min-width: 300px;
}

.page-games-lottery__about .page-games-lottery__text-content p {
    margin-bottom: 20px;
    color: var(--page-games-lottery-text-dark);
}

.page-games-lottery__about .page-games-lottery__image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.page-games-lottery__about .page-games-lottery__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-games-lottery__card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-games-lottery__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-games-lottery__card-image {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 6px;
}

.page-games-lottery__card-title {
    font-size: 1.5em;
    color: var(--page-games-lottery-primary-color);
    margin-bottom: 15px;
}

.page-games-lottery__card-description {
    font-size: 0.95em;
    color: var(--page-games-lottery-text-dark);
    margin-bottom: 25px;
}

.page-games-lottery__card-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--page-games-lottery-secondary-color);
    color: var(--page-games-lottery-primary-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-games-lottery__card-link:hover {
    background-color: #FFEB3B;
    transform: translateY(-2px);
}

/* How-To-Play Section */
.page-games-lottery__how-to-play .page-games-lottery__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-games-lottery__step {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-games-lottery__step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--page-games-lottery-secondary-color);
    color: var(--page-games-lottery-primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.page-games-lottery__step-title {
    font-size: 1.4em;
    color: var(--page-games-lottery-primary-color);
    margin-bottom: 15px;
}

.page-games-lottery__step-description {
    font-size: 0.9em;
    color: var(--page-games-lottery-text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-games-lottery__how-to-image {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 40px auto 0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Tips Section */
.page-games-lottery__tips {
    background-color: var(--page-games-lottery-primary-color);
    color: var(--page-games-lottery-text-light);
}

.page-games-lottery__tips .page-games-lottery__section-title {
    color: var(--page-games-lottery-secondary-color);
}

.page-games-lottery__tips .page-games-lottery__section-title::after {
    background-color: var(--page-games-lottery-text-light);
}

.page-games-lottery__tips .page-games-lottery__section-subtitle {
    color: var(--page-games-lottery-text-light);
}

.page-games-lottery__tip-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-games-lottery__tip-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 1.1em;
    color: var(--page-games-lottery-text-light);
}

.page-games-lottery__tip-list li strong {
    color: var(--page-games-lottery-secondary-color);
    margin-right: 10px;
}

.page-games-lottery__tip-list li::before {
    content: '✓';
    color: var(--page-games-lottery-secondary-color);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2em;
}

/* CTA Section */
.page-games-lottery__cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #1a3459 0%, var(--page-games-lottery-primary-color) 100%);
    color: var(--page-games-lottery-text-light);
}

.page-games-lottery__cta-title {
    font-size: 2.8em;
    color: var(--page-games-lottery-secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-games-lottery__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-games-lottery__hero {
        flex-direction: column;
        text-align: center;
    }
    .page-games-lottery__hero-content {
        order: 2;
    }
    .page-games-lottery__hero-image-container {
        order: 1;
        margin-bottom: 30px;
    }
    .page-games-lottery__about .page-games-lottery__content-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-games-lottery__hero-title {
        font-size: 2.5em;
    }
    .page-games-lottery__section-title {
        font-size: 2em;
    }
    .page-games-lottery__hero-description,
    .page-games-lottery__section-subtitle,
    .page-games-lottery__cta-description {
        font-size: 1em;
    }
    .page-games-lottery__card-grid,
    .page-games-lottery__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-games-lottery__button {
        padding: 12px 24px;
        font-size: 1em;
    }
    .page-games-lottery__cta-title {
        font-size: 2em;
    }
    .page-games-lottery__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-games-lottery__button--primary, .page-games-lottery__button--secondary {
        width: 80%;
        max-width: 300px;
    }
    .page-games-lottery__how-to-image {
        max-width: 95%;
    }
    .page-games-lottery__tip-list li {
        font-size: 0.9em;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .page-games-lottery__hero {
        padding: 60px 0;
    }
    .page-games-lottery__hero-title {
        font-size: 2em;
    }
    .page-games-lottery__section {
        padding: 40px 0;
    }
    .page-games-lottery__section-title {
        font-size: 1.8em;
    }
    .page-games-lottery__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}