/* FAQ頁面樣式 */
.faq-section {
    margin-top: 80px;
    padding-bottom: 4rem;
}

.faq-banner {
    position: relative;
    /* background-color: #0066cc; */
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    background-image: url(../images/1920x300.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.faq-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 300px;
    display: block;
}

.faq-banner-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.faq-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.2rem;
}

.page-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    width: 100%;
}

.faq-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1.1rem;
}

.faq-actions {
    margin-top: 3rem;
    text-align: center;
}

.action-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.back-button.action-button {
    background-color: #f5f5f5;
    color: #444;
}

.back-button.action-button:hover {
    background-color: #e9e9e9;
    color: #333;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .faq-banner {
        height: 200px;
    }

    .faq-banner h1 {
        font-size: 2rem;
    }

    .faq-container {
        margin: 3rem auto;
    }

    .faq-item {
        padding: 1.25rem;
    }

    .faq-item h3 {
        font-size: 1.2rem;
    }

    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .faq-banner {
        height: 160px;
    }

    .faq-banner h1 {
        font-size: 1.75rem;
    }

    .faq-container {
        margin: 2rem auto;
    }

    .faq-item {
        padding: 1rem;
    }

    .contact-info {
        padding: 4rem;
    }

    .page-title {
        font-size: 1.5rem;
    }
}

.faq-content p {
    font-size: 1rem;
}

/* Contact Info styles */
.contact-info {
    text-align: center;
    padding: 4rem;
    background-color: #0066cc;
    border-radius: 8px;
}

.contact-info p {
    margin: 0.5rem 0;
    color: #ffffff;
    font-size: 1.1rem;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ffea00;
}

/* About Garena Section */
.about-garena {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin-top: 6rem;
}

.about-garena-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

.about-garena h2 {
    color: #e41e26;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
} 

.about-garena-content {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: left;
}

a {
    color: #666;
    text-decoration: none;
}

.about-garena-link {
    display: block;
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    text-decoration: none;
}



.about-garena-link:hover {
    color: #0052a3;
}

@media (max-width: 768px) {
    .about-garena {
        padding: 3rem 0;
        margin-top: 3rem;
    }

    .about-garena h2 {
        font-size: 1.75rem;
    }

    .about-garena-content {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-garena {
        padding: 2.5rem 0;
        margin-top: 2.5rem;
    }

    .about-garena-container {
        padding: 0 1.5rem;
    }

    .about-garena h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.about-garena-content-link{
    text-align: center;
}
.about-garena-content-link a{
    color:#e41e26;
}