/* style/index.css */

.page-index {
    font-family: 'Arial', sans-serif;
    color: #f5e6d0; /* Light text for dark background */
    background-color: #0A192F; /* Primary dark background */
    line-height: 1.6;
}

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

.page-index .page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.page-index .page-index-btn-primary {
    background-color: #FFD700; /* Secondary accent color */
    color: #0A192F;
    border: 2px solid #FFD700;
}

.page-index .page-index-btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-index .page-index-btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-index .page-index-btn-secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-index .page-index-btn-outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-index .page-index-btn-outline:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-index .page-index-btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
    background-color: #FFD700;
    color: #0A192F;
    border: none;
}

.page-index .page-index-btn-small:hover {
    background-color: #e6c200;
}

.page-index .page-index-link-inline {
    color: #FFD700;
    text-decoration: underline;
}

.page-index .page-index-link-inline:hover {
    color: #e6c200;
}

.page-index .highlight {
    color: #FFD700;
    font-weight: bold;
}

.page-index-hero {
    background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-index-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, rgba(10, 25, 47, 0) 70%);
    animation: page-index-rotate 20s linear infinite;
    z-index: 0;
}

@keyframes page-index-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-index-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-index-hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: #FFD700;
    line-height: 1.2;
}

.page-index-hero-description {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #f5e6d0;
}

.page-index-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.page-index-hero-image-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
}

.page-index-hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.page-index-hero-image:hover {
    transform: translateY(-5px);
}

.page-index-section-title {
    font-size: 2.5rem;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-index-section-description {
    font-size: 1.1rem;
    color: #f5e6d0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-index-sub-title {
    font-size: 1.8rem;
    color: #FFD700;
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-index-about {
    padding: 80px 0;
    background-color: #0A192F;
}

.page-index-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-index-feature-item {
    background-color: #1a2b47;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.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.5rem;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index-feature-text {
    font-size: 1rem;
    color: #c7d2e2;
}

.page-index-about .page-index-btn-outline {
    margin-top: 50px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-index-games {
    padding: 80px 0;
    background-color: #0A192F;
}

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

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

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

.page-index-category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-index-category-item h3 {
    font-size: 1.5rem;
    color: #FFD700;
    margin: 20px 0 10px;
}

.page-index-category-item p {
    color: #c7d2e2;
    padding: 0 20px;
    margin-bottom: 20px;
}

.page-index-category-item .page-index-btn-small {
    margin-bottom: 20px;
}

.page-index-promotion-banner {
    background: linear-gradient(90deg, #FFD700, #e6c200);
    padding: 60px 20px;
    text-align: center;
    color: #0A192F;
}

.page-index-promotion-content .page-index-promotion-title {
    font-size: 2.8rem;
    color: #0A192F;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.page-index-promotion-content .page-index-promotion-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #333;
}

.page-index-promotion-banner .page-index-btn-primary {
    background-color: #0A192F;
    color: #FFD700;
    border-color: #0A192F;
}

.page-index-promotion-banner .page-index-btn-primary:hover {
    background-color: #1a2b47;
    color: #FFD700;
    border-color: #1a2b47;
}

.page-index-app-download {
    padding: 80px 0;
    background-color: #0A192F;
}

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

.page-index-app-text-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-index-app-text-content .page-index-section-title {
    text-align: left;
    padding-top: 0;
}

.page-index-app-text-content .page-index-section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-index-app-benefits {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-index-app-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #f5e6d0;
}

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

.page-index-app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

.page-index-deep-content {
    padding: 80px 0;
    background-color: #0A192F;
}

.page-index-deep-content h3 {
    color: #FFD700;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.page-index-deep-content p {
    color: #c7d2e2;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.page-index-deep-content ul, .page-index-deep-content ol {
    color: #c7d2e2;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.page-index-deep-content ul li, .page-index-deep-content ol li {
    margin-bottom: 10px;
}

.page-index-deep-content strong {
    color: #FFD700;
}

.page-index-detail-pages {
    padding: 80px 0;
    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: #1a2b47;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.page-index-detail-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.page-index-detail-title a {
    color: #FFD700;
    text-decoration: none;
}

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

.page-index-detail-description {
    color: #c7d2e2;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.page-index-cta-bottom {
    background: linear-gradient(45deg, #0A192F, #3a507a);
    padding: 80px 20px;
    text-align: center;
}

.page-index-cta-title {
    font-size: 2.8rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-index-cta-description {
    font-size: 1.2rem;
    color: #f5e6d0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-cta-bottom .page-index-btn {
    margin: 0 10px;
}

.page-index-floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #FFD700;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: page-index-bounce 2s infinite;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.page-index-floating-ad a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #0A192F;
    padding: 10px 15px;
}

.page-index-floating-ad-image {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.page-index-floating-ad-text {
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
}

@keyframes page-index-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-title {
        font-size: 2.5rem;
    }
    .page-index-hero-description {
        font-size: 1.1rem;
    }
    .page-index-section-title {
        font-size: 2rem;
    }
    .page-index-app-grid {
        flex-direction: column;
        text-align: center;
    }
    .page-index-app-text-content, .page-index-app-image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-index-app-text-content .page-index-section-title,
    .page-index-app-text-content .page-index-section-description {
        text-align: center;
    }
    .page-index-app-benefits {
        padding-left: 20px;
    }
    .page-index-floating-ad {
        bottom: 10px;
        right: 10px;
    }
    .page-index-floating-ad a {
        padding: 8px 12px;
    }
    .page-index-floating-ad-image {
        width: 30px;
        height: 30px;
    }
    .page-index-floating-ad-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        padding: 60px 15px;
    }
    .page-index-hero-title {
        font-size: 2rem;
    }
    .page-index-hero-description {
        font-size: 1rem;
    }
    .page-index-hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .page-index-btn-secondary {
        margin-left: 0;
    }
    .page-index-section-title {
        font-size: 1.8rem;
    }
    .page-index-sub-title {
        font-size: 1.5rem;
    }
    .page-index-promotion-content .page-index-promotion-title {
        font-size: 2rem;
    }
    .page-index-promotion-content .page-index-promotion-description {
        font-size: 1rem;
    }
    .page-index-cta-title {
        font-size: 2rem;
    }
    .page-index-cta-description {
        font-size: 1rem;
    }
    .page-index-cta-bottom .page-index-btn {
        margin: 5px 0;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 1.8rem;
    }
    .page-index-hero-description {
        font-size: 0.9rem;
    }
    .page-index-section-title {
        font-size: 1.5rem;
    }
    .page-index-floating-ad {
        bottom: 5px;
        right: 5px;
    }
    .page-index-floating-ad a {
        padding: 5px 8px;
    }
    .page-index-floating-ad-image {
        width: 25px;
        height: 25px;
        margin-right: 5px;
    }
    .page-index-floating-ad-text {
        font-size: 0.8rem;
    }
}