/* style/game-strategies.css */

/* Biến màu sắc */
:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* body đã padding-top: var(--header-offset) từ shared.css; trang này không lặp lại */
.page-game-strategies {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Khoảng cách với footer */
}

.page-game-strategies__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Chỉ 10px padding-top, không dùng var(--header-offset) */
  overflow: hidden;
}

.page-game-strategies__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Làm tối ảnh để chữ dễ đọc */
}

.page-game-strategies__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  color: var(--text-main-color);
}

.page-game-strategies__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-game-strategies__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-strategies__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-game-strategies__btn-primary {
  background: var(--btn-gradient);
  color: var(--text-main-color);
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-game-strategies__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-game-strategies__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-game-strategies__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--page-bg-color);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-game-strategies__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-game-strategies__section:last-of-type {
  border-bottom: none;
}

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

.page-game-strategies__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-game-strategies__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--glow-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-strategies__text-block {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
}

.page-game-strategies__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-strategies__card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
}

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

.page-game-strategies__card-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-strategies__card-text {
  font-size: 1rem;
  color: var(--text-secondary-color);
}

.page-game-strategies__list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-game-strategies__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-secondary-color);
}

.page-game-strategies__list-item::before {
  content: '✓';
  color: var(--glow-color);
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 1.2em;
  top: 0;
}

.page-game-strategies__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px;
}

.page-game-strategies__image--left {
  float: left;
  margin-right: 30px;
  max-width: 50%;
}

.page-game-strategies__image--right {
  float: right;
  margin-left: 30px;
  max-width: 50%;
}

.page-game-strategies__casino-strategies .page-game-strategies__container,
.page-game-strategies__sports-tactics .page-game-strategies__container,
.page-game-strategies__fishing-skills .page-game-strategies__container,
.page-game-strategies__learning-section .page-game-strategies__container {
  display: flex;
  flex-direction: column;
}

.page-game-strategies__casino-strategies h3,
.page-game-strategies__sports-tactics h3,
.page-game-strategies__fishing-skills h3,
.page-game-strategies__learning-section h3 {
  clear: both;
}

/* FAQ Section */
.page-game-strategies__faq-section {
  padding: 60px 0;
}

.page-game-strategies__faq-list {
  margin-top: 40px;
}

.page-game-strategies__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-game-strategies__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-color);
  list-style: none; /* Ẩn marker mặc định */
  outline: none;
}

.page-game-strategies__faq-item summary::-webkit-details-marker {
  display: none; /* Ẩn marker mặc định cho Webkit */
}

.page-game-strategies__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--glow-color);
  transition: transform 0.3s ease;
}

.page-game-strategies__faq-item[open] .page-game-strategies__faq-toggle {
  transform: rotate(45deg);
}

.page-game-strategies__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  line-height: 1.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-game-strategies__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-game-strategies__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-game-strategies__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .page-game-strategies__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-game-strategies__section {
    padding: 40px 0;
  }

  .page-game-strategies__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-game-strategies__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-game-strategies__sub-title {
    font-size: 1.5rem;
  }

  .page-game-strategies__text-block,
  .page-game-strategies__list-item,
  .page-game-strategies__card-text {
    font-size: 1rem;
  }

  .page-game-strategies__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-strategies__image {
    float: none;
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-game-strategies__image--left,
  .page-game-strategies__image--right {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .page-game-strategies__casino-strategies .page-game-strategies__container,
  .page-game-strategies__sports-tactics .page-game-strategies__container,
  .page-game-strategies__fishing-skills .page-game-strategies__container,
  .page-game-strategies__learning-section .page-game-strategies__container {
    flex-direction: column;
  }

  .page-game-strategies__faq-item summary {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-game-strategies__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 1rem;
  }

  /* Ensure all containers handle overflow */
  .page-game-strategies__section,
  .page-game-strategies__card,
  .page-game-strategies__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
  
  .page-game-strategies__hero-section {
    overflow: hidden;
  }
}

/* Clear floats for image sections */
.page-game-strategies__casino-strategies .page-game-strategies__container::after,
.page-game-strategies__sports-tactics .page-game-strategies__container::after,
.page-game-strategies__fishing-skills .page-game-strategies__container::after,
.page-game-strategies__learning-section .page-game-strategies__container::after {
  content: "";
  display: table;
  clear: both;
}