/* style/index-hot-games.css */

/* Biến CSS */
:root {
    --page-index-hot-games-primary-color: #0A2463;
    --page-index-hot-games-secondary-color: #E3B505;
    --page-index-hot-games-text-dark: #333;
    --page-index-hot-games-text-light: #fff;
    --page-index-hot-games-background-light: #f9f9f9;
    --page-index-hot-games-card-bg: #fff;
    --page-index-hot-games-border-color: #eee;
}

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

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

/* Hero Section */
.page-index-hot-games__hero-section {
    background: linear-gradient(135deg, var(--page-index-hot-games-primary-color) 0%, #1A3E80 100%); /* Slightly lighter variant of primary */
    color: var(--page-index-hot-games-text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-index-hot-games__hero-content {
    max-width: 600px;
    text-align: left;
    z-index: 1;
}

.page-index-hot-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-index-hot-games-secondary-color);
}

.page-index-hot-games__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-index-hot-games__hero-actions {
    display: flex;
    gap: 15px;
}

.page-index-hot-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1em;
    text-align: center;
}

.page-index-hot-games__btn--primary {
    background-color: var(--page-index-hot-games-secondary-color);
    color: var(--page-index-hot-games-primary-color);
    border: 2px solid var(--page-index-hot-games-secondary-color);
}

.page-index-hot-games__btn--primary:hover {
    background-color: #F0C94F; /* Lighter gold */
    border-color: #F0C94F;
    transform: translateY(-2px);
}

.page-index-hot-games__btn--secondary {
    background-color: transparent;
    color: var(--page-index-hot-games-secondary-color);
    border: 2px solid var(--page-index-hot-games-secondary-color);
}

.page-index-hot-games__btn--secondary:hover {
    background-color: var(--page-index-hot-games-secondary-color);
    color: var(--page-index-hot-games-primary-color);
    transform: translateY(-2px);
}

.page-index-hot-games__hero-image-wrapper {
    position: relative;
    width: 500px;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-index-hot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* General Section Styles */
.page-index-hot-games__intro-section,
.page-index-hot-games__game-categories-section,
.page-index-hot-games__why-u888-section,
.page-index-hot-games__responsible-gaming-section,
.page-index-hot-games__final-cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-index-hot-games__section-title {
    font-size: 2.5em;
    color: var(--page-index-hot-games-primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

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

.page-index-hot-games__section-description,
.page-index-hot-games__text-content {
    font-size: 1.05em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

/* Game Categories */
.page-index-hot-games__category {
    margin-bottom: 60px;
    text-align: left;
}

.page-index-hot-games__category-title {
    font-size: 1.8em;
    color: var(--page-index-hot-games-primary-color);
    margin-bottom: 15px;
    border-left: 5px solid var(--page-index-hot-games-secondary-color);
    padding-left: 15px;
}

.page-index-hot-games__category-description {
    font-size: 1em;
    margin-bottom: 30px;
    color: #666;
}

.page-index-hot-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-hot-games__game-card {
    background-color: var(--page-index-hot-games-card-bg);
    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-index-hot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index-hot-games__game-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--page-index-hot-games-border-color);
    margin-bottom: 15px;
}

.page-index-hot-games__game-card-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    height: 50px; /* Fixed height for titles */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.page-index-hot-games__game-card-title a {
    color: var(--page-index-hot-games-primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-hot-games__game-card-title a:hover {
    color: var(--page-index-hot-games-secondary-color);
}

.page-index-hot-games__game-card-description {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px;
    margin-bottom: 20px;
    height: 60px; /* Fixed height for descriptions */
    overflow: hidden;
}

.page-index-hot-games__btn--play {
    background-color: var(--page-index-hot-games-secondary-color);
    color: var(--page-index-hot-games-primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.page-index-hot-games__btn--play:hover {
    background-color: #F0C94F;
}

/* Why U888 Section */
.page-index-hot-games__why-u888-section {
    background-color: var(--page-index-hot-games-primary-color);
    color: var(--page-index-hot-games-text-light);
}

.page-index-hot-games__why-u888-section .page-index-hot-games__section-title {
    color: var(--page-index-hot-games-secondary-color);
}

.page-index-hot-games__why-u888-section .page-index-hot-games__section-title::after {
    background-color: var(--page-index-hot-games-text-light);
}

.page-index-hot-games__why-u888-section .page-index-hot-games__text-content {
    color: rgba(255, 255, 255, 0.9);
}

.page-index-hot-games__advantage-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    text-align: left;
}

.page-index-hot-games__advantage-list li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.05em;
    position: relative;
    padding-left: 45px;
    transition: background-color 0.3s ease;
}

.page-index-hot-games__advantage-list li:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-index-hot-games__advantage-list li strong {
    color: var(--page-index-hot-games-secondary-color);
    display: block;
    margin-bottom: 5px;
}

.page-index-hot-games__advantage-list li::before {
    content: '✅';
    position: absolute;
    left: 15px;
    top: 20px;
    font-size: 1.2em;
}

/* Responsible Gaming Section */
.page-index-hot-games__responsible-gaming-section {
    background-color: var(--page-index-hot-games-background-light);
}

.page-index-hot-games__responsible-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 800px;
    text-align: left;
}

.page-index-hot-games__responsible-list li {
    background-color: var(--page-index-hot-games-card-bg);
    padding: 15px 20px;
    border-left: 4px solid var(--page-index-hot-games-secondary-color);
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-hot-games__responsible-list li strong {
    color: var(--page-index-hot-games-primary-color);
}

/* Final CTA Section */
.page-index-hot-games__final-cta-section {
    background: linear-gradient(135deg, #1A3E80 0%, var(--page-index-hot-games-primary-color) 100%);
    color: var(--page-index-hot-games-text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}