/* style/index.css */

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

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

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

.page-index-section-description {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 50px;
}

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

.page-index-btn-primary {
    background-color: #007bff;
    color: #fff;
}

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

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

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

.page-index-btn-link {
    background: none;
    color: #007bff;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-index-btn-link:hover {
    color: #0056b3;
}

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

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

.page-index-inline-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-index-inline-link:hover {
    text-decoration: underline;
}

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

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 550px;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.page-index-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    z-index: 1;
}

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

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

.page-index-hero-title .highlight {
    color: #ffc107;
}

.page-index-hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.page-index-hero-image-wrapper {
    flex-shrink: 0;
    z-index: 2;
    padding: 0 20px;
}

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

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

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

.page-index-about-text {
    flex: 1;
}

.page-index-about-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
}

.page-index-about-image {
    flex: 1;
    text-align: center;
}

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

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

.page-index-feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    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 5px 5px rgba(0, 0, 0, 0.1));
}

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

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

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

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

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

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

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

.page-index-game-card h3 {
    font-size: 1.4em;
    color: #007bff;
    padding: 15px 20px 5px;
}

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

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

/* Trust Section */
.page-index-trust {
    background-color: #e6f2ff;
    padding: 80px 0;
}

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

.page-index-trust-image {
    flex: 1;
    text-align: center;
}

.page-index-trust-text {
    flex: 1;
}

.page-index-trust-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
}

/* Registration CTA */
.page-index-registration-cta {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.page-index-registration-cta .page-index-section-title {
    color: #fff;
}

.page-index-registration-cta .page-index-section-title::after {
    background-color: #ffc107;
}

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

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

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

.page-index-99ok-text {
    flex: 1;
}

.page-index-99ok-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
}

.page-index-99ok-image {
    flex: 1;
    text-align: center;
}

/* Deep Content Section */
.page-index-deep-content {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-index-deep-content h2,
.page-index-deep-content h3,
.page-index-deep-content h4 {
    color: #007bff;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-index-deep-content h2 {
    font-size: 2.2em;
}

.page-index-deep-content h3 {
    font-size: 1.8em;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 5px;
    display: inline-block;
}

.page-index-deep-content h4 {
    font-size: 1.4em;
    color: #333;
}

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

.page-index-deep-content ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-index-deep-content li {
    margin-bottom: 8px;
    color: #444;
}

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

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

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

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

.page-index-detail-item h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    min-height: 60px; /* Ensure consistent height */
}

.page-index-detail-item h3 a {
    color: #007bff;
    text-decoration: none;
}

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

.page-index-detail-item p {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
    min-height: 70px; /* Ensure consistent height */
}

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

    .page-index-hero-content {
        order: 2;
        max-width: 100%;
    }

    .page-index-hero-image-wrapper {
        order: 1;
        margin-bottom: 40px;
    }

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

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

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

    .page-index-about-grid,
    .page-index-trust-content,
    .page-index-99ok-content {
        flex-direction: column;
        text-align: center;
    }

    .page-index-about-image,
    .page-index-trust-image,
    .page-index-99ok-image {
        margin-top: 30px;
    }

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

    .page-index-deep-content h2 {
        font-size: 2em;
    }

    .page-index-deep-content h3 {
        font-size: 1.6em;
    }
}

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

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

    .page-index-hero-subtitle {
        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-game-categories,
    .page-index-detail-grid {
        grid-template-columns: 1fr;
    }
}

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

    .page-index-hero-image {
        width: 100%;
    }

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

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