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

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

.page-index-section-title {
    font-size: 2.5em;
    color: #8B0000;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    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;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555;
}

.page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    border: none;
}

.page-index-btn-primary {
    background-color: #FFD700;
    color: #8B0000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-btn-secondary {
    background-color: #8B0000;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-index-btn-secondary:hover {
    background-color: #6a0000;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-index-btn-tertiary {
    background-color: transparent;
    color: #8B0000;
    border: 2px solid #8B0000;
}

.page-index-btn-tertiary:hover {
    background-color: #8B0000;
    color: #FFD700;
    transform: translateY(-2px);
}

.page-index-btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 6px;
}

.page-index-center-button {
    text-align: center;
    margin-top: 40px;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #FFD700, #8B0000);
    color: #fff;
    padding: 80px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #fff;
}

.page-index-hero-description {
    font-size: 1.3em;
    max-width: 900px;
    margin-bottom: 40px;
    color: #eee;
}

.page-index-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.page-index-hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-top: 30px;
}

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

/* About Section */
.page-index-about {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-index-feature-card {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index-feature-card:hover {
    transform: translateY(-5px);
}

.page-index-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-index-feature-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-index-feature-text {
    color: #666;
}

/* Games Section */
.page-index-games {
    padding: 80px 0;
    background-color: #f2f2f2;
}

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

.page-index-game-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

.page-index-game-title {
    font-size: 1.4em;
    color: #8B0000;
    margin: 20px 15px 10px;
}

.page-index-game-text {
    color: #666;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-index-game-card .page-index-btn {
    margin-bottom: 20px;
}

/* Promotions Section */
.page-index-promotions {
    padding: 80px 0;
    background-color: #fff;
}

.page-index-promo-card {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index-promo-card:hover {
    transform: translateY(-5px);
}

.page-index-promo-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-promo-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-index-promo-text {
    color: #666;
    margin-bottom: 20px;
}

/* Mobile App Section */
.page-index-mobile-app {
    padding: 80px 0;
    background-color: #f2f2f2;
}

.page-index-flex-reverse {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-index-mobile-content,
.page-index-mobile-image-wrapper {
    flex: 1;
    min-width: 300px;
}

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

.page-index-app-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.page-index-app-features li {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-index-list-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.page-index-note {
    font-style: italic;
    color: #777;
    margin-top: 20px;
    text-align: left;
}

/* Support Section */
.page-index-support {
    padding: 80px 0;
    background-color: #fff;
}

.page-index-contact-method {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index-contact-method:hover {
    transform: translateY(-5px);
}

.page-index-contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-index-contact-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-index-contact-text {
    color: #666;
    margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-index-responsible-gaming {
    padding: 80px 0;
    background-color: #f2f2f2;
}

/* Detail Pages Section */
.page-index-detail-pages {
    padding: 80px 0;
    background-color: #fff;
}

.page-index-detail-card {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.page-index-detail-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 15px;
}

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

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

.page-index-detail-description {
    color: #666;
    margin-bottom: 20px;
}

/* Floating Ad */
.page-index-floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #8B0000;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-index-floating-ad.show {
    opacity: 1;
    transform: translateY(0);
}

.page-index-floating-ad-text {
    margin: 0;
    font-weight: bold;
    font-size: 1.1em;
}

.page-index-floating-ad .page-index-btn {
    background-color: #FFD700;
    color: #8B0000;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9em;
}

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

.page-index-close-ad-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    margin-left: 10px;
    line-height: 1;
}

.page-index-close-ad-btn:hover {
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-title {
        font-size: 2.8em;
    }
    .page-index-hero-description {
        font-size: 1.1em;
    }
    .page-index-section-title {
        font-size: 2em;
    }
    .page-index-flex-reverse {
        flex-direction: column-reverse;
    }
    .page-index-mobile-content,
    .page-index-mobile-image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-index-floating-ad {
        flex-direction: column;
        align-items: flex-start;
        right: 10px;
        left: 10px;
        width: auto;
    }
    .page-index-close-ad-btn {
        position: absolute;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        padding: 60px 0 30px;
    }
    .page-index-hero-title {
        font-size: 2.2em;
    }
    .page-index-hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-index-section-title {
        font-size: 1.8em;
    }
    .page-index-section-description {
        font-size: 1em;
    }
    .page-index-grid-2-cols, .page-index-grid-3-cols {
        grid-template-columns: 1fr;
    }
    .page-index-floating-ad {
        bottom: 10px;
        right: 10px;
        left: 10px;
        padding: 10px 15px;
    }
    .page-index-floating-ad-text {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 1.8em;
    }
    .page-index-hero-description {
        font-size: 0.9em;
    }
    .page-index-section-title {
        font-size: 1.5em;
    }
    .page-index-btn {
        width: 90%;
    }
}