/* style/index.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark */
    --accent-color: #CC0000; /* Red */
    --text-light: #ffffff;
    --text-dark: #1A1A1A;
    --background-light: #f4f4f4;
    --background-dark: #121212;
    --border-color: #e0e0e0;
}

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

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

.page-index h1, .page-index h2, .page-index h3 {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 20px;
}

.page-index h1 {
    font-size: 3.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--primary-color);
}

.page-index h2 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.page-index h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-index p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

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

.page-index .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index .cta-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index .cta-button-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index .cta-button-secondary:hover {
    background: #0d0d0d;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* HERO Section */
.page-index .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: var(--background-dark);
    color: var(--text-light);
}

.page-index .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-index .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index .hero-content h1 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index .hero-content p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #e0e0e0;
}

/* Intro Section */
.page-index .intro-section {
    background: var(--background-light);
    padding: 80px 0;
    color: var(--text-dark);
}

.page-index .intro-section h2 {
    color: var(--secondary-color);
}

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

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

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

.page-index .feature-icon {
    width: 100px; /* Min 200x200px is for content images, icons can be smaller if purely decorative and not main content */
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-index .feature-item h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
}

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

/* Quick Access Section */
.page-index .quick-access-section {
    background: var(--background-dark);
    padding: 80px 0;
    color: var(--text-light);
}

.page-index .quick-access-section h2 {
    color: var(--primary-color);
}

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

.page-index .access-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-index .access-link-card {
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-index .access-link-card .card-image {
    width: 100%;
    height: 200px; 
    object-fit: cover;
}

.page-index .access-link-card h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    padding: 15px 20px 5px;
    margin: 0;
}

.page-index .access-link-card p {
    font-size: 1em;
    color: #cccccc;
    padding: 0 20px 20px;
    margin: 0;
    flex-grow: 1;
}

/* Core Games Section */
.page-index .core-games-section {
    background: var(--background-light);
    padding: 80px 0;
    color: var(--text-dark);
}

.page-index .core-games-section h2 {
    color: var(--secondary-color);
}

.page-index .core-games-section p {
    text-align: center;
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555555;
}

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

.page-index .game-category-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

.page-index .game-category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-index .game-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.page-index .game-category-card h3 {
    color: var(--secondary-color);
    font-size: 1.8em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-index .game-category-card p {
    font-size: 1em;
    color: #666666;
    padding: 0 20px;
}

.page-index .game-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.page-index .game-button:hover {
    background: #a30000;
}

/* Promotions Section */
.page-index .promotions-section {
    background: var(--background-dark);
    padding: 80px 0;
    color: var(--text-light);
}

.page-index .promotions-section h2 {
    color: var(--primary-color);
}

.page-index .promotions-section p {
    text-align: center;
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #e0e0e0;
}

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

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

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

.page-index .promo-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid var(--accent-color);
}

.page-index .promo-card h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    padding: 15px 20px 5px;
    margin: 0;
}

.page-index .promo-card p {
    font-size: 1em;
    color: #cccccc;
    padding: 0 20px 20px;
    margin: 0;
    flex-grow: 1;
}

.page-index .promo-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 15px;
    transition: background-color 0.3s ease;
}

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

/* Security & Support Section */
.page-index .security-support-section {
    background: var(--background-light);
    padding: 80px 0;
    color: var(--text-dark);
}

.page-index .security-support-section h2 {
    color: var(--secondary-color);
}

.page-index .security-support-section p {
    text-align: center;
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555555;
}

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

.page-index .security-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-bottom: 5px solid var(--accent-color);
}

.page-index .security-item:hover {
    transform: translateY(-10px);
}

.page-index .security-icon {
    width: 100px; /* Min 200x200px is for content images, icons can be smaller if purely decorative and not main content */
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-index .security-item h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
}

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

.page-index .contact-info {
    margin-top: 50px;
    font-size: 1.2em;
    color: var(--secondary-color);
}

.page-index .contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

/* FAQ Section */
.page-index .faq-section {
    background: var(--background-dark);
    padding: 80px 0;
    color: var(--text-light);
}

.page-index .faq-section h2 {
    color: var(--primary-color);
}

.page-index .faq-section p {
    text-align: center;
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #e0e0e0;
}

.page-index .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-index .faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-index .faq-question:hover {
    background: #3a3a3a;
}

.page-index .faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: var(--primary-color);
}

.page-index .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-index .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #3a3a3a;
    color: #e0e0e0;
    border-radius: 0 0 5px 5px;
}

.page-index .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border: 1px solid #3a3a3a;
    border-top: none;
}

.page-index .faq-item.active .faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-index .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Latest Blog Section */
.page-index .latest-blog-section {
    background: var(--background-light);
    padding: 80px 0;
    color: var(--text-dark);
}

.page-index .latest-blog-section h2 {
    color: var(--secondary-color);
}

.page-index .latest-blog-section p {
    text-align: center;
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555555;
}

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

.page-index .blog-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index .blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-index .blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.page-index .blog-content {
    padding: 20px;
    flex-grow: 1;
}

.page-index .blog-card h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-index .blog-card p {
    font-size: 1em;
    color: #666666;
    margin-bottom: 15px;
}

.page-index .blog-date {
    font-size: 0.9em;
    color: #999999;
    display: block;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index h1 {
        font-size: 2.8em;
    }

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

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

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

    .page-index .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

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

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

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

    .page-index .container {
        padding: 0 15px;
    }

    .page-index .hero-section, .page-index .intro-section, .page-index .quick-access-section, .page-index .core-games-section, .page-index .promotions-section, .page-index .security-support-section, .page-index .faq-section, .page-index .latest-blog-section {
        padding: 40px 0;
    }

    .page-index .feature-item, .page-index .access-link-card, .page-index .game-category-card, .page-index .promo-card, .page-index .security-item, .page-index .blog-card {
        margin-bottom: 20px;
    }

    .page-index .faq-question {
        padding: 15px 20px;
    }

    .page-index .faq-question h3 {
        font-size: 1.1em;
    }

    .page-index .faq-toggle {
        font-size: 20px;
    }

    .page-index .faq-answer {
        padding: 0 20px;
    }

    .page-index .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    
    .page-index .feature-icon, .page-index .security-icon {
        width: 80px;
        height: 80px;
    }
}

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

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

    .page-index .cta-button, .page-index .cta-button-secondary {
        width: 100%;
        padding: 12px 0;
        font-size: 1em;
    }

    .page-index .hero-content p {
        font-size: 1em;
    }
    
    .page-index .feature-item, .page-index .access-link-card, .page-index .game-category-card, .page-index .promo-card, .page-index .security-item, .page-index .blog-card {
        grid-template-columns: 1fr; /* Stack columns */
    }
}