/* style/index-about-us-glance.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #1A1A1A;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-about-us-glance {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Body background is light, so use dark text */
    background-color: var(--bg-light);
}

.page-index-about-us-glance__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

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

.page-index-about-us-glance__section-title {
    font-size: 36px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-index-about-us-glance__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
}

/* HERO Section */
.page-index-about-us-glance__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    background-color: var(--secondary-color);
    color: var(--text-light);
    overflow: hidden;
}

.page-index-about-us-glance__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-index-about-us-glance__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-about-us-glance__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-index-about-us-glance__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.page-index-about-us-glance__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-index-about-us-glance__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-about-us-glance__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-about-us-glance__cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.page-index-about-us-glance__features-section {
    background-color: var(--bg-white);
}

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

.page-index-about-us-glance__feature-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-us-glance__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index-about-us-glance__feature-card img {
    width: 100%;
    height: auto;
    max-width: 250px; /* Smaller display size for feature icons */
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.page-index-about-us-glance__feature-card .page-index-about-us-glance__card-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-about-us-glance__feature-card p {
    font-size: 16px;
    color: var(--text-dark);
}

/* Games Section */
.page-index-about-us-glance__games-section {
    background-color: var(--bg-light);
}

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

.page-index-about-us-glance__game-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-us-glance__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index-about-us-glance__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
}

.page-index-about-us-glance__game-card .page-index-about-us-glance__card-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin: 20px 20px 10px;
}

.page-index-about-us-glance__game-card p {
    font-size: 15px;
    color: var(--text-dark);
    padding: 0 20px 15px;
    text-align: justify;
}

.page-index-about-us-glance__game-card .page-index-about-us-glance__btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 20px 20px;
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: calc(100% - 40px); /* Adjust for padding */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-about-us-glance__game-card .page-index-about-us-glance__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Promotions Section */
.page-index-about-us-glance__promotions-section {
    background-color: var(--bg-white);
}

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

.page-index-about-us-glance__promo-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-us-glance__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index-about-us-glance__promo-card img {
    width: 100%;
    
    object-fit: cover;
    display: block;
}

.page-index-about-us-glance__promo-card .page-index-about-us-glance__card-title {
    font-size: 20px;
    color: var(--secondary-color);
    margin: 15px 15px 10px;
}

.page-index-about-us-glance__promo-card p {
    font-size: 15px;
    color: var(--text-dark);
    padding: 0 15px 20px;
    text-align: justify;
}

.page-index-about-us-glance__cta-group {
    text-align: center;
    margin-top: 50px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Security & Support Section */
.page-index-about-us-glance__security-support-section {
    background-color: var(--bg-light);
}

.page-index-about-us-glance__grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.page-index-about-us-glance__content-block {
    padding: 20px;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index-about-us-glance__content-block img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-bottom: 25px;
}

.page-index-about-us-glance__content-block .page-index-about-us-glance__content-subtitle {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-about-us-glance__content-block p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: justify;
}

/* Mobile Section */
.page-index-about-us-glance__mobile-section {
    background-color: var(--bg-white);
}

.page-index-about-us-glance__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-about-us-glance__list li {
    font-size: 17px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    color: var(--text-dark);
}

.page-index-about-us-glance__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 20px;
    top: -2px;
}

/* Why Choose Section */
.page-index-about-us-glance__why-choose-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-index-about-us-glance__why-choose-section .page-index-about-us-glance__section-title {
    color: var(--primary-color);
}

.page-index-about-us-glance__why-choose-section .page-index-about-us-glance__text-block {
    color: rgba(255, 255, 255, 0.9);
}

.page-index-about-us-glance__why-choose-section .page-index-about-us-glance__list li {
    color: rgba(255, 255, 255, 0.9);
}

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

.page-index-about-us-glance__faq-list {
    margin-top: 40px;
}

.page-index-about-us-glance__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-about-us-glance__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-index-about-us-glance__faq-question:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

.page-index-about-us-glance__faq-question:active {
    background: #e0e0e0;
}

.page-index-about-us-glance__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--secondary-color);
    pointer-events: none;
}

.page-index-about-us-glance__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-index-about-us-glance__faq-item.active .page-index-about-us-glance__faq-toggle {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.page-index-about-us-glance__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: var(--text-dark);
}

.page-index-about-us-glance__faq-item.active .page-index-about-us-glance__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.page-index-about-us-glance__faq-answer p {
    margin: 0;
    font-size: 16px;
    text-align: justify;
}

/* News Section */
.page-index-about-us-glance__news-section {
    background-color: var(--bg-white);
}

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

.page-index-about-us-glance__news-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-us-glance__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index-about-us-glance__news-card .page-index-about-us-glance__card-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.page-index-about-us-glance__news-card .page-index-about-us-glance__news-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-about-us-glance__news-card .page-index-about-us-glance__news-link:hover {
    color: var(--primary-color);
}

.page-index-about-us-glance__news-card .page-index-about-us-glance__news-excerpt {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    text-align: justify;
}

.page-index-about-us-glance__news-card .page-index-about-us-glance__news-date {
    font-size: 14px;
    color: #999;
    display: block;
}

/* General list styling */
.page-index-about-us-glance__list {
    list-style: none;
    padding: 0;
}

.page-index-about-us-glance__list li {
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-index-about-us-glance__list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-about-us-glance__hero-title {
        font-size: 42px;
    }
    .page-index-about-us-glance__section-title {
        font-size: 32px;
    }
    .page-index-about-us-glance__grid-2-col {
        grid-template-columns: 1fr;
    }
    .page-index-about-us-glance__content-block:first-child {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-index-about-us-glance {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-about-us-glance__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-about-us-glance__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-index-about-us-glance__hero-description {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .page-index-about-us-glance__cta-button {
        padding: 12px 30px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-index-about-us-glance__cta-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-about-us-glance__section {
        padding: 40px 0;
    }

    .page-index-about-us-glance__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-index-about-us-glance__container {
        padding: 0 15px;
    }

    /* Image responsiveness */
    .page-index-about-us-glance img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-index-about-us-glance__hero-image img,
    .page-index-about-us-glance__feature-card img,
    .page-index-about-us-glance__game-card img,
    .page-index-about-us-glance__promo-card img,
    .page-index-about-us-glance__content-block img {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
    }

    .page-index-about-us-glance__feature-card {
        padding: 20px;
    }
    .page-index-about-us-glance__feature-card img {
         /* Adjust for smaller screens */
    }

    .page-index-about-us-glance__game-card img,
    .page-index-about-us-glance__promo-card img {
        
    }

    .page-index-about-us-glance__game-card .page-index-about-us-glance__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
        padding: 10px 15px;
    }

    .page-index-about-us-glance__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-index-about-us-glance__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-index-about-us-glance__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 22px;
    }
    
    .page-index-about-us-glance__faq-answer {
        padding: 0 15px;
    }
    
    .page-index-about-us-glance__faq-item.active .page-index-about-us-glance__faq-answer {
        padding: 15px !important;
    }

    .page-index-about-us-glance__news-card {
        padding: 20px;
    }
    .page-index-about-us-glance__news-card .page-index-about-us-glance__card-title {
        font-size: 18px;
    }
    .page-index-about-us-glance__news-card .page-index-about-us-glance__news-excerpt {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-index-about-us-glance__hero-title {
        font-size: 28px;
    }
    .page-index-about-us-glance__hero-description {
        font-size: 16px;
    }
    .page-index-about-us-glance__section-title {
        font-size: 24px;
    }
}