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

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

.page-index-section-title {
    color: #003366;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    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: #FFCC00;
    border-radius: 2px;
}

.page-index-section-subtitle {
    color: #555;
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
}

.page-index-paragraph {
    margin-bottom: 15px;
    color: #444;
}

/* Buttons */
.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, transform 0.2s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-index-btn-primary {
    background-color: #FFCC00;
    color: #003366;
}

.page-index-btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.page-index-btn-secondary {
    background-color: #003366;
    color: #FFCC00;
    border: 2px solid #FFCC00;
}

.page-index-btn-secondary:hover {
    background-color: #002244;
    color: #FFF;
    transform: translateY(-2px);
}

.page-index-btn-tertiary {
    background-color: #FFF;
    color: #003366;
    border: 2px solid #003366;
}

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

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

.page-index-btn-outline:hover {
    background-color: #003366;
    color: #FFCC00;
    transform: translateY(-2px);
}

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

.page-index-btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

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

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

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #003366, #004488);
    color: #fff;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 500px;
    flex-wrap: wrap-reverse;
}

.page-index-hero-content {
    max-width: 600px;
    text-align: left;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFCC00;
}

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

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

.page-index-hero-image-wrapper {
    flex-shrink: 0;
    max-width: 500px;
}

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

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

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

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

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

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

/* Why Choose Section */
.page-index-why-choose {
    padding: 80px 0;
    background-color: #fff;
}

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

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

.page-index-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-index-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 3px rgba(0, 51, 102, 0.3));
}

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

.page-index-feature-description {
    color: #555;
    font-size: 0.95em;
}

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

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

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

.page-index-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index-detail-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 15px;
}

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

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

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

/* Game Categories Section */
.page-index-game-categories {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-index-game-card {
    background-color: #f0f8ff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-index-game-card h3 {
    font-size: 1.5em;
    color: #003366;
    margin: 20px 20px 10px;
}

.page-index-game-card p {
    color: #555;
    padding: 0 20px 20px;
    font-size: 0.95em;
}

/* How to Start Section */
.page-index-how-to-start {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.page-index-step-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
    border-bottom: 5px solid #FFCC00;
}

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

.page-index-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #003366;
    color: #FFCC00;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index-step-title {
    font-size: 1.5em;
    color: #003366;
    margin-bottom: 15px;
}

.page-index-step-description {
    color: #555;
    font-size: 0.95em;
}

.page-index-call-to-action-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Responsible Gambling Section */
.page-index-responsible-gambling {
    padding: 80px 0;
    background-color: #e6f7ff;
    color: #003366;
}

.page-index-responsible-gambling .page-index-section-title {
    color: #003366;
}

.page-index-responsible-gambling .page-index-section-subtitle,
.page-index-responsible-gambling .page-index-paragraph {
    color: #333;
}

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

.page-index-accordion-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-index-accordion-header {
    background-color: #003366;
    color: #FFCC00;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-index-accordion-header:hover {
    background-color: #002a55;
}

.page-index-accordion-header::after {
    content: '+';
    font-size: 1.5em;
    color: #FFCC00;
    transition: transform 0.3s ease;
}

.page-index-accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index-accordion-content {
    padding: 0 25px;
    background-color: #fcfcfc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index-accordion-content.active {
    max-height: 300px; /* Adjust as needed */
    padding: 25px;
}

.page-index-accordion-content p {
    margin: 0;
    color: #555;
}

/* Final CTA Section */
.page-index-final-cta {
    background: linear-gradient(90deg, #003366, #004488);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.page-index-final-cta .page-index-section-title {
    color: #FFCC00;
}

.page-index-final-cta .page-index-section-subtitle {
    color: #e0e0e0;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero {
        flex-direction: column;
        text-align: center;
    }

    .page-index-hero-content {
        text-align: center;
    }

    .page-index-hero-actions {
        justify-content: center;
    }

    .page-index-flex-content {
        flex-direction: column;
    }

    .page-index-hero-title {
        font-size: 2.8em;
    }

    .page-index-section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        padding: 60px 20px;
    }

    .page-index-hero-title {
        font-size: 2.2em;
    }

    .page-index-hero-description {
        font-size: 1.1em;
    }

    .page-index-section-title {
        font-size: 1.8em;
    }

    .page-index-section-subtitle {
        font-size: 1em;
    }

    .page-index-features-grid, .page-index-detail-grid, .page-index-game-grid, .page-index-steps-grid {
        grid-template-columns: 1fr;
    }

    .page-index-accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-index-accordion-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-index-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-index-btn {
        width: 100%;
    }

    .page-index-hero-title {
        font-size: 1.8em;
    }

    .page-index-section-title {
        font-size: 1.5em;
    }
}