/* style/fishing-games.css */

/* --- Base Styles --- */
.page-fishing-games {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: var(--secondary-color, #FFFFFF); /* Body background is light */
}

/* --- Section Styling --- */
.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-fishing-games__section-title {
    font-size: 36px;
    color: var(--primary-color, #26A9E0);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color, #26A9E0);
    border-radius: 2px;
}

.page-fishing-games__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e0f2f7, #ffffff); /* Lighter gradient for hero background */
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__hero-content h1 {
    font-size: 48px;
    color: var(--primary-color, #26A9E0);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.page-fishing-games__hero-content p {
    font-size: 20px;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color, #26A9E0);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(38, 169, 224, 0.3);
    border: none;
    cursor: pointer;
}

.page-fishing-games__cta-button:hover {
    background: #1e87c0; /* Slightly darker primary color */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(38, 169, 224, 0.4);
}

/* --- Dark Background Section --- */
.page-fishing-games__dark-bg {
    background-color: var(--primary-color, #26A9E0);
    color: #ffffff; /* Light text for dark background */
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title::after {
    background-color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__text-block {
    color: #e0f2f7;
}

/* --- Images in Content --- */
.page-fishing-games__image {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 30px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- Features Grid --- */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.25);
}

.page-fishing-games__feature-card h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__feature-card p {
    font-size: 16px;
    color: #e0f2f7;
    line-height: 1.6;
}

/* --- Numbered List (How to Play) --- */
.page-fishing-games__numbered-list {
    list-style: none;
    counter-reset: item;
    text-align: left;
    max-width: 900px;
    margin: 40px auto;
    padding: 0;
}

.page-fishing-games__numbered-list li {
    counter-increment: item;
    margin-bottom: 25px;
    padding-left: 50px;
    position: relative;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
}

.page-fishing-games__numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background-color: var(--primary-color, #26A9E0);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.page-fishing-games__numbered-list li strong {
    color: var(--primary-color, #26A9E0);
}

/* --- Bullet List (Tips) --- */
.page-fishing-games__bullet-list {
    list-style: none;
    text-align: left;
    max-width: 900px;
    margin: 40px auto;
    padding: 0;
}

.page-fishing-games__bullet-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 18px;
    line-height: 1.6;
    color: #e0f2f7; /* Light text for dark background */
}

.page-fishing-games__bullet-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    top: 0px;
}

.page-fishing-games__bullet-list li strong {
    color: #ffffff;
}

/* --- Promotion Cards --- */
.page-fishing-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__promo-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__promo-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min- /* Ensure images have a decent size */
}

.page-fishing-games__promo-card h3 {
    font-size: 22px;
    color: var(--primary-color, #26A9E0);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__promo-card p {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-fishing-games__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color, #26A9E0);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* For button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary:hover {
    background: #1e87c0;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: #ffffff;
    color: var(--primary-color, #26A9E0);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color, #26A9E0);
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* For button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color, #26A9E0);
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- Call to Action Buttons Group --- */
.page-fishing-games__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-fishing-games__cta-buttons .page-fishing-games__cta-button {
    margin: 0; /* Override default margin */
}

/* --- FAQ Section --- */
.page-fishing-games__faq {
    background-color: #f8f8f8;
    padding-bottom: 80px;
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

/* FAQ容器样式 */
.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ默认状态 - 答案隐藏 */
.page-fishing-games__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;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng!important đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 25px !important;
  opacity: 1;
  background: #fefefe;
  border-top: 1px solid #e9e9e9;
  border-radius: 0 0 8px 8px;
  color: #555555;
}

/* 问题样式 */
.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-fishing-games__faq-question:active {
  background: #eeeeee;
}