/* style/tin-tuc.css */
:root {
  --primary-color: #1A202C; /* Deep Slate */
  --secondary-color: #FFD700; /* Gold */
  --text-color-light: #F7FAFC; /* Light Gray */
  --text-color-dark: #2D3748; /* Dark Gray */
  --background-dark: #1A202C;
  --background-light: #ffffff;
  --card-background: #2D3748;
  --border-color: #4A5568;
  --button-hover: #E6C200;
}

.page-tin-tuc {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

.page-tin-tuc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-tin-tuc h1,
.page-tin-tuc h2,
.page-tin-tuc h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-tin-tuc h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-color-light);
}

.page-tin-tuc h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  position: relative;
}

.page-tin-tuc h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-tin-tuc h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
}

.page-tin-tuc p {
  margin-bottom: 15px;
  color: var(--text-color-dark);
}

.page-tin-tuc a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tin-tuc a:hover {
  color: var(--button-hover);
  text-decoration: underline;
}

.page-tin-tuc-cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: bold;
  border-radius: 5px;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  text-decoration: none;
}

.page-tin-tuc-cta-button:hover {
  background-color: var(--button-hover);
  transform: translateY(-2px);
  color: var(--primary-color);
  text-decoration: none;
}

.page-tin-tuc-text-link {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-tin-tuc-text-link:hover {
  color: var(--button-hover);
}

/* Hero Section */
.page-tin-tuc-hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  background-color: var(--background-dark);
  color: var(--text-color-light);
  text-align: center;
  overflow: hidden;
}

.page-tin-tuc-hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-tin-tuc-hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.page-tin-tuc-hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast, allowed as it doesn't change color hue */
}

.page-tin-tuc-hero-content {
  position: absolute;
  z-index: 2;
  text-align: center;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: rgba(26, 32, 44, 0.6);
  border-radius: 10px;
}

.page-tin-tuc-hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tin-tuc-hero-content p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: var(--text-color-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-tin-tuc-intro {
  background-color: var(--background-light);
  padding: 60px 0;
  text-align: center;
}

.page-tin-tuc-intro p {
  font-size: 1.1em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured News & Latest Articles Grid */
.page-tin-tuc-featured-news, .page-tin-tuc-guides-tips {
  background-color: var(--background-dark);
  padding: 60px 0;
}

.page-tin-tuc-featured-news h2, .page-tin-tuc-guides-tips h2 {
  color: var(--text-color-light);
}

.page-tin-tuc-featured-news p, .page-tin-tuc-guides-tips p {
  color: var(--text-color-light);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-tin-tuc-articles-grid, .page-tin-tuc-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-tin-tuc-article-card, .page-tin-tuc-tip-card {
  background-color: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tin-tuc-article-card:hover, .page-tin-tuc-tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-tin-tuc-article-card img, .page-tin-tuc-tip-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-tin-tuc-article-card h3, .page-tin-tuc-tip-card h3 {
  padding: 15px 20px 0;
  color: var(--secondary-color);
  font-size: 1.4em;
}

.page-tin-tuc-article-card h3 a, .page-tin-tuc-tip-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-tin-tuc-article-card h3 a:hover, .page-tin-tuc-tip-card h3 a:hover {
  text-decoration: underline;
  color: var(--button-hover);
}

.page-tin-tuc-article-card p, .page-tin-tuc-tip-card p {
  padding: 0 20px 15px;
  color: var(--text-color-light);
  flex-grow: 1;
}

.page-tin-tuc-read-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: bold;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  text-align: center;
  width: 100%;
  margin-top: auto;
}

.page-tin-tuc-read-more:hover {
  background-color: var(--button-hover);
  color: var(--primary-color);
  text-decoration: none;
}

/* Game Updates */
.page-tin-tuc-game-updates {
  background-color: var(--background-light);
  padding: 60px 0;
  text-align: center;
}

.page-tin-tuc-game-updates p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-color-dark);
}

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

.page-tin-tuc-game-item {
  background-color: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc-game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc-game-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-tin-tuc-game-item h3 {
  padding: 15px 20px 0;
  color: var(--secondary-color);
  font-size: 1.3em;
}

.page-tin-tuc-game-item h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-tin-tuc-game-item h3 a:hover {
  text-decoration: underline;
  color: var(--button-hover);
}

.page-tin-tuc-game-item p {
  padding: 0 20px 15px;
  color: var(--text-color-light);
  flex-grow: 1;
}

.page-tin-tuc-learn-more-btn {
  display: block;
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: bold;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.page-tin-tuc-learn-more-btn:hover {
  background-color: var(--button-hover);
  color: var(--primary-color);
  text-decoration: none;
}

/* Promotions */
.page-tin-tuc-promotions {
  background-color: var(--background-dark);
  padding: 60px 0;
  color: var(--text-color-light);
  text-align: center;
}

.page-tin-tuc-promotions h2 {
  color: var(--text-color-light);
}

.page-tin-tuc-promotions p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-tin-tuc-promotions ul {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-tin-tuc-promotions ul li {
  background-color: var(--card-background);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 1.1em;
  color: var(--text-color-light);
}

.page-tin-tuc-promotions ul li strong {
  color: var(--secondary-color);
}

.page-tin-tuc-promotions ul li a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-tin-tuc-promotions ul li a:hover {
  text-decoration: underline;
  color: var(--button-hover);
}

/* Safety & Support */
.page-tin-tuc-safety-support {
  background-color: var(--background-light);
  padding: 60px 0;
  text-align: center;
}

.page-tin-tuc-safety-support p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-color-dark);
}

.page-tin-tuc-safety-support ul {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-tin-tuc-safety-support ul li {
  background-color: #f0f2f5;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.1em;
  color: var(--text-color-dark);
}

.page-tin-tuc-safety-support ul li strong {
  color: var(--primary-color);
}

/* FAQ Section */
.page-tin-tuc-faq {
  background-color: var(--background-dark);
  padding: 60px 0;
  color: var(--text-color-light);
}

.page-tin-tuc-faq h2 {
  color: var(--text-color-light);
}

.page-tin-tuc-faq-list {
  max-width: 900px;
  margin: 30px auto;
}

.page-tin-tuc-faq-list .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc-faq-list .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-tin-tuc-faq-list .faq-question:hover {
  background: #3a475d; /* Slightly lighter dark background on hover */
}

.page-tin-tuc-faq-list .faq-question h3 {
  margin: 0;
  color: var(--text-color-light);
  font-size: 1.25em;
}

.page-tin-tuc-faq-list .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-tin-tuc-faq-list .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--button-hover);
}

.page-tin-tuc-faq-list .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #27303f; /* Slightly lighter than card background */
  color: var(--text-color-light);
  border-radius: 0 0 8px 8px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.page-tin-tuc-faq-list .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

.page-tin-tuc-faq-list .faq-answer p {
  margin-bottom: 15px;
  color: var(--text-color-light);
}

.page-tin-tuc-faq-list .faq-answer a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-tin-tuc-faq-list .faq-answer a:hover {
  color: var(--button-hover);
}

/* Latest Articles List */
.page-tin-tuc-latest-articles {
  background-color: var(--background-light);
  padding: 60px 0;
}

.page-tin-tuc-latest-articles h2 {
  color: var(--primary-color);
}

.page-tin-tuc-latest-articles p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-color-dark);
}

.page-tin-tuc-articles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.page-tin-tuc-list-item {
  background-color: var(--background-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-tin-tuc-list-item img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.page-tin-tuc-list-item-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.page-tin-tuc-list-item-content h3 {
  margin-top: 0;
  font-size: 1.3em;
  color: var(--primary-color);
}

.page-tin-tuc-list-item-content h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-tin-tuc-list-item-content h3 a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-tin-tuc-list-item-content p {
  margin-bottom: 10px;
  color: var(--text-color-dark);
}

.page-tin-tuc-date {
  font-size: 0.9em;
  color: #666;
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-tin-tuc-hero-content h1 {
    font-size: 2.8em;
  }
  .page-tin-tuc-hero-content p {
    font-size: 1.1em;
  }
  .page-tin-tuc-list-item img {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .page-tin-tuc-hero-section {
    padding: 40px 15px;
  }
  .page-tin-tuc-hero-content {
    width: 90%;
    padding: 15px;
  }
  .page-tin-tuc-hero-content h1 {
    font-size: 2.2em;
  }
  .page-tin-tuc-hero-content p {
    font-size: 1em;
  }
  .page-tin-tuc h1 {
    font-size: 2.2em;
  }
  .page-tin-tuc h2 {
    font-size: 1.8em;
  }
  .page-tin-tuc h3 {
    font-size: 1.4em;
  }
  .page-tin-tuc-cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-tin-tuc-articles-grid, .page-tin-tuc-tips-grid, .page-tin-tuc-game-categories {
    grid-template-columns: 1fr;
  }
  .page-tin-tuc-article-card img, .page-tin-tuc-tip-card img {
    height: 180px;
  }
  .page-tin-tuc-game-item img {
    height: 150px;
  }
  .page-tin-tuc-list-item {
    flex-direction: column;
  }
  .page-tin-tuc-list-item img {
    width: 100%;
    height: 200px;
    border-radius: 8px 8px 0 0;
  }
  .page-tin-tuc-list-item-content {
    padding: 15px;
  }
  .page-tin-tuc-faq-list .faq-question {
    padding: 15px 20px;
  }
  .page-tin-tuc-faq-list .faq-question h3 {
    font-size: 1.1em;
  }
  .page-tin-tuc-faq-list .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-tin-tuc-hero-content h1 {
    font-size: 1.8em;
  }
  .page-tin-tuc-hero-content p {
    font-size: 0.9em;
  }
  .page-tin-tuc-hero-section {
    padding: 30px 10px;
  }
  .page-tin-tuc-cta-button {
    padding: 8px 20px;
    font-size: 0.8em;
  }
  .page-tin-tuc h2 {
    font-size: 1.5em;
  }
  .page-tin-tuc h3 {
    font-size: 1.2em;
  }
  .page-tin-tuc-list-item img {
    height: 150px;
  }
}