/* style/index.css */

/* General Page Styling */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

.page-index-section-title {
    font-size: 2.5em;
    color: #00764b; /* Darker shade of main color for better contrast on light background */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    padding-top: 40px;
}

.page-index-section-subtitle {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-index-btn-primary {
    background-color: #00A86B; /* Main color */
    color: #ffffff;
    border: 2px solid #00A86B;
}

.page-index-btn-primary:hover {
    background-color: #00764b; /* Darker main color on hover */
    border-color: #00764b;
}

.page-index-btn-secondary {
    background-color: #FFD700; /* Auxiliary color */
    color: #000000; /* Dark text on light auxiliary color */
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-index-btn-secondary:hover {
    background-color: #e6c200; /* Darker auxiliary color on hover */
    border-color: #e6c200;
}

.page-index-btn-outline {
    background-color: transparent;
    color: #00A86B; /* Main color for text */
    border: 2px solid #00A86B;
}

.page-index-btn-outline:hover {
    background-color: #00A86B;
    color: #ffffff;
}

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

.page-index-btn-lg {
    padding: 15px 35px;
    font-size: 1.2em;
    border-radius: 10px;
}

.page-index-mt-10 { margin-top: 10px; }
.page-index-mt-20 { margin-top: 20px; }
.page-index-mt-30 { margin-top: 30px; }
.page-index-mt-40 { margin-top: 40px; }
.page-index-ml-10 { margin-left: 10px; }
.page-index-text-center { text-align: center; }
.page-index-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Hero Section */
.page-index-hero-section {
    background: linear-gradient(135deg, #00A86B, #30c285); /* Gradient with main color shades */
    padding: 100px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Overlay for text readability */
    z-index: 1;
}

.page-index-hero-section .page-index-container {
    position: relative;
    z-index: 2;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-index-hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-hero-actions .page-index-btn {
    margin: 0 10px;
}

.page-index-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

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

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

.page-index-feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f2fdf7; /* Lighter shade of main color */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-index-feature-item:hover {
    transform: translateY(-5px);
}

.page-index-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 5px rgba(0, 168, 107, 0.3)); /* Shadow with main color */
}

.page-index-feature-title {
    font-size: 1.5em;
    color: #00A86B; /* Main color */
    margin-bottom: 15px;
}

.page-index-feature-text {
    color: #666;
    font-size: 1em;
}

/* Games Section */
.page-index-games-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-index-game-category-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
}

.page-index-game-category-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-index-game-category-title {
    font-size: 1.6em;
    color: #00A86B;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-index-game-category-item p {
    color: #666;
    padding: 0 20px;
}

/* Promotions Section */
.page-index-promotions-section {
    padding: 80px 0;
    background-color: #f2fdf7;
}

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

.page-index-promotion-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
}

.page-index-promotion-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-index-promotion-title {
    font-size: 1.5em;
    color: #00764b;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-index-promotion-text {
    color: #666;
    margin-bottom: 20px;
    padding: 0 20px;
}

/* Registration Section */
.page-index-registration-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-index-registration-content {
    flex: 1;
    max-width: 600px;
}

.page-index-registration-image {
    flex: 1;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index-registration-steps {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-registration-steps li {
    background-color: #f2fdf7;
    border-left: 5px solid #00A86B;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 5px;
    color: #333;
    font-size: 1.05em;
}

.page-index-registration-steps li strong {
    color: #00764b;
}

/* App Section */
.page-index-app-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-index-app-image {
    flex: 1;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-app-content {
    flex: 1;
    max-width: 600px;
}

.page-index-app-features {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-app-features li {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.page-index-app-features li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #00A86B;
}

/* Security Section */
.page-index-security-section {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
}

.page-index-security-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
    z-index: 0;
}

.page-index-security-section .page-index-container {
    position: relative;
    z-index: 1;
}

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

.page-index-security-item {
    background-color: #f2fdf7;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index-security-item-title {
    font-size: 1.4em;
    color: #00A86B;
    margin-bottom: 15px;
}

.page-index-security-item p {
    color: #666;
}

/* Support Section */
.page-index-support-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-index-contact-info {
    font-size: 1.2em;
    color: #333;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-index-contact-link {
    color: #00A86B;
    text-decoration: none;
    font-weight: bold;
}

.page-index-contact-link:hover {
    text-decoration: underline;
}

/* Detail Pages Section */
.page-index-detail-pages-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-index-detail-item {
    background-color: #f2fdf7;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-detail-title {
    font-size: 1.3em;
    color: #00764b;
    margin-bottom: 10px;
}

.page-index-detail-title a {
    color: #00764b;
    text-decoration: none;
}

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

.page-index-detail-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* CTA Section */
.page-index-cta-section {
    background: linear-gradient(135deg, #00A86B, #FFD700);
    padding: 80px 0;
    color: #ffffff;
}

.page-index-cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-title {
        font-size: 2.8em;
    }
    .page-index-section-title {
        font-size: 2em;
    }
    .page-index-flex-center {
        flex-direction: column;
        text-align: center;
    }
    .page-index-registration-image, .page-index-app-image {
        margin-top: 40px;
    }
    .page-index-flex-reverse-mobile {
        flex-direction: column-reverse;
    }
    .page-index-btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-index-hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .page-index-hero-actions .page-index-btn {
        width: 80%;
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .page-index-hero-title {
        font-size: 2.2em;
    }
    .page-index-hero-description {
        font-size: 1.1em;
    }
    .page-index-section-title {
        font-size: 1.8em;
    }
    .page-index-section-subtitle {
        font-size: 1em;
    }
    .page-index-cta-title {
        font-size: 2em;
    }
    .page-index-cta-description {
        font-size: 1em;
    }
    .page-index-btn-lg {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-registration-image, .page-index-app-image {
        max-width: 100%;
    }
    .page-index-ml-10 {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 1.8em;
    }
    .page-index-section-title {
        font-size: 1.5em;
    }
    .page-index-cta-title {
        font-size: 1.6em;
    }
    .page-index-container {
        padding: 0 15px;
    }
    .page-index-hero-section, .page-index-about-section, .page-index-games-section, .page-index-promotions-section, .page-index-registration-section, .page-index-app-section, .page-index-security-section, .page-index-support-section, .page-index-detail-pages-section, .page-index-cta-section {
        padding: 60px 0;
    }
}