/* style/index.css */

:root {
    --page-index-primary-color: #B22222; /* Deep Red */
    --page-index-secondary-color: #FFD700; /* Gold */
    --page-index-dark-bg: #1a1a1a; /* Very dark grey for contrast */
    --page-index-light-bg: #f5f5f5;
    --page-index-text-dark: #333;
    --page-index-text-light: #f0f0f0;
}

.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-index-text-dark);
    background-color: #ffffff;
}

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

.page-index-section-spacing {
    padding: 60px 0;
}

.page-index-bg-dark {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-text-light);
}

.page-index-bg-light {
    background-color: var(--page-index-light-bg);
}

.page-index-text-light {
    color: var(--page-index-text-light);
}

.page-index-section-title {
    font-size: 2.5em;
    color: var(--page-index-primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.page-index-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-index-secondary-color);
    border-radius: 2px;
}

.page-index-bg-dark .page-index-section-title {
    color: var(--page-index-secondary-color);
}

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

.page-index-bg-dark .page-index-section-description {
    color: var(--page-index-text-light);
}

.page-index-keyword {
    font-weight: bold;
    color: var(--page-index-primary-color);
}

.page-index-bg-dark .page-index-keyword {
    color: var(--page-index-secondary-color);
}

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

.page-index-btn-primary {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-text-light);
}

.page-index-btn-primary:hover {
    background-color: #8c1b1b;
}

.page-index-btn-secondary {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-text-dark);
    border: 1px solid var(--page-index-secondary-color);
}

.page-index-btn-secondary:hover {
    background-color: #e6c200;
    color: var(--page-index-dark-bg);
}

.page-index-btn-promo {
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-text-dark);
    font-size: 0.9em;
    padding: 8px 15px;
}

.page-index-btn-promo:hover {
    background-color: #e6c200;
}

.page-index-btn-large {
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Hero Section */
.page-index-hero-section {
    background: linear-gradient(135deg, var(--page-index-primary-color) 0%, #8c1b1b 100%);
    color: var(--page-index-text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-index-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract_pattern,red_gold,subtle_texture]');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-index-hero-section .page-index-container {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.page-index-hero-content {
    flex: 1;
    text-align: left;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-index-text-light);
}

.page-index-highlight {
    color: var(--page-index-secondary-color);
}

.page-index-hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-index-hero-cta-group {
    display: flex;
    gap: 20px;
}

.page-index-hero-image {
    flex: 1;
    text-align: center;
}

.page-index-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-index-feature-item {
    background-color: var(--page-index-light-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--page-index-primary-color);
}

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

.page-index-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-index-feature-title {
    font-size: 1.5em;
    color: var(--page-index-primary-color);
    margin-bottom: 15px;
}

.page-index-feature-text {
    color: #666;
}

/* Promotions Section */
.page-index-promotions-section .page-index-section-title {
    margin-bottom: 20px;
}

.page-index-promotions-section .page-index-section-description {
    color: rgba(255, 255, 255, 0.9);
}

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

.page-index-promo-card {
    background-color: var(--page-index-text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
}

.page-index-promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-index-promo-title {
    font-size: 1.4em;
    color: var(--page-index-primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index-promo-text {
    color: #555;
    padding: 0 15px;
    margin-bottom: 20px;
}

/* How to Start Section */
.page-index-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-step-item {
    text-align: center;
    padding: 30px;
    background-color: var(--page-index-light-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-top: 70px;
}

.page-index-step-number {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: var(--page-index-secondary-color);
    color: var(--page-index-text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid var(--page-index-primary-color);
}

.page-index-step-title {
    font-size: 1.5em;
    color: var(--page-index-primary-color);
    margin-bottom: 10px;
}

.page-index-step-text {
    color: #666;
}

.page-index-center-content {
    text-align: center;
}

.page-index-mt-30 {
    margin-top: 30px;
}

/* Deep Content Section */
.page-index-deep-content h2,
.page-index-deep-content h3 {
    color: var(--page-index-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-index-deep-content h2 {
    font-size: 2em;
}

.page-index-deep-content h3 {
    font-size: 1.6em;
}

.page-index-deep-content p {
    margin-bottom: 15px;
    color: #444;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-index-deep-content ul,
.page-index-deep-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.page-index-deep-content ul li,
.page-index-deep-content ol li {
    margin-bottom: 10px;
    color: #444;
    font-size: 1.05em;
}

.page-index-deep-content strong {
    color: var(--page-index-primary-color);
}

.page-index-text-link {
    color: var(--page-index-primary-color);
    text-decoration: underline;
}

.page-index-text-link:hover {
    color: var(--page-index-secondary-color);
}

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

.page-index-detail-item {
    background-color: var(--page-index-dark-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--page-index-secondary-color);
}

.page-index-detail-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-index-detail-title a {
    color: var(--page-index-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-detail-title a:hover {
    color: #fff;
}

.page-index-detail-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* CTA Section */
.page-index-cta-section .page-index-section-title {
    color: var(--page-index-primary-color);
}

.page-index-cta-section .page-index-section-description {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-section .page-index-container {
        flex-direction: column;
        text-align: center;
    }

    .page-index-hero-content {
        text-align: center;
    }

    .page-index-hero-cta-group {
        justify-content: center;
    }

    .page-index-hero-title {
        font-size: 2.8em;
    }

    .page-index-hero-description {
        font-size: 1.1em;
    }

    .page-index-hero-image {
        margin-top: 40px;
    }

    .page-index-section-title {
        font-size: 2em;
    }

    .page-index-feature-item, .page-index-promo-card, .page-index-step-item, .page-index-detail-item {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-index-hero-title {
        font-size: 2.2em;
    }

    .page-index-hero-description {
        font-size: 1em;
    }

    .page-index-hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-btn {
        width: 100%;
    }

    .page-index-section-spacing {
        padding: 40px 0;
    }

    .page-index-section-title {
        font-size: 1.8em;
    }

    .page-index-section-description {
        font-size: 1em;
    }

    .page-index-deep-content h2 {
        font-size: 1.8em;
    }

    .page-index-deep-content h3 {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 1.8em;
    }

    .page-index-hero-description {
        font-size: 0.9em;
    }

    .page-index-section-title {
        font-size: 1.5em;
    }

    .page-index-section-description {
        font-size: 0.9em;
    }

    .page-index-promo-image {
        height: 150px;
    }
}