/* style/index.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #EA7C07; /* Màu cam cho đăng nhập/nút CTA */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #26A9E0;
    --border-color: #e0e0e0;
}

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

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

.page-index__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-index__section-title--light {
    color: var(--text-color-light);
}

.page-index__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index__section-description--light {
    color: var(--text-color-light);
}

/* Hero Section */
.page-index__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Kế thừa từ shared, đảm bảo khoảng cách với header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #33B7F5 100%); /* Sử dụng màu chủ đạo */
    overflow: hidden;
}

.page-index__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-index__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-index__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-color-light);
}

.page-index__hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-color-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color); /* Màu cam cho CTA */
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-index__cta-button:hover {
    background: #FF8C00; /* Màu cam sáng hơn khi hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-index__intro-section {
    padding: 80px 0;
    background: var(--bg-light);
    color: var(--text-color-dark);
}

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

.page-index__feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__feature-item img {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-index__feature-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index__feature-text {
    font-size: 16px;
    color: var(--text-color-dark);
}

/* Quick Access Section */
.page-index__quick-access-section {
    padding: 80px 0;
    background: var(--bg-dark); /* Màu chủ đạo làm nền */
    color: var(--text-color-light);
}

.page-index__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-index__btn-primary,
.page-index__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent; /* Thêm border để tránh nhảy khi hover */
}

.page-index__btn-primary {
    background: var(--secondary-color); /* Màu cam */
    color: var(--text-color-light);
    border-color: var(--secondary-color);
}

.page-index__btn-primary:hover {
    background: #FF8C00;
    border-color: #FF8C00;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index__btn-secondary {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-index__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Games Section */
.page-index__games-section {
    padding: 80px 0;
    background: var(--bg-light);
    color: var(--text-color-dark);
}

.page-index__game-category {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.page-index__game-category--reverse {
    flex-direction: row-reverse;
}

.page-index__game-content {
    flex: 1;
}

.page-index__game-image {
    flex: 1;
    min-width: 300px;
}

.page-index__game-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index__game-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-index__game-title a:hover {
    text-decoration: underline;
}

.page-index__game-text {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.page-index__btn-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__btn-link:hover {
    background: #33B7F5;
    transform: translateY(-2px);
}

/* Promotions Section */
.page-index__promotions-section {
    padding: 80px 0;
    background: var(--bg-dark);
    color: var(--text-color-light);
}