/* style/index.css */

/* --- General Page Styles --- */
.page-index {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background: var(--secondary-color); /* White background from shared */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-index__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #26A9E0; /* Primary color for titles */
    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: #26A9E0;
    border-radius: 2px;
}

.page-index__section-title--light {
    color: #ffffff;
}
.page-index__section-title--light::after {
    background-color: #ffffff;
}

.page-index__text-block {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

.page-index__text-block--light {
    color: #f0f0f0;
}

.page-index__highlight {
    font-weight: bold;
    color: #26A9E0;
}

.page-index__text-block--light .page-index__highlight {
    color: #ffffff;
}

/* --- Buttons --- */
.page-index__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #26A9E0; /* Primary color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index__cta-button:hover {
    background: #1e87c0; /* Slightly darker primary */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--primary {
    background: #26A9E0;
    color: #ffffff;
}

.page-index__cta-button--secondary {
    background: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-index__cta-button--secondary:hover {
    background: #f0f0f0;
    color: #1e87c0;
    border-color: #1e87c0;
}

.page-index__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: #26A9E0;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index__btn-primary:hover {
    background: #1e87c0;
}

.page-index__btn-small {
    display: inline-block;
    padding: 8px 18px;
    background: #26A9E0;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index__btn-small:hover {
    background: #1e87c0;
}

/* --- Image Styling (Global) --- */
.page-index img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- HERO Section --- */
.page-index__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #f0f8ff; /* Light blue tint */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-index__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-index__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-index__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-index__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index__hero-title {
    font-size: 48px;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index__hero-description {
    font-size: 20px;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}


/* --- Module 1: Introduction Section --- */
.page-index__introduction-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background for text */
    color: #333333;
}

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

.page-index__feature-item {
    text-align: center;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index__feature-item img {
    
    
    margin: 0 auto 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #26A9E0;
}

.page-index__feature-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-index__feature-description {
    font-size: 16px;
    color: #555555;
}

/* --- Module 2: Quick Access Section --- */
.page-index__quick-access-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background */
    color: #ffffff;
}

.page-index__link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.page-index__quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__quick-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.page-index__quick-link img {
    
    
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.page-index__link-text {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

/* --- Module 3: Core Games Section --- */
.page-index__games-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

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

.page-index__game-card {
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    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 25px rgba(0, 0, 0, 0.1);
}

.page-index__game-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-index__game-title {
    font-size: 22px;
    color: #26A9E0;
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-index__game-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__game-title a:hover {
    color: #1e87c0;
    text-decoration: underline;
}

.page-index__game-description {
    font-size: 15px;
    color: #555555;
    padding: 0 15px 20px;
}

.page-index__game-card .page-index__btn-small {
    margin-bottom: 20px;
}

/* --- Module 4: Promotions Section --- */
.page-index__promotions-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Dark background */
    color: #ffffff;
}

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

.page-index__promo-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index__promo-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.page-index__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-index__promo-title {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index__promo-description {
    font-size: 15px;
    color: #f0f0f0;
    padding: 0 15px 20px;
}

.page-index__full-promo-cta {
    text-align: center;
    margin-top: 50px;
}

/* --- Module 5: Security & Support Section --- */
.page-index__security-support-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

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