/* Biến màu sắc */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg: #111111;
    --body-bg: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
}

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

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

.page-fishing-games__dark-bg {
    background-color: var(--body-bg);
}

.page-fishing-games__light-text {
    color: var(--text-main);
}

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

.page-fishing-games__section-title {
    font-size: 3.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__content-area p {
    margin-bottom: 1em;
    color: var(--text-main);
}

.page-fishing-games__content-area ul {
    list-style: disc inside;
    margin-bottom: 1em;
    padding-left: 20px;
    color: var(--text-main);
}

.page-fishing-games__content-area li {
    margin-bottom: 0.5em;
    color: var(--text-main);
}

/* Hero Section */
.page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for desktop hero */
    overflow: hidden;
    margin-bottom: 20px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly with image for design, but text is below */
    margin-bottom: 40px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size for H1 */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-main);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width for responsive buttons */
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-fishing-games__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* About Section */
.page-fishing-games__about-section,
.page-fishing-games__sicbo-section,
.page-fishing-games__promotions-section,
.page-fishing-games__guide-section,
.page-fishing-games__faq-section,
.page-fishing-games__contact-cta-section {
    padding: 60px 0;
}

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

.page-fishing-games__product-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

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

.page-fishing-games__card-title {
    font-size: 1.8em;
    font-weight: 700;
    margin: 15px 15px 10px;
    color: var(--primary-color);
}

.page-fishing-games__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__card-title a:hover {
    color: var(--secondary-color);
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: var(--text-main);
    padding: 0 15px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-fishing-games__card-button {
    margin: 0 15px 20px;
    text-align: center;
    width: calc(100% - 30px);
}

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

.page-fishing-games__tips-block h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__tips-block ul {
    list-style: disc outside;
    padding-left: 25px;
}

.page-fishing-games__tips-block li {
    margin-bottom: 10px;
}

/* Sic Bo Section */
.page-fishing-games__image-text-block {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-fishing-games__content-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__text-content {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__text-content h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-fishing-games__text-content ul {
    list-style: decimal outside;
    padding-left: 25px;
}

.page-fishing-games__text-content li {
    margin-bottom: 8px;
}

/* Promotions Section */
.page-fishing-games__promotion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Guide Section */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

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

.page-fishing-games__step-item h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__guide-image {
    display: block;
    margin: 40px auto 0;
    max-width: 800px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* 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);
}
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: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-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: var(--body-bg);
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}

/* Contact CTA Section */
.page-fishing-games__contact-cta-section {
    text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2.8em;
    }
    .page-fishing-games__hero-content {
        margin-top: -80px;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__products-grid,
    .page-fishing-games__promotion-cards,
    .page-fishing-games__guide-steps {
        gap: 20px;
    }
    .page-fishing-games__image-text-block {
        flex-direction: column;
        align-items: center;
    }
    .page-fishing-games__content-image {
        max-width: 100%;
    }
}

@media (max-width: 849px) {
    .page-fishing-games__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        min-height: auto;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 400px;
    }
    .page-fishing-games__hero-content {
        margin-top: 0;
        padding: 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 8vw, 2.8em) !important; /* Smaller H1 on mobile */
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__section-title {
        font-size: 2em !important;
        margin-bottom: 15px;
    }
    .page-fishing-games__section-subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-fishing-games__products-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
        gap: 15px;
        overflow-x: hidden;
    }
    .page-fishing-games__product-card {
        padding-bottom: 0;
    }
    .page-fishing-games__card-image {
        height: 150px;
    }
    .page-fishing-games__card-title {
        font-size: 1.2em;
        margin: 10px 10px 5px;
    }
    .page-fishing-games__card-description {
        font-size: 0.9em;
        padding: 0 10px;
        margin-bottom: 15px;
    }
    .page-fishing-games__card-button {
        margin: 0 10px 15px;
        width: calc(100% - 20px);
    }
    .page-fishing-games__tips-block {
        padding: 20px;
    }
    .page-fishing-games__tips-block h3 {
        font-size: 1.5em;
    }
    .page-fishing-games__tips-block ul {
        padding-left: 20px;
    }

    .page-fishing-games__image-text-block {
        gap: 20px;
    }
    .page-fishing-games__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__text-content h3 {
        font-size: 1.5em;
    }

    .page-fishing-games__promotion-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__step-item {
        padding: 20px;
    }
    .page-fishing-games__step-number {
        font-size: 2.5em;
    }
    .page-fishing-games__step-item h3 {
        font-size: 1.3em;
    }
    .page-fishing-games__guide-image {
        margin-top: 20px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
    .page-fishing-games__faq-qtext { font-size: 1em; }
    .page-fishing-games__faq-toggle { font-size: 20px; width: 24px; }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer { padding: 0 15px 15px; }

    /* Ensure all content area images are responsive */
    .page-fishing-games__content-area img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
}