/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f7f6;
}

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

/* Hero Section */
.page-index__hero {
    background: linear-gradient(135deg, #0A2342 0%, #0A2342 60%, #FFD700 100%);
    color: #fff;
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 550px;
}

.page-index__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-index__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    color: #e0e0e0;
}

.page-index__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-index__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    font-size: 1.1em;
}

.page-index__btn--primary {
    background-color: #FFD700;
    color: #0A2342;
    border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-index__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2342;
    transform: translateY(-2px);
}

.page-index__btn--tertiary {
    background-color: #0A2342;
    color: #fff;
    border: 2px solid #FFD700;
}

.page-index__btn--tertiary:hover {
    background-color: #1a3c69;
    transform: translateY(-2px);
}

.page-index__hero-image-wrapper {
    max-width: 1000px;
    margin-top: 30px;
}

.page-index__hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-index__section-title {
    font-size: 2.8em;
    color: #0A2342;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

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

.page-index__section-description {
    font-size: 1.2em;
    color: #555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.page-index__about-qh88, .page-index__why-choose, .page-index__game-types, .page-index__promotions, .page-index__security-commitment, .page-index__testimonials, .page-index__detail-pages, .page-index__cta-final {
    padding: 80px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.page-index__about-qh88 {
    background-color: #fcfcfc;
}

.page-index__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-index__text-content {
    flex: 1;
    font-size: 1.1em;
    color: #444;
}

.page-index__text-content p {
    margin-bottom: 15px;
}

.page-index__image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index__about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Why Choose Section */
.page-index__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.page-index__feature-item:hover {
    transform: translateY(-10px);
}

.page-index__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-index__feature-title {
    font-size: 1.6em;
    color: #0A2342;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index__feature-item p {
    color: #666;
    font-size: 1em;
}

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

.page-index__game-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index__game-item:hover {
    transform: translateY(-5px);
}

.page-index__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-index__game-item h3 {
    font-size: 1.5em;
    color: #0A2342;
    margin: 20px 15px 10px;
}

.page-index__game-item p {
    color: #666;
    font-size: 1em;
    margin: 0 15px 20px;
}

.page-index__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-bottom: 20px;
    background-color: #FFD700;
    color: #0A2342;
    border: 2px solid #FFD700;
}

.page-index__btn--small:hover {
    background-color: #e6c200;
    color: #0A2342;
}

/* Promotions Section */
.page-index__promotions {
    background-color: #fefcf5;
}

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

.page-index__promo-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index__promo-item:hover {
    transform: translateY(-5px);
}

.page-index__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-index__promo-title {
    font-size: 1.6em;
    color: #0A2342;
    margin: 20px 15px 10px;
}

.page-index__promo-item p {
    color: #666;
    font-size: 1em;
    margin: 0 15px 20px;
}

.page-index__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Security Commitment Section */
.page-index__security-commitment {
    background-color: #e8f0f3;
}

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

.page-index__security-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.page-index__security-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-index__security-item h3 {
    font-size: 1.5em;
    color: #0A2342;
    margin-bottom: 15px;
}

.page-index__security-item p {
    color: #666;
    font-size: 1em;
}

.page-index__security-footer-text {
    text-align: center;
    font-style: italic;
    color: #777;
    margin-top: 40px;
    font-size: 1.1em;
}

/* Testimonials Section */
.page-index__testimonials {
    background-color: #fcfcfc;
}

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

.page-index__testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.page-index__testimonial-item::before {
    content: '“';
    font-size: 5em;
    color: #FFD700;
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0.2;
    line-height: 0.7;
}

.page-index__testimonial-quote {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 20px;
    font-style: italic;
}

.page-index__testimonial-author {
    font-weight: bold;
    color: #0A2342;
    text-align: right;
}

/* Detail Pages List */
.page-index__detail-pages {
    background-color: #f0f8ff;
}

.page-index__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index__detail-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.page-index__detail-item:hover {
    transform: translateY(-5px);
}

.page-index__detail-title {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-index__detail-title a {
    color: #0A2342;
    text-decoration: none;
    font-weight: bold;
}

.page-index__detail-title a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.page-index__detail-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index__btn--outline {
    background-color: transparent;
    color: #0A2342;
    border: 2px solid #0A2342;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    align-self: flex-start;
}

.page-index__btn--outline:hover {
    background-color: #0A2342;
    color: #FFD700;
}

/* Final CTA Section */
.page-index__cta-final {
    background-color: #0A2342;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.page-index__cta-final .page-index__section-title {
    color: #FFD700;
}

.page-index__cta-final .page-index__section-title::after {
    background-color: #FFD700;
}

.page-index__cta-final .page-index__section-description {
    color: #e0e0e0;
}

.page-index__cta-final .page-index__cta-group {
    margin-top: 50px;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index__hero-title {
        font-size: 2.8em;
    }
    .page-index__hero-subtitle {
        font-size: 1.2em;
    }
    .page-index__section-title {
        font-size: 2.2em;
    }
    .page-index__section-description {
        font-size: 1.1em;
    }
    .page-index__content-grid {
        flex-direction: column;
    }
    .page-index__about-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-index__hero {
        padding: 60px 0 30px;
    }
    .page-index__hero-title {
        font-size: 2.2em;
    }
    .page-index__hero-subtitle {
        font-size: 1em;
    }
    .page-index__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-index__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-index__about-qh88, .page-index__why-choose, .page-index__game-types, .page-index__promotions, .page-index__security-commitment, .page-index__testimonials, .page-index__detail-pages, .page-index__cta-final {
        padding: 50px 0;
    }
    .page-index__features-grid, .page-index__game-grid, .page-index__promo-grid, .page-index__security-content, .page-index__testimonial-grid, .page-index__detail-list {
        grid-template-columns: 1fr;
    }
    .page-index__feature-item, .page-index__game-item, .page-index__promo-item, .page-index__security-item, .page-index__testimonial-item, .page-index__detail-item {
        padding: 20px;
    }
    .page-index__feature-title, .page-index__game-title, .page-index__promo-title, .page-index__security-item h3, .page-index__detail-title {
        font-size: 1.3em;
    }
    .page-index__btn--outline {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .page-index__hero {
        min-height: 450px;
    }
    .page-index__hero-title {
        font-size: 1.8em;
    }
    .page-index__hero-subtitle {
        font-size: 0.9em;
    }
    .page-index__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-index__section-title {
        font-size: 1.5em;
    }
    .page-index__section-description {
        font-size: 0.85em;
    }
    .page-index__about-qh88, .page-index__why-choose, .page-index__game-types, .page-index__promotions, .page-index__security-commitment, .page-index__testimonials, .page-index__detail-pages, .page-index__cta-final {
        padding: 30px 0;
    }
    .page-index__game-image, .page-index__promo-image {
        height: 150px;
    }
    .page-index__testimonial-quote {
        font-size: 1em;
    }
}