/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0A192F; /* Primary dark blue background */
}

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

.page-index__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.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.1em;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #B0B0B0; /* Slightly darker light gray for descriptions */
}

/* Hero Section */
.page-index__hero {
    background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

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

.page-index__hero-subtitle {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.page-index__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-index__btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-index__btn--primary {
    background-color: #FFD700;
    color: #0A192F;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-index__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-index__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.page-index__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-index__btn--small {
    padding: 10px 25px;
    font-size: 0.95em;
    border-radius: 5px;
    background-color: #FFD700;
    color: #0A192F;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.page-index__btn--small:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.page-index__hero-image-wrapper {
    margin-top: 50px;
    max-width: 1000px;
    width: 100%;
    display: flex;
    justify-content: center;
}

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

/* About Overview Section */
.page-index__about-overview,
.page-index__features,
.page-index__game-categories,
.page-index__promotions,
.page-index__app-download,
.page-index__user-guide,
.page-index__detail-pages,
.page-index__cta-final {
    padding: 80px 0;
    background-color: #122842; /* Slightly lighter dark blue for sections */
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-index__about-overview p {
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    color: #D0D0D0;
}

/* Features Section */
.page-index__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

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

.page-index__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-index__feature-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index__feature-text {
    font-size: 1em;
    line-height: 1.6;
    color: #C0C0C0;
}

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

.page-index__game-item {
    background-color: #0A192F;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index__game-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-index__game-image {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-index__game-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index__game-text {
    font-size: 0.95em;
    line-height: 1.5;
    color: #C0C0C0;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-index__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index__promo-item {
    background-color: #0A192F;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index__promo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-index__promo-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-index__promo-title {
    font-size: 1.7em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index__promo-text {
    font-size: 1em;
    line-height: 1.6;
    color: #C0C0C0;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-index__promotions-cta {
    margin-top: 40px;
    font-size: 1.1em;
}

.page-index__link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__link:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* App Download Section */
.page-index__app-download {
    background-color: #0A192F; /* Primary dark blue for contrast */
    padding: 100px 0;
}

.page-index__app-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-index__app-content {
    flex: 1;
    min-width: 300px;
}

.page-index__app-content .page-index__section-title,
.page-index__app-content .page-index__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-index__app-content .page-index__section-title::after {
    left: 0;
    transform: translateX(0);
}

.page-index__app-benefits {
    list-style: none;
    padding: 0;
    margin: 30px 0 40px 0;
}

.page-index__app-benefits li {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    color: #FFFFFF;
    margin-bottom: 15px;
    line-height: 1.5;
}

.page-index__app-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    filter: drop-shadow(0 0 3px #FFD700);
}

.page-index__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* User Guide Section */
.page-index__user-guide {
    background-color: #122842;
}

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

.page-index__guide-step-item {
    background-color: #0A192F;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index__guide-step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-index__guide-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px auto;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-index__guide-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index__guide-text {
    font-size: 1em;
    line-height: 1.6;
    color: #C0C0C0;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Detail Pages Section */
.page-index__detail-pages {
    background-color: #0A192F;
}

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

.page-index__detail-item {
    background-color: #122842;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index__detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-index__detail-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index__detail-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-index__detail-description {
    font-size: 1em;
    line-height: 1.6;
    color: #C0C0C0;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Final CTA Section */
.page-index__cta-final {
    text-align: center;
    background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
    padding: 80px 0;
    margin-bottom: 0;
}

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

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

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

.page-index__cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-index__cta-actions .page-index__btn--primary {
    background-color: #0A192F;
    color: #FFD700;
    box-shadow: 0 5px 15px rgba(10, 25, 47, 0.4);
}

.page-index__cta-actions .page-index__btn--primary:hover {
    background-color: #1a3a60;
    box-shadow: 0 8px 20px rgba(10, 25, 47, 0.6);
}

.page-index__cta-actions .page-index__btn--secondary {
    background-color: transparent;
    color: #0A192F;
    border: 2px solid #0A192F;
    box-shadow: 0 5px 15px rgba(10, 25, 47, 0.2);
}

.page-index__cta-actions .page-index__btn--secondary:hover {
    background-color: #0A192F;
    color: #FFD700;
    box-shadow: 0 8px 20px rgba(10, 25, 47, 0.4);
}

/* Floating Ad Menu */
.page-index__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: page-index__bounce 2s infinite;
}

.page-index__floating-btn {
    display: flex;
    align-items: center;
    background-color: #FFD700;
    color: #0A192F;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.6);
    transition: all 0.3s ease;
}
}