/* style/resources-understanding-jackpots.css */

/* Biến CSS */
:root {
    --page-primary-color: #0A192F;
    --page-accent-color: #FFD700;
    --page-text-color-light: #FFFFFF;
    --page-text-color-dark: #0A192F;
    --page-text-color-gray: #CCCCCC;
    --page-background-dark: #0A192F;
    --page-background-light: #1A2F4B;
    --page-border-color: #FFD700;
}

.page-resources-understanding-jackpots {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-text-color-light); /* Default text color for dark backgrounds */
    background-color: var(--page-background-dark);
}

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

.page-resources-understanding-jackpots__hero {
    background: linear-gradient(135deg, var(--page-primary-color) 0%, #3a4b6c 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--page-text-color-light);
}

.page-resources-understanding-jackpots__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-resources-understanding-jackpots__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-accent-color);
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-understanding-jackpots__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-resources-understanding-jackpots__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
    font-size: 1.1em;
}

.page-resources-understanding-jackpots__btn--primary {
    background-color: var(--page-accent-color);
    color: var(--page-text-color-dark);
    border: 2px solid var(--page-accent-color);
}

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

.page-resources-understanding-jackpots__btn--secondary {
    background-color: transparent;
    color: var(--page-accent-color);
    border: 2px solid var(--page-accent-color);
}

.page-resources-understanding-jackpots__btn--secondary:hover {
    background-color: var(--page-accent-color);
    color: var(--page-text-color-dark);
    transform: translateY(-3px);
}

.page-resources-understanding-jackpots__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-resources-understanding-jackpots__section {
    padding: 60px 0;
    background-color: var(--page-background-dark);
    color: var(--page-text-color-light);
}

.page-resources-understanding-jackpots__section--dark {
    background-color: var(--page-background-light);
}

.page-resources-understanding-jackpots__section--accent {
    background: linear-gradient(180deg, var(--page-background-light), var(--page-primary-color));
    color: var(--page-text-color-light);
}

.page-resources-understanding-jackpots__section-title {
    font-size: 2.5em;
    color: var(--page-accent-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources-understanding-jackpots__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-resources-understanding-jackpots__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--page-text-color-gray);
}

.page-resources-understanding-jackpots__text--small {
    font-size: 1em;
    color: var(--page-text-color-gray);
}

.page-resources-understanding-jackpots__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-understanding-jackpots__grid-item {
    background-color: var(--page-primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-understanding-jackpots__grid-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources-understanding-jackpots__grid-title {
    font-size: 1.8em;
    color: var(--page-accent-color);
    margin-bottom: 15px;
}

.page-resources-understanding-jackpots__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-understanding-jackpots__strategy-item {
    background-color: var(--page-background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--page-text-color-gray);
}

.page-resources-understanding-jackpots__strategy-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources-understanding-jackpots__strategy-title {
    font-size: 1.5em;
    color: var(--page-accent-color);
    margin-bottom: 10px;
}

.page-resources-understanding-jackpots__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources-understanding-jackpots__list li {
    background-color: var(--page-background-light);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    color: var(--page-text-color-gray);
}

.page-resources-understanding-jackpots__list li strong {
    color: var(--page-accent-color);
    font-size: 1.2em;
}

.page-resources-understanding-jackpots__image-full-width {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-understanding-jackpots__numbered-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources-understanding-jackpots__numbered-list li {
    background-color: var(--page-primary-color);
    margin-bottom: 25px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-left: 80px;
    color: var(--page-text-color-gray);
}

.page-resources-understanding-jackpots__numbered-list li h3 {
    font-size: 1.6em;
    color: var(--page-accent-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources-understanding-jackpots__numbered-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: var(--page-accent-color);
    color: var(--page-text-color-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-resources-understanding-jackpots__call-to-action {
    background: linear-gradient(45deg, var(--page-accent-color) 0%, #e6c200 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--page-text-color-dark);
    position: relative;
    overflow: hidden;
}

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

.page-resources-understanding-jackpots__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--page-text-color-dark);
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-resources-understanding-jackpots__cta-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    color: var(--page-text-color-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-understanding-jackpots__hero-title {
        font-size: 2.8em;
    }
    .page-resources-understanding-jackpots__hero-subtitle {
        font-size: 1.3em;
    }
    .page-resources-understanding-jackpots__section-title {
        font-size: 2em;
    }
    .page-resources-understanding-jackpots__grid,
    .page-resources-understanding-jackpots__strategy-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-understanding-jackpots__cta-title {
        font-size: 2.5em;
    }
    .page-resources-understanding-jackpots__cta-text {
        font-size: 1.1em;
    }
    .page-resources-understanding-jackpots__numbered-list li {
        padding-left: 60px;
    }
    .page-resources-understanding-jackpots__numbered-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.3em;
        left: 15px;
        top: 15px;
    }
}

@media (max-width: 768px) {
    .page-resources-understanding-jackpots__hero {
        padding: 80px 0;
    }
    .page-resources-understanding-jackpots__hero-title {
        font-size: 2.2em;
    }
    .page-resources-understanding-jackpots__hero-subtitle {
        font-size: 1.1em;
    }
    .page-resources-understanding-jackpots__section {
        padding: 40px 0;
    }
    .page-resources-understanding-jackpots__section-title {
        font-size: 1.8em;
    }
    .page-resources-understanding-jackpots__text {
        font-size: 1em;
    }
    .page-resources-understanding-jackpots__grid-title,
    .page-resources-understanding-jackpots__strategy-title {
        font-size: 1.4em;
    }
    .page-resources-understanding-jackpots__cta-title {
        font-size: 2em;
    }
    .page-resources-understanding-jackpots__cta-text {
        font-size: 1em;
    }
    .page-resources-understanding-jackpots__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-understanding-jackpots__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources-understanding-jackpots__hero-title {
        font-size: 1.8em;
    }
    .page-resources-understanding-jackpots__hero-subtitle {
        font-size: 0.9em;
    }
    .page-resources-understanding-jackpots__section-title {
        font-size: 1.5em;
    }
    .page-resources-understanding-jackpots__cta-title {
        font-size: 1.8em;
    }
    .page-resources-understanding-jackpots__cta-text {
        font-size: 0.9em;
    }
    .page-resources-understanding-jackpots__numbered-list li {
        padding-left: 15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .page-resources-understanding-jackpots__numbered-list li::before {
        display: none;
    }
    .page-resources-understanding-jackpots__numbered-list li h3 {
        font-size: 1.4em;
    }
}