/* style/index.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --dark-bg: #1a1a1a; /* Very Dark Grey */
    --light-text: #FFFFFF;
    --dark-text: #333333;
    --medium-grey: #f0f0f0;
}

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

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

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

.page-index .section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: var(--light-text);
}

/* 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 80px;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.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 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-index .hero-title {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index .hero-description {
    font-size: 1.3em;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index .cta-button:hover {
    background: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--secondary-color);
}

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

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

.page-index .feature-item {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid #333;
}

.page-index .feature-item:hover {
    transform: translateY(-10px);
    background: #3a3a3a;
    border-color: var(--primary-color);
}

.page-index .feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

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

.page-index .feature-text {
    font-size: 1em;
    color: var(--light-text);
}

/* Quick Access Section */
.page-index .quick-access-section {
    background-color: #0a0a0a;
    padding: 80px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

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

.page-index .quick-link-card {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--light-text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    border: 1px solid #333;
}

.page-index .quick-link-card:hover {
    transform: translateY(-10px);
    background: #3a3a3a;
    border-color: var(--primary-color);
}

.page-index .card-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--secondary-color));
}

.page-index .card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-index .card-text {
    font-size: 1em;
    color: var(--light-text);
}

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

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

.page-index .game-card {
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.page-index .game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-index .game-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #333;
}

.page-index .game-card .page-index game-title {
    font-size: 1.8em;
    color: var(--primary-color);
    padding: 20px 20px 10px;
    font-weight: 600;
}

.page-index .game-card .page-index game-description {
    font-size: 1em;
    color: var(--light-text);
    padding: 0 20px 20px;
}

.page-index .game-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px 0;
    background: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--primary-color);
}

.page-index .game-button:hover {
    background: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-2px);
    border-color: var(--secondary-color);
}

/* Promotions Section */
.page-index .promotions-section {
    background-color: #0a0a0a;
    padding: 80px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

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

.page-index .promo-card {
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

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

.page-index .promo-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #333;
}

.page-index .promo-card .page-index promo-title {
    font-size: 1.6em;
    color: var(--primary-color);
    padding: 20px 20px 10px;
    font-weight: 600;
}

.page-index .promo-card .page-index promo-description {
    font-size: 0.95em;
    color: var(--light-text);
    padding: 0 20px 20px;
}

.page-index .promo-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 10px 0;
    background: var(--primary-color);
    color: var(--dark-text);
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--secondary-color);
}

.page-index .promo-button:hover {
    background: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

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

.page-index .security-support-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.page-index .security-info, .page-index .support-info {
    background: #2a2a2a;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

.page-index .security-img, .page-index .support-img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto 30px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--primary-color));
}

.page-index .sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index .text {
    font-size: 1em;
    color: var(--light-text);
    margin-bottom: 20px;
}

.page-index .contact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-index .contact-list li {
    margin-bottom: 10px;
    font-size: 1em;
    color: var(--light-text);
}

.page-index .contact-list li strong {
    color: var(--primary-color);
}

.page-index .contact-list li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index .contact-list li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-index .support-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.page-index .support-button:hover {
    background: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-2px);
    border-color: var(--secondary-color);
}

/* FAQ Section */
.page-index .faq-section {
    background-color: #0a0a0a;
    padding: 80px 0;
    border-top: 1px solid #333;
}

.page-index .faq-list {
    margin-top: 50px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #2a2a2a;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

.faq-toggle {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
    margin-left: 15px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #1e1e1e;
    color: var(--light-text);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to accommodate content */
    padding: 25px;
    border-top: 1px solid #333;
}

.page-index .faq-answer-text {
    margin: 0;
    font-size: 1em;
}

/* Blog Section */
.page-index .blog-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
    border-top: 1px solid #333;
}

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

.page-index .blog-post-card {
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.page-index .blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-index .blog-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #333;
}

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

.page-index .blog-title-link {
    text-decoration: none;
}

.page-index .blog-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

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

.page-index .blog-summary {
    font-size: 0.95em;
    color: var(--light-text);
    margin-bottom: 15px;
}

.page-index .blog-date {
    display: block;
    font-size: 0.85em;
    color: #aaa;
    margin-bottom: 15px;
}

.page-index .read-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index .hero-title {
        font-size: 2.8em;
    }
    .page-index .hero-description {
        font-size: 1.1em;
    }
    .page-index .cta-button {
        padding: 15px 35px;
        font-size: 1.2em;
    }
    .page-index .section-title {
        font-size: 2em;
    }
    .page-index .section-description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-index .hero-section {
        padding: 40px 15px;
    }
    .page-index .hero-title {
        font-size: 2.2em;
    }
    .page-index .hero-description {
        font-size: 0.95em;
    }
    .page-index .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-index .intro-section, .page-index .quick-access-section, .page-index .games-section, .page-index .promotions-section, .page-index .security-support-section, .page-index .faq-section, .page-index .blog-section {
        padding: 60px 0;
    }
    .page-index .section-title {
        font-size: 1.8em;
    }
    .page-index .section-description {
        font-size: 0.9em;
    }
    .page-index .feature-icon, .page-index .card-icon, .page-index .security-img, .page-index .support-img {
        width: 80px;
        height: 80px;
    }
    .page-index .feature-title, .page-index .card-title, .page-index .game-title, .page-index .promo-title, .page-index .sub-title, .page-index .blog-title {
        font-size: 1.4em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-item.active .faq-answer {
        padding: 20px;
    }
    .faq-toggle {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .page-index .hero-title {
        font-size: 1.8em;
    }
    .page-index .hero-description {
        font-size: 0.85em;
    }
    .page-index .cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-index .section-title {
        font-size: 1.5em;
    }
    .page-index .section-description {
        font-size: 0.8em;
    }
    .page-index .intro-features, .page-index .quick-links-grid, .page-index .games-grid, .page-index .promotions-grid, .page-index .security-support-content, .page-index .blog-grid {
        grid-template-columns: 1fr;
    }
    .page-index .feature-item, .page-index .quick-link-card, .page-index .game-card, .page-index .promo-card, .page-index .security-info, .page-index .support-info, .page-index .blog-post-card {
        padding: 20px;
    }
    .faq-question {
        padding: 12px 15px;
    }
    .page-index .faq-question-title {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-item.active .faq-answer {
        padding: 15px;
    }
}