/* style/fishing-games.css */

/* Biến CSS */
:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark-card: rgba(255, 255, 255, 0.1);
    --border-color: #e0e0e0;
}

/* Đảm bảo nội dung không bị che bởi header cố định */
.page-fishing-games__hero-intro-section {
    padding-top: 120px; /* Khoảng cách cho header cố định */
}

@media (max-width: 768px) {
    .page-fishing-games__hero-intro-section {
        padding-top: 100px; /* Khoảng cách cho header cố định trên di động */
    }
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-fishing-games__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-fishing-games__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: inherit;
}

.page-fishing-games__section-title .text-highlight {
    color: var(--secondary-color);
}

.page-fishing-games__section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit;
    opacity: 0.9;
}

.page-fishing-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
}

.page-fishing-games__btn--primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-fishing-games__btn--primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn--secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-fishing-games__btn--secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn--link {
    background-color: transparent;
    color: var(--secondary-color);
    border: none;
    padding: 8px 15px;
}

.page-fishing-games__btn--link:hover {
    text-decoration: underline;
    background-color: transparent;
    color: lighten(var(--secondary-color), 10%);
}

.page-fishing-games__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Hero Intro Section */
.page-fishing-games__hero-intro-section {
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    padding: 80px 0;
    color: var(--text-light);
}

.page-fishing-games__hero-intro-section .page-fishing-games__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-fishing-games__description {
    font-size: 1.15em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
}

.page-fishing-games__hero-image-wrapper {
    flex: 1;
    text-align: center;
    max-width: 600px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 80px 0;
}

.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__feature-card {
    background: var(--bg-dark-card);
    padding: 30px;
    border-radius: 10px;
    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-fishing-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-fishing-games__feature-description {
    font-size: 1em;
    color: var(--text-light);
    opacity: 0.8;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
    padding: 80px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-fishing-games__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__game-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__game-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-title {
    font-size: 1.4em;
    font-weight: 700;
    margin: 20px 20px 10px;
    color: var(--primary-color);
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    margin: 0 20px 20px;
    color: var(--text-dark);
    opacity: 0.8;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
}

.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

.page-fishing-games__step-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-fishing-games__step-description {
    font-size: 1em;
    color: var(--text-dark);
    opacity: 0.8;
}

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
}

.page-fishing-games__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__promo-card {
    background: var(--bg-dark-card);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    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(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__promo-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-fishing-games__promo-description {
    font-size: 1em;
    color: var(--text-light);
    opacity: 0.8;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
}

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

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

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #ffffff;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--primary-color);
}

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

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

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: 28px;
  height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-intro-section .page-fishing-games__container {
        flex-direction: column;
        text-align: center;
    }

    .page-fishing-games__hero-image-wrapper {
        order: -1; /* Đẩy ảnh lên trên */
        margin-bottom: 40px;
    }

    .page-fishing-games__main-title {
        font-size: 3em;
    }

    .page-fishing-games__description {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-intro-section {
        padding: 60px 0;
    }

    .page-fishing-games__main-title {
        font-size: 2.5em;
    }

    .page-fishing-games__section-title {
        font-size: 2em;
    }

    .page-fishing-games__section-subtitle {
        font-size: 1em;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn {
        width: 100%;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__features-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 50px 0;
    }

    .page-fishing-games__container {
        padding: 0 15px;
    }

    /* Mobile image adaptation */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */ /* Handled by .page-fishing-games__container */
        /* padding-right: 15px; */ /* Handled by .page-fishing-games__container */
    }

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