/* style/index.css */

/* Base styles for the page content */
.page-index {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f8f8f8; /* Slightly off-white background for sections */
}

/* Fixed Header Spacing */
.page-index__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* General Section Styling */
.page-index__section-title {
    font-size: 32px;
    font-weight: bold;
    color: #26A9E0; /* Primary brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

.page-index__text-block {
    font-size: 16px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

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

/* Light background section */
.page-index__light-bg {
    background-color: #ffffff;
    padding: 60px 0;
}

/* Dark background section */
.page-index__dark-bg {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    padding: 60px 0;
}

/* CTA Button Styling */
.page-index__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-index__cta-button--primary {
    background: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-index__cta-button--primary:hover {
    background: #e06a00;
    border-color: #e06a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    margin-left: 20px; /* Spacing between buttons */
}

.page-index__cta-button--secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-index__btn-primary:hover {
    background: #1e87b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: #ffffff;
    color: #26A9E0;
    text-decoration: none;
    border: 2px solid #26A9E0;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index__btn-secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* HERO Section */
.page-index__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px; /* Adjusted to fit the header offset */
    background-color: #f8f8f8; /* Background for hero section */
}

.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;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

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

.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;
}

.page-index__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}


/* Module 1: Intro Section */
.page-index__intro-section {
    padding-bottom: 60px;
}

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

.page-index__feature-item {
    background: #f0faff; /* Light blue tint */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    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 20px rgba(0, 0, 0, 0.1);
}

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


/* Module 2: Quick Access Section */
.page-index__quick-access-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-index__access-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.page-index__access-link {
    display: block;
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent white on blue background */
    color: #ffffff;
    text-decoration: none;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-index__access-link-title {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-index__access-link p {
    font-size: 15px;
    margin: 0;
    color: #e0e0e0;
}


/* Module 3: Games Section */
.page-index__games-section {
    padding-bottom: 60px;
}

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

.page-index__game-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.page-index__game-card img {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

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

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

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

.page-index__game-card p {
    font-size: 15px;
    color: #666666;
    padding: 0 15px 20px;
    margin: 0;
}


/* Module 4: Promotions Section */
.page-index__promotions-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

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

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

.page-index__promo-card img {
    width: 100%;
     /* Fixed height for promo images */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-index__promo-title {
    font-size: 20px;
    margin: 20px 15px 10px;
    color: #ffffff;
}

.page-index__promo-card p {
    font-size: 15px;
    color: #e0e0e0;
    padding: 0 15px 20px;
    margin: 0;
}

.page-index__promo-card .page-index__btn-primary {
    margin-bottom: 20px;
}


/* Module 5: Security & Support Section */
.page-index__security-support-section {
    padding-bottom: 60px;
}

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