/* style/index.css */

/* General Layout */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text for dark background */
    background-color: #1A202C; /* Primary dark background */
    line-height: 1.6;
}

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

.page-index-section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
}

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

/* Buttons */
.page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    font-size: 1em;
    border: none;
    text-align: center;
}

.page-index-btn-primary {
    background-color: #FFD700; /* Gold */
    color: #1A202C; /* Dark text */
}

.page-index-btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    color: #0d1016;
}

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

.page-index-btn-secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
}

.page-index-btn-tertiary {
    background-color: #3a475d; /* A lighter shade of primary dark */
    color: #FFD700;
    border: 2px solid #3a475d;
}

.page-index-btn-tertiary:hover {
    background-color: #51627e;
    color: #FFD700;
}

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

/* Hero Section */
.page-index-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1A202C 0%, #3a475d 100%); /* Gradient background */
    position: relative;
    overflow: hidden;
}

.page-index-hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-index-main-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

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

.page-index-hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.2;
    z-index: 0;
    max-width: 50%; /* Adjust size for visual effect */
}

.page-index-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

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

.page-index-about-image {
    text-align: center;
    margin-top: 40px;
}

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

/* Features Section */
.page-index-features {
    padding: 80px 0;
    background-color: #2a3447; /* Slightly lighter dark background */
}

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

.page-index-feature-item {
    background-color: #1A202C;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    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 0 5px #FFD700); /* Gold glow for icons */
}

.page-index-feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-feature-item p {
    color: #c0c0c0;
    font-size: 1em;
}

/* Games & Promotions Section */
.page-index-games-promo {
    padding: 80px 0;
    background-color: #1A202C;
}

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

.page-index-card {
    background-color: #2a3447;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-index-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-index-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-card-content p {
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Latest Promotions Section */
.page-index-latest-promotions {
    padding: 80px 0;
    background-color: #2a3447;
}

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

.page-index-promo-item {
    background-color: #1A202C;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.page-index-promo-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-index-promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-promo-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-promo-content p {
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-view-all-promos {
    text-align: center;
    margin-top: 50px;
}

/* Explore More Section (Details List) */
.page-index-explore-more {
    padding: 80px 0;
    background-color: #1A202C;
}

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

.page-index-details-item {
    background-color: #2a3447;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-details-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-details-title a {
    color: #FFD700; /* Gold for link titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-details-title a:hover {
    color: #e6c200; /* Slightly darker gold on hover */
    text-decoration: underline;
}

.page-index-details-description {
    color: #c0c0c0;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Responsible Gambling Section */
.page-index-responsible-gambling {
    padding: 80px 0;
    background-color: #2a3447;
    text-align: center;
}

/* Sticky CTA */
.page-index-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 32, 44, 0.95); /* Dark background with transparency */
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 1000;
    flex-wrap: wrap;
}

.page-index-sticky-btn {
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-main-title {
        font-size: 2.8em;
    }
    .page-index-hero-description {
        font-size: 1.1em;
    }
    .page-index-hero-image {
        max-width: 70%;
    }
    .page-index-section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-index-feature-grid,
    .page-index-game-promo-grid,
    .page-index-promo-grid,
    .page-index-details-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        padding: 60px 15px;
    }
    .page-index-main-title {
        font-size: 2.2em;
    }
    .page-index-hero-description {
        font-size: 1em;
    }
    .page-index-hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-hero-image {
        display: none; /* Hide image on smaller screens */
    }
    .page-index-section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
        padding-top: 40px;
    }
    .page-index-feature-item,
    .page-index-card,
    .page-index-promo-item,
    .page-index-details-item {
        padding: 25px;
    }
    .page-index-sticky-cta {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }
    .page-index-sticky-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .page-index-main-title {
        font-size: 1.8em;
    }
    .page-index-hero-description {
        font-size: 0.9em;
    }
    .page-index-section-title {
        font-size: 1.5em;
    }
    .page-index-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-index-feature-grid,
    .page-index-game-promo-grid,
    .page-index-promo-grid,
    .page-index-details-list {
        grid-template-columns: 1fr;
    }
}