/* CSS cho trang Bắn Cá */

/* Biến màu từ chủ đề Blue Gold */
:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--deep-navy); /* Match body background from shared.css */
}

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

.page-fishing-games__section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.page-fishing-games__dark-section {
    background-color: var(--deep-navy);
    color: var(--text-main);
}

.page-fishing-games__light-bg {
    background-color: #0d1e3a; /* A slightly lighter dark for contrast */
    color: var(--text-main);
}

.page-fishing-games__section-title {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__sub-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-fishing-games__text-block {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-fishing-games__text-block strong {
    color: var(--text-main);
}

/* Hero Section */
.page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover for desktop */
    display: block;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: -150px; /* Overlap with image for visual effect */
    padding: 0 20px;
    box-sizing: border-box;
}

.page-fishing-games__main-title {
    font-size: clamp(36px, 5vw, 60px); /* Use clamp for H1 */
    font-weight: 900;
    line-height: 1.2;
    color: var(--gold-color);
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
    margin-bottom: 20px;
}

.page-fishing-games__hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(43, 115, 246, 0.6);
}

.page-fishing-games__btn-secondary {
    background: var(--card-bg);
    color: var(--text-main);
    border: 2px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
}

/* About Fishing Games Section */
.page-fishing-games__about-fishing-games {
    background-color: var(--card-bg);
}

.page-fishing-games__image-content-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__text-content {
    flex: 1;
}

.page-fishing-games__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.2);
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* How To Play Section */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-fishing-games__step-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1;
}

.page-fishing-games__step-title {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-fishing-games__step-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

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

.page-fishing-games__feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-height: 200px; /* Limit icon height */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-fishing-games__feature-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Tips Section */
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__tips-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-fishing-games__tips-item p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* Why Choose Us Section */
.page-fishing-games__reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__reason-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-fishing-games__reason-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.page-fishing-games__reason-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__reason-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-main);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0,0,0,0.1);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary);
}

/* Conclusion Section */
.page-fishing-games__cta-final {
    text-align: center;
    margin-top: 40px;
}

/* General Image Styling for Responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure content area images meet min size on desktop */
.page-fishing-games__content-image,
.page-fishing-games__feature-icon {
    min-width: 200px;
    min-height: 200px;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -100px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(32px, 4.5vw, 50px);
    }
    .page-fishing-games__hero-description {
        font-size: 18px;
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__sub-title {
        font-size: 22px;
    }
    .page-fishing-games__text-block {
        font-size: 16px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px; /* Force small top padding */
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 400px;
    }
    .page-fishing-games__hero-image {
        object-fit: contain !important; /* HERO 主图区域: 移动 object-fit:contain */
        aspect-ratio: unset !important; /* aspect-ratio:unset */
    }
    .page-fishing-games__hero-content {
        margin-top: -80px;
        padding: 0 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__steps-grid,
    .page-fishing-games__feature-grid,
    .page-fishing-games__reasons-grid {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__image-content-flex {
        flex-direction: column;
        gap: 20px;
    }
    .page-fishing-games__image-wrapper {
        padding: 10px;
    }
    .page-fishing-games__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-fishing-games__sub-title {
        font-size: 20px;
    }
    .page-fishing-games__text-block {
        font-size: 15px;
    }
    .page-fishing-games__step-item,
    .page-fishing-games__feature-card,
    .page-fishing-games__reason-card,
    .page-fishing-games__tips-item {
        padding: 20px;
    }
    .page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 16px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 24px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    /* 通用图片与容器 */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__container,
    .page-fishing-games__text-content,
    .page-fishing-games__about-fishing-games .page-fishing-games__image-content-flex,
    .page-fishing-games__how-to-play .page-fishing-games__steps-grid,
    .page-fishing-games__features-section .page-fishing-games__feature-grid,
    .page-fishing-games__why-choose-us .page-fishing-games__reasons-grid,
    .page-fishing-games__tips-list,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* 装饰主标题 + 长文 SEO 区 */
    .page-fishing-games__main-title,
    .page-fishing-games__section-title {
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .page-fishing-games__text-block {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .page-fishing-games__article-body {
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    /* Ensure content area images unset min size on mobile */
    .page-fishing-games__content-image,
    .page-fishing-games__feature-icon {
        min-width: unset !important;
        min-height: unset !important;
    }
}