/* style/about-us.css */

/* Căn chỉnh lại padding-top cho section đầu tiên nếu không có HERO */
/* Tuy nhiên, ở đây có HERO section, nên padding-top sẽ được áp dụng cho .page-about-us__hero-section */
.page-about-us__intro-section {
    padding-top: 60px; /* Điều chỉnh lại padding-top cho section đầu tiên sau HERO nếu cần */
}

.page-about-us {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Mặc định chữ màu sáng cho nền tối */
    background-color: #121212; /* Body background từ shared.css */
}

.page-about-us__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* HERO Section */
.page-about-us__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Cố định navbar spacing */
  margin-top: 0;
}

.page-about-us__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-about-us__hero-image {
  width: 100%;
  margin: 0;
}

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

/* General Section Styling */
.page-about-us__intro-section,
.page-about-us__mission-values-section,
.page-about-us__history-section,
.page-about-us__security-section,
.page-about-us__games-overview-section,
.page-about-us__promotions-section,
.page-about-us__customer-service-section,
.page-about-us__faq-section,
.page-about-us__future-section {
    padding: 80px 0;
}

.page-about-us__dark-bg {
    background-color: #1a1a1a; /* Nền tối */
    color: #f0f0f0;
}

.page-about-us__light-bg {
    background-color: #f8f9fa; /* Nền sáng */
    color: #333333;
}

.page-about-us__main-title {
    font-size: 42px;
    color: #E44D26;
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-about-us__section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: inherit;
}

.page-about-us__description {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
}

/* Content Grid (for Mission/Values) */
.page-about-us__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about-us__card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-us__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about-us__card-icon {
    width: 120px; /* Đảm bảo kích thước lớn, không phải icon nhỏ */
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-about-us__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #E44D26;
}

.page-about-us__card-text {
    font-size: 16px;
    line-height: 1.7;
}

.page-about-us__value-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.page-about-us__value-list li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.page-about-us__value-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #336699;
}

/* History Section */
.page-about-us__history-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-about-us__history-image {
    flex: 1;
    max-width: 50%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: auto;
    object-fit: cover;
}

.page-about-us__history-text {
    flex: 1;
    max-width: 50%;
    font-size: 18px;
    line-height: 1.8;
    color: #f0f0f0;
}

.page-about-us__history-text p {
    margin-bottom: 20px;
}

/* Security Section */
.page-about-us__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about-us__feature-item {
    background-color: #ffffff;
    color: #333333;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-about-us__feature-icon {
    width: 100px; /* Đảm bảo kích thước lớn */
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-about-us__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #336699;
}

/* Games Overview */
.page-about-us__games-grid-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about-us__game-category-card {
    background-color: #1a1a1a;
    color: #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about-us__game-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-about-us__game-category-image {
    width: 100%;
    height: 200px; /* Đảm bảo hình ảnh lớn */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-about-us__game-category-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #E44D26;
}

.page-about-us__game-category-card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-about-us__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about-us__promo-card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-us__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about-us__promo-image {
    width: 100%;
    height: 220px; /* Đảm bảo hình ảnh lớn */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-about-us__promo-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #336699;
}

/* Customer Service */
.page-about-us__contact-info {
    font-size: 18px;
    line-height: 2;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-about-us__contact-link {
    color: #E44D26; /* Màu liên kết nổi bật */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about-us__contact-link:hover {
    color: #ff6f4e;
    text-decoration: underline;
}

/* Buttons */
.page-about-us__btn-link {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin-top: 20px;
}

.page-about-us__btn-primary {
    background-color: #E44D26;
    color: #ffffff;
    border: 2px solid #E44D26;
}

.page-about-us__btn-primary:hover {
    background-color: #ff6f4e;
    border-color: #ff6f4e;
}

.page-about-us__btn-secondary {
    background-color: #336699;
    color: #ffffff;
    border: 2px solid #336699;
}

.page-about-us__btn-secondary:hover {
    background-color: #4a80b8;
    border-color: #4a80b8;
}

/* FAQ Section */
.page-about-us__faq-list {
    margin-top: 40px;
}

.page-about-us__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-about-us__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 15px;
  opacity: 0;
}

.page-about-us__faq-item.active .page-about-us__faq-answer {
  max-height: 2000px !important; /* Đảm bảo đủ lớn để chứa nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: #2a2a2a; /* Nền tối cho câu trả lời */
  color: #f0f0f0;
  border-radius: 0 0 5px 5px;
}

.page-about-us__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a1a1a; /* Nền tối cho câu hỏi */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #f0f0f0; /* Chữ sáng cho câu hỏi */
}

.page-about-us__faq-question:hover {
  background: #2a2a2a;
  border-color: rgba(255, 255, 255, 0.2);
}

.page-about-us__faq-question:active {
  background: #3a3a3a;
}

.page-about-us__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: inherit;
}

.page-about-us__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #E44D26;
  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: 32px;
  height: 32px;
}

.page-about-us__faq-item.active .page-about-us__faq-toggle {
  color: #336699;
  transform: rotate(45deg); /* Thêm hiệu ứng xoay cho dấu + thành X */
}

/* Future Section */
.page-about-us__future-section .page-about-us__description {
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about-us__main-title {
        font-size: 38px;
    }
    .page-about-us__section-title {
        font-size: 32px;
    }
    .page-about-us__description {
        font-size: 17px;
    }
    .page-about-us__history-content {
        flex-direction: column;
        text-align: center;
    }
    .page-about-us__history-image {
        max-width: 80%;
        margin-bottom: 30px;
    }
    .page-about-us__history-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-about-us__hero-section {
        padding-top: 10px; /* Mobile fixed navbar spacing */
    }
    .page-about-us__intro-section,
    .page-about-us__mission-values-section,
    .page-about-us__history-section,
    .page-about-us__security-section,
    .page-about-us__games-overview-section,
    .page-about-us__promotions-section,
    .page-about-us__customer-service-section,
    .page-about-us__faq-section,
    .page-about-us__future-section {
        padding: 40px 0;
    }
    .page-about-us__main-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    .page-about-us__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-about-us__description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-about-us__container {
        padding: 0 15px;
    }
    .page-about-us__content-grid,
    .page-about-us__security-features,
    .page-about-us__games-grid-overview,
    .page-about-us__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-about-us__card,
    .page-about-us__feature-item,
    .page-about-us__game-category-card,
    .page-about-us__promo-card {
        padding: 25px;
    }
    .page-about-us__card-icon,
    .page-about-us__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-about-us__card-title {
        font-size: 20px;
    }
    .page-about-us__game-category-image,
    .page-about-us__promo-image {
        height: 180px;
    }
    .page-about-us__game-category-title,
    .page-about-us__promo-title {
        font-size: 22px;
    }
    .page-about-us__history-image {
        max-width: 100%;
    }
    .page-about-us__contact-info {
        font-size: 16px;
    }
    .page-about-us__btn-link {
        padding: 10px 20px;
        font-size: 15px;
    }
    .page-about-us__faq-question {
        padding: 15px;
    }
    .page-about-us__faq-question h3 {
        font-size: 16px;
    }
    .page-about-us__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-about-us__faq-item.active .page-about-us__faq-answer {
        padding: 15px !important;
    }
    /* Global image responsive for mobile */
    .page-about-us img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-about-us__container,
    .page-about-us__card,
    .page-about-us__section,
    .page-about-us__feature-item,
    .page-about-us__game-category-card,
    .page-about-us__promo-card,
    .page-about-us__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}