/* style/new88-jackpot-leaderboard-game-stats.css */
.page-new88-jackpot-leaderboard-game-stats {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-dark: #000000; /* Black for light backgrounds */
    --text-light: #FFFFFF; /* White for dark backgrounds */
    --background-light: #F8F8F8;
    --background-dark: #000040;
    --button-hover-primary: #e6c200;
    --button-hover-secondary: #000060;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-new88-jackpot-leaderboard-game-stats__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-new88-jackpot-leaderboard-game-stats__container--center {
    text-align: center;
}

.page-new88-jackpot-leaderboard-game-stats__hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0;
    color: var(--text-light);
    text-align: center;
}

.page-new88-jackpot-leaderboard-game-stats__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-new88-jackpot-leaderboard-game-stats__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-new88-jackpot-leaderboard-game-stats__keyword {
    color: var(--primary-color);
    font-weight: bold;
}

.page-new88-jackpot-leaderboard-game-stats__section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-new88-jackpot-leaderboard-game-stats__section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-new88-jackpot-leaderboard-game-stats__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-new88-jackpot-leaderboard-game-stats__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-new88-jackpot-leaderboard-game-stats__sub-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-new88-jackpot-leaderboard-game-stats__sub-title--analysis {
    text-align: center;
    margin-top: 60px;
}

.page-new88-jackpot-leaderboard-game-stats__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-new88-jackpot-leaderboard-game-stats__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-new88-jackpot-leaderboard-game-stats__button--primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-new88-jackpot-leaderboard-game-stats__button--primary:hover {
    background-color: var(--button-hover-primary);
    color: var(--secondary-color);
}

.page-new88-jackpot-leaderboard-game-stats__button--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 20px;
}

.page-new88-jackpot-leaderboard-game-stats__button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-new88-jackpot-leaderboard-game-stats__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 25px;
    margin: 0;
}

.page-new88-jackpot-leaderboard-game-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-new88-jackpot-leaderboard-game-stats__grid-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-new88-jackpot-leaderboard-game-stats__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-new88-jackpot-leaderboard-game-stats__item-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-new88-jackpot-leaderboard-game-stats__content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-new88-jackpot-leaderboard-game-stats__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-new88-jackpot-leaderboard-game-stats__image--left {
    flex: 1; /* Allows image to take available space */
    min-width: 300px;
}

.page-new88-jackpot-leaderboard-game-stats__image--full-width {
    margin-top: 40px;
    width: 100%;
    object-fit: cover;
    max-height: 400px;
}

.page-new88-jackpot-leaderboard-game-stats__image--promo {
    margin: 30px auto;
    display: block;
    max-width: 800px;
}

.page-new88-jackpot-leaderboard-game-stats__text-content {
    flex: 2; /* Allows text to take more space */
    min-width: 300px;
}

.page-new88-jackpot-leaderboard-game-stats__leaderboard-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.page-new88-jackpot-leaderboard-game-stats__leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--text-light);
    min-width: 700px; /* Ensure table is wide enough on small screens */
}

.page-new88-jackpot-leaderboard-game-stats__leaderboard-table th,
.page-new88-jackpot-leaderboard-game-stats__leaderboard-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.page-new88-jackpot-leaderboard-game-stats__leaderboard-table th {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
}

.page-new88-jackpot-leaderboard-game-stats__leaderboard-table tr:last-child td {
    border-bottom: none;
}

.page-new88-jackpot-leaderboard-game-stats__leaderboard-table tbody tr:hover {
    background-color: #f9f9f9;
}

.page-new88-jackpot-leaderboard-game-stats__game-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-new88-jackpot-leaderboard-game-stats__game-card {
    background-color: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-new88-jackpot-leaderboard-game-stats__game-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-new88-jackpot-leaderboard-game-stats__game-name {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-new88-jackpot-leaderboard-game-stats__game-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.page-new88-jackpot-leaderboard-game-stats__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 700px;
    text-align: left;
}

.page-new88-jackpot-leaderboard-game-stats__steps-list li {
    background-color: var(--text-light);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: var(--text-dark);
    counter-increment: step-counter;
    position: relative;
    padding-left: 50px;
}

.page-new88-jackpot-leaderboard-game-stats__steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-new88-jackpot-leaderboard-game-stats__button-group {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-new88-jackpot-leaderboard-game-stats__tip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-new88-jackpot-leaderboard-game-stats__tip-card {
    background-color: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-new88-jackpot-leaderboard-game-stats__tip-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.page-new88-jackpot-leaderboard-game-stats__tip-title::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-new88-jackpot-leaderboard-game-stats__section--cta {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-new88-jackpot-leaderboard-game-stats__section--cta .page-new88-jackpot-leaderboard-game-stats__section-title {
    color: var(--primary-color);
}

.page-new88-jackpot-leaderboard-game-stats__section--cta .page-new88-jackpot-leaderboard-game-stats__paragraph {
    color: var(--text-light);
}

.page-new88-jackpot-leaderboard-game-stats__section--cta .page-new88-jackpot-leaderboard-game-stats__button--primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-new88-jackpot-leaderboard-game-stats__section--cta .page-new88-jackpot-leaderboard-game-stats__button--primary:hover {
    background-color: var(--button-hover-primary);
    color: var(--secondary-color);
}

.page-new88-jackpot-leaderboard-game-stats__section--cta .page-new88-jackpot-leaderboard-game-stats__button--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-new88-jackpot-leaderboard-game-stats__section--cta .page-new88-jackpot-leaderboard-game-stats__button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-new88-jackpot-leaderboard-game-stats__hero-title {
        font-size: 2.8em;
    }
    .page-new88-jackpot-leaderboard-game-stats__section-title {
        font-size: 2em;
    }
    .page-new88-jackpot-leaderboard-game-stats__content-block {
        flex-direction: column;
        text-align: center;
    }
    .page-new88-jackpot-leaderboard-game-stats__image--left {
        order: -1; /* Image appears above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-new88-jackpot-leaderboard-game-stats__hero-section {
        padding: 80px 0;
    }
    .page-new88-jackpot-leaderboard-game-stats__hero-title {
        font-size: 2.2em;
    }
    .page-new88-jackpot-leaderboard-game-stats__hero-description {
        font-size: 1em;
    }
    .page-new88-jackpot-leaderboard-game-stats__section {
        padding: 40px 0;
    }
    .page-new88-jackpot-leaderboard-game-stats__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-new88-jackpot-leaderboard-game-stats__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-new88-jackpot-leaderboard-game-stats__button--secondary {
        margin-left: 0;
    }
    .page-new88-jackpot-leaderboard-game-stats__leaderboard-table-wrapper {
        margin: 20px 0;
    }
    .page-new88-jackpot-leaderboard-game-stats__game-analysis-grid,
    .page-new88-jackpot-leaderboard-game-stats__tip-grid {
        grid-template-columns: 1fr;
    }
    .page-new88-jackpot-leaderboard-game-stats__steps-list {
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .page-new88-jackpot-leaderboard-game-stats__hero-title {
        font-size: 1.8em;
    }
    .page-new88-jackpot-leaderboard-game-stats__section-title {
        font-size: 1.5em;
    }
    .page-new88-jackpot-leaderboard-game-stats__button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-new88-jackpot-leaderboard-game-stats__leaderboard-table th,
    .page-new88-jackpot-leaderboard-game-stats__leaderboard-table td {
        padding: 10px;
        font-size: 0.9em;
    }
}