/* style/index.css */

/* General Styles for page-index */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #f5e6ce; /* Light text for dark background */
    background-color: #0A1931; /* Main 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.8em;
    color: #FFD700; /* Accent color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__section-subtitle {
    font-size: 1.2em;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-index__btn--primary {
    background-color: #FFD700; /* Accent color for primary button background */
    color: #0A1931; /* Dark text for light button */
    border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-index__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Accent color for secondary button text */
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-index__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A1931;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-index__btn--text {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.page-index__btn--text:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-index__btn--small {
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 5px;
    background-color: #FFD700;
    color: #0A1931;
    border: none;
}

.page-index__btn--small:hover {
    background-color: #e6c200;
}

/* Hero Section */
.page-index__hero {
    background: linear-gradient(135deg, #0A1931 0%, #2a3d66 100%); /* Darker blue gradient */
    padding: 100px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-index__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-index__hero-title {
    font-size: 3.8em;
    color: #FFD700;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-index__hero-description {
    font-size: 1.4em;
    color: #f5e6ce;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.page-index__hero-image-wrapper {
    margin-top: 50px;
    max-width: 90%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-index__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.page-index__about {
    padding: 80px 0;
    background-color: #1a2a47; /* Slightly lighter dark blue */
}

.page-index__about-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-index__about-text {
    flex: 1;
}

.page-index__about-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-index__about-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-index__about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.page-index__features {
    padding: 80px 0;
    background-color: #0A1931;
}

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

.page-index__feature-item {
    background-color: #1a2a47;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index__feature-item:hover {
    transform: translateY(-10px);
    background-color: #2a3d66;
}

.page-index__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
}

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

.page-index__feature-item p {
    font-size: 1em;
    color: #e0e0e0;
}

/* CTA Banner Section */
.page-index__cta-banner {
    background: url('[GALLERY:bg:gold_coins,casino_chips,jackpot_background]') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index__cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 25, 49, 0.8);
    z-index: 1;
}

.page-index__cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-index__cta-title {
    font-size: 3.2em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

/* Games Section */
.page-index__games {
    padding: 80px 0;
    background-color: #1a2a47;
}

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

.page-index__game-card {
    background-color: #0A1931;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index__game-card:hover {
    transform: translateY(-10px);
}

.page-index__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid #FFD700;
}

.page-index__game-title {
    font-size: 1.6em;
    color: #FFD700;
    margin: 20px 0 10px;
}

.page-index__game-desc {
    font-size: 0.95em;
    color: #e0e0e0;
    padding: 0 20px 20px;
}

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

.page-index__view-all-games {
    text-align: center;
    margin-top: 30px;
}

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

.page-index__deep-content h2,
.page-index__deep-content h3 {
    color: #FFD700;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index__deep-content h2 {
    font-size: 2.5em;
    text-align: center;
}

.page-index__deep-content h3 {
    font-size: 2em;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
    display: inline-block;
    margin-left: 20px;
}

.page-index__deep-content p {
    font-size: 1.1em;
    color: #f5e6ce;
    margin-bottom: 20px;
    line-height: 1.8;
    padding: 0 20px;
}

.page-index__deep-content ul {
    list-style-type: disc;
    margin-left: 40px;
    margin-bottom: 20px;
    color: #f5e6ce;
    padding: 0 20px;
}

.page-index__deep-content ul li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.page-index__deep-content ul li strong {
    color: #FFD700;
}

/* Detail Pages Section */
.page-index__detail-pages {
    padding: 80px 0;
    background-color: #1a2a47;
}

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

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

.page-index__detail-card:hover {
    transform: translateY(-10px);
}

.page-index__detail-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-index__detail-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-index__detail-title a:hover {
    text-decoration: underline;
}

.page-index__detail-description {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
}

/* Final CTA Section */
.page-index__final-cta {
    background-color: #0A1931;
    padding: 80px 0;
    text-align: center;
    border-top: 5px solid #FFD700;
}

.page-index__final-cta-content {
    max-width: 800px;
}

.page-index__final-cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index__final-cta-description {
    font-size: 1.2em;
    color: #f5e6ce;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index__hero-title {
        font-size: 3em;
    }
    .page-index__hero-description {
        font-size: 1.2em;
    }
    .page-index__section-title {
        font-size: 2.2em;
    }
    .page-index__about-grid {
        flex-direction: column;
    }
    .page-index__cta-title {
        font-size: 2.5em;
    }
    .page-index__final-cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-index__hero {
        padding: 80px 0;
    }
    .page-index__hero-title {
        font-size: 2.5em;
    }
    .page-index__hero-description {
        font-size: 1.1em;
    }
    .page-index__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index__btn--secondary {
        margin-left: 0;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__section-subtitle {
        font-size: 1em;
    }
    .page-index__feature-item {
        padding: 25px;
    }
    .page-index__feature-title {
        font-size: 1.5em;
    }
    .page-index__cta-banner {
        padding: 80px 0;
    }
    .page-index__cta-title {
        font-size: 2em;
    }
    .page-index__cta-description {
        font-size: 1.1em;
    }
    .page-index__game-image {
        height: 180px;
    }
    .page-index__game-title {
        font-size: 1.4em;
    }
    .page-index__deep-content h3 {
        font-size: 1.7em;
    }
    .page-index__deep-content p,
    .page-index__deep-content ul li {
        font-size: 1em;
    }
    .page-index__final-cta-title {
        font-size: 2em;
    }
    .page-index__final-cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 2em;
    }
    .page-index__hero-description {
        font-size: 0.95em;
    }
    .page-index__btn {
        width: 80%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .page-index__section-title {
        font-size: 1.6em;
    }
    .page-index__cta-title {
        font-size: 1.8em;
    }
    .page-index__final-cta-title {
        font-size: 1.8em;
    }
    .page-index__deep-content h3 {
        font-size: 1.5em;
        padding-left: 0;
        margin-left: 0;
        text-align: center;
    }
    .page-index__deep-content p,
    .page-index__deep-content ul {
        padding: 0 10px;
    }
    .page-index__deep-content ul {
        margin-left: 20px;
    }
}