/* style/index.css */

/* General Page Index Styles */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-index-section-title {
    color: #0A2463;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    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 {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-btn-primary {
    background-color: #FFD700;
    color: #0A2463;
    border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-index-btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-index-btn-outline:hover {
    background-color: #0A2463;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #0A2463 0%, #1a3c7a 100%);
    color: #FFFFFF;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.page-index-hero-content {
    max-width: 600px;
    padding: 0 20px;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD700; /* High contrast */
}

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

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

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

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

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

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

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

.page-index-about-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.page-index-about-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #444;
}

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

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

/* Features Section */
.page-index-features {
    padding: 80px 0;
    background-color: #f0f4f7;
}

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

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

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

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

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

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

.page-index-cta-bottom {
    text-align: center;
}

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

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

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

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

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

.page-index-game-card h3 {
    color: #0A2463;
    font-size: 1.4em;
    margin: 15px 10px 10px;
}

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

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

/* Bonus Guide Section */
.page-index-bonus-guide {
    padding: 80px 0;
    background-color: #0A2463;
    color: #FFFFFF;
}

.page-index-bonus-guide .page-index-section-title {
    color: #FFD700;
}

.page-index-bonus-guide .page-index-section-description {
    color: #e0e0e0;
}

.page-index-guide-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.page-index-guide-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-index-guide-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
}

.page-index-guide-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-index-guide-list li strong {
    color: #FFD700;
}

.page-index-guide-list li a {
    color: #FFD700;
    text-decoration: underline;
}

.page-index-guide-list li a:hover {
    color: #FFFFFF;
}

/* Testimonials Section */
.page-index-testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.page-index-testimonial-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
}

.page-index-testimonial-card::before {
    content: '“';
    font-size: 4em;
    color: #FFD700;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.page-index-testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #FFD700;
}

.page-index-testimonial-card h4 {
    color: #0A2463;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-index-testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.page-index-testimonial-source {
    display: block;
    font-size: 0.9em;
    color: #888;
}

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

.page-index-responsible-list {
    list-style-type: disc;
    max-width: 700px;
    margin: 30px auto;
    padding-left: 40px;
    color: #444;
    font-size: 1.05em;
}

.page-index-responsible-list li {
    margin-bottom: 10px;
}

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

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

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

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

.page-index-detail-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-index-detail-card h3 a {
    color: #0A2463;
    text-decoration: none;
}

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

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

/* Final CTA Section */
.page-index-cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A2463, #1a3c7a);
    color: #FFFFFF;
    text-align: center;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero {
        flex-direction: column-reverse;
        padding: 80px 20px;
    }

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

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

    .page-index-about-grid {
        flex-direction: column;
    }

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

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

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

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

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

    .page-index-hero-actions {
        flex-direction: column;
        gap: 15px;
    }

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

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

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

    .page-index-guide-list {
        padding-left: 20px;
    }

    .page-index-guide-list li {
        font-size: 1em;
    }

    .page-index-responsible-list {
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 1.8em;
    }

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

    .page-index-btn {
        padding: 10px 20px;
        font-size: 1em;
    }

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

    .page-index-feature-item h3 {
        font-size: 1.3em;
    }

    .page-index-game-card h3 {
        font-size: 1.2em;
    }
}