/* style/index.css */
.page-index {
    color: #333333; /* Dark text for default (white) body background */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    line-height: 1.6;
}

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

.page-index__section-title,
.page-index__cta-title {
    font-size: 2.8em;
    color: #003366; /* Primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-index__section-intro,
.page-index__cta-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* Hero Section */
.page-index__hero-section {
    background: linear-gradient(135deg, #003366, #001a33); /* Dark blue gradient background */
    padding: 80px 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-index__hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-index__hero-content {
    flex: 1 1 500px;
    text-align: left;
    max-width: 600px;
}

.page-index__hero-title {
    font-size: 3.8em;
    font-weight: 900;
    margin-bottom: 20px;
    color: #FFCC00; /* Auxiliary color for hero title */
    line-height: 1.1;
}

.page-index__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-index__hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index__hero-image {
    flex: 1 1 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px; /* Minimum size for content images */
}

.page-index__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure no extra space below image */
}

/* Buttons */
.page-index__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.page-index__button--primary {
    background-color: #FFCC00; /* Auxiliary color */
    color: #003366; /* Primary color for text */
    border: 2px solid #FFCC00;
}

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

.page-index__button--secondary {
    background-color: transparent;
    color: #FFCC00;
    border: 2px solid #FFCC00;
}

.page-index__button--secondary:hover {
    background-color: #FFCC00;
    color: #003366;
    transform: translateY(-2px);
}

.page-index__text-link {
    color: #003366; /* Primary color for text links */
    text-decoration: underline;
    font-weight: 600;
}

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

/* About Section */
.page-index__about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

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

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

.page-index__about-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
}

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

.page-index__card-text {
    font-size: 1em;
    color: #666666;
}

/* Games Section */
.page-index__games-section {
    padding: 80px 0;
}

.page-index__game-category {
    margin-bottom: 60px;
    text-align: center;
}

.page-index__game-category img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
}

.page-index__category-title {
    font-size: 2.2em;
    color: #003366;
    margin-bottom: 15px;
}

.page-index__category-description {
    font-size: 1.1em;
    color: #444444;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Promotions Section */
.page-index__promotions-section {
    padding: 80px 0;
    background-color: #f0f5fa;
}

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

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

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

.page-index__promotion-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
}

/* Banking Section */
.page-index__banking-section {
    padding: 80px 0;
}

.page-index__banking-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.page-index__banking-item {
    flex: 1 1 350px;
    text-align: center;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 200px; /* Minimum size for content images */
}

.page-index__banking-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
}

.page-index__item-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 10px;
}

.page-index__item-text {
    color: #666666;
}

/* Support Section */
.page-index__support-section,
.page-index__responsible-gaming-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-index__support-content,
.page-index__responsible-gaming-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-index__support-content img,
.page-index__responsible-gaming-content img {
    flex: 1 1 400px;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
}

.page-index__support-text,
.page-index__responsible-gaming-text {
    flex: 1 1 400px;
    text-align: left;
}

.page-index__support-text p,
.page-index__responsible-gaming-text p {
    font-size: 1.1em;
    color: #444444;
    margin-bottom: 20px;
}

.page-index__support-text .page-index__button,
.page-index__responsible-gaming-text .page-index__button {
    margin-right: 15px;
    margin-bottom: 15px;
}

/* CTA Section */
.page-index__cta-section {
    background: linear-gradient(90deg, #003366, #004080);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-index__cta-title {
    color: #FFCC00;
    font-size: 3em;
    margin-bottom: 20px;
}

.page-index__cta-description {
    color: #f0f0f0;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-index__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Blog Preview Section */
.page-index__blog-preview-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

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

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

.page-index__blog-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
}

.page-index__blog-card .page-index__card-title {
    font-size: 1.5em;
    text-align: left;
}

.page-index__blog-card .page-index__card-title a {
    color: #003366;
    text-decoration: none;
}

.page-index__blog-card .page-index__card-title a:hover {
    color: #FFCC00;
}

.page-index__blog-card .page-index__card-text {
    font-size: 0.95em;
    color: #666666;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index__hero-title {
        font-size: 3em;
    }
    .page-index__section-title {
        font-size: 2.2em;
    }
    .page-index__category-title {
        font-size: 1.8em;
    }
    .page-index__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-index__hero-section {
        padding: 60px 15px;
        text-align: center;
    }
    .page-index__hero-container {
        flex-direction: column;
    }
    .page-index__hero-content {
        text-align: center;
    }
    .page-index__hero-title {
        font-size: 2.5em;
    }
    .page-index__hero-description {
        font-size: 1.1em;
    }
    .page-index__hero-buttons {
        justify-content: center;
    }
    .page-index__hero-image img,
    .page-index__about-card img,
    .page-index__game-category img,
    .page-index__promotion-card img,
    .page-index__banking-item img,
    .page-index__support-content img,
    .page-index__responsible-gaming-content img,
    .page-index__blog-card img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }
    .page-index__section-title {
        font-size: 2em;
    }
    .page-index__cta-title {
        font-size: 2em;
    }
    .page-index__support-content,
    .page-index__responsible-gaming-content {
        flex-direction: column;
        text-align: center;
    }
    .page-index__support-content img,
    .page-index__responsible-gaming-content img {
        max-width: 100%;
    }
    .page-index__support-text,
    .page-index__responsible-gaming-text {
        text-align: center;
    }
    .page-index__support-text .page-index__button,
    .page-index__responsible-gaming-text .page-index__button {
        margin-right: 0;
    }
    .page-index__banking-item {
        flex: 1 1 100%;
    }
    .page-index__container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 2em;
    }
    .page-index__hero-description {
        font-size: 1em;
    }
    .page-index__button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__category-title {
        font-size: 1.5em;
    }
    .page-index__cta-title {
        font-size: 1.8em;
    }
}