/* style/index.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-dark: #2C2C2C;
    --border-color: #E0E0E0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
}

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

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

.page-index section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-index section:nth-of-type(odd) {
    background-color: #FFFFFF;
}

.page-index section:nth-of-type(even) {
    background-color: var(--bg-light);
}

.page-index .section-title {
    font-size: 3em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-index .section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 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: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    overflow: hidden;
    min-height: 600px;
}

.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;
    z-index: 1;
}

.page-index .hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.page-index .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.page-index .hero-image img:hover {
    transform: scale(1.03);
}

.page-index .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Overlay for text readability */
    border-radius: 8px;
    margin-top: -80px; /* Overlap with image */
    box-shadow: 0 5px 20px var(--shadow-medium);
}

.page-index .hero-title {
    font-size: 3.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    font-weight: 900;
    line-height: 1.2;
}

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

.page-index .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px var(--shadow-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-index .cta-button:hover {
    background: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

/* Intro Section */
.page-index .intro-section {
    background-color: #FFFFFF;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-index .intro-text {
    font-size: 1.15em;
    margin-bottom: 25px;
    text-align: justify;
    line-height: 1.8;
}

.page-index .intro-text a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-index .intro-features {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-index .intro-features li {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow-light);
    font-size: 1.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .intro-features li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px var(--shadow-medium);
}

.page-index .feature-link {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    font-weight: 600;
}

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

/* Quick Access Section */
.page-index .quick-access-section {
    background-color: var(--bg-light);
}

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

.page-index .quick-link-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index .quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.page-index .quick-link-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-index .quick-link-card h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-index .quick-link-card p {
    font-size: 1em;
    color: #666;
}

/* Games Section */
.page-index .games-section {
    background-color: #FFFFFF;
}

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

.page-index .game-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index .game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.page-index .game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-index .game-card h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
    padding: 20px 20px 10px;
}

.page-index .game-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-index .game-card h3 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-index .game-description {
    font-size: 1em;
    color: #555;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-index .game-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

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

/* Promotions Section */
.page-index .promotions-section {
    background-color: var(--bg-light);
}

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

.page-index .promo-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    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 10px 30px var(--shadow-medium);
}

.page-index .promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-index .promo-card h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
    padding: 20px 20px 10px;
}

.page-index .promo-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-index .promo-card h3 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-index .promo-description {
    font-size: 1em;
    color: #555;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-index .promo-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

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

.page-index .text-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

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

/* Security & Customer Service Section */
.page-index .security-customer-section {
    background-color: #FFFFFF;
}

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

.page-index .security-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .security-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.page-index .security-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

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

.page-index .contact-info {
    text-align: center;
    margin-top: 50px;
    font-size: 1.1em;
}

.page-index .contact-info a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-index .contact-info a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* FAQ Section */
.page-index .faq-section {
    background-color: var(--bg-light);
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
    background: #F0F0F0;
    border-color: var(--primary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--text-dark);
    flex-grow: 1;
    text-align: left;
}

.faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    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;
    background: #F9F9F9;
    padding: 0 25px;
    border-radius: 0 0 8px 8px;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border: 1px solid var(--border-color);
    border-top: none;
}

.faq-answer p {
    margin: 0;
    color: #555;
    font-size: 1em;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Blog Section */
.page-index .blog-section {
    background-color: #FFFFFF;
}

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

.page-index .blog-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.page-index .blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-index .blog-card h3 {
    font-size: 1.4em;
    color: var(--secondary-color);
    padding: 20px 20px 10px;
}

.page-index .blog-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-index .blog-card h3 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-index .blog-excerpt {
    font-size: 0.95em;
    color: #555;
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-index .blog-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

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

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

@media (max-width: 768px) {
    .page-index section {
        padding: 40px 0;
    }
    .page-index .section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-index .section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-index .hero-section {
        padding: 40px 15px;
        min-height: 500px;
    }
    .page-index .hero-title {
        font-size: 2.5em;
    }
    .page-index .hero-description {
        font-size: 1.1em;
    }
    .page-index .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-index .hero-image {
        margin-bottom: 20px;
    }
    .page-index .hero-content {
        margin-top: -60px;
        padding: 15px;
    }
    .page-index .intro-text {
        font-size: 1em;
    }
    .page-index .quick-link-card h3, .page-index .game-card h3, .page-index .promo-card h3, .page-index .security-item h3, .page-index .blog-card h3 {
        font-size: 1.3em;
    }
    .page-index .quick-link-icon, .page-index .security-icon {
        width: 80px;
        height: 80px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.8em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-index .container {
        padding: 15px;
    }
    .page-index .hero-title {
        font-size: 2em;
    }
    .page-index .hero-description {
        font-size: 0.95em;
    }
    .page-index .cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-index .section-title {
        font-size: 1.8em;
    }
    .page-index .quick-links-grid, .page-index .games-grid, .page-index .promotions-grid, .page-index .security-grid, .page-index .blog-grid {
        grid-template-columns: 1fr;
    }
    .page-index .quick-link-card, .page-index .game-card, .page-index .promo-card, .page-index .security-item, .page-index .blog-card {
        padding: 20px;
    }
    .page-index .quick-link-card h3, .page-index .game-card h3, .page-index .promo-card h3, .page-index .security-item h3, .page-index .blog-card h3 {
        font-size: 1.2em;
    }
    .page-index .game-image, .page-index .promo-image, .page-index .blog-image {
        height: 180px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
}