/* style/resources-sv388-platform-analysis.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #DC143C; /* Crimson */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000;
  --bg-light: #f0f0f0;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --border-color: #333333;
}

.page-resources-sv388-platform-analysis {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark); /* Inherited from shared.css, explicitly here for clarity */
  padding-top: 120px; /* Adjust for fixed header */
}

.page-resources-sv388-platform-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-sv388-platform-analysis__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-resources-sv388-platform-analysis h2 {
  color: var(--primary-color);
  font-size: 32px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-sv388-platform-analysis h3 {
  color: var(--text-light);
  font-size: 24px;
  margin-bottom: 15px;
}

.page-resources-sv388-platform-analysis p {
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Hero Section */
.page-resources-sv388-platform-analysis__hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:sv388 bet, cá cược trực tuyến Việt Nam, banner_hero]') no-repeat center center/cover;
  padding: 100px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-resources-sv388-platform-analysis__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-resources-sv388-platform-analysis__hero-description {
  font-size: 20px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-resources-sv388-platform-analysis__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-sv388-platform-analysis__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-sv388-platform-analysis__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-dark);
}

.page-resources-sv388-platform-analysis__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-sv388-platform-analysis__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--text-light);
}

.page-resources-sv388-platform-analysis__cta-button--secondary:hover {
  background: #b31032;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-sv388-platform-analysis__cta-buttons--center {
  margin-top: 40px;
}

/* General Section Styling */
.page-resources-sv388-platform-analysis__overview-section,
.page-resources-sv388-platform-analysis__games-section,
.page-resources-sv388-platform-analysis__advantages-section,
.page-resources-sv388-platform-analysis__guide-section,
.page-resources-sv388-platform-analysis__faq-section,
.page-resources-sv388-platform-analysis__brand-section,
.page-resources-sv388-platform-analysis__blog-section,
.page-resources-sv388-platform-analysis__conclusion-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.page-resources-sv388-platform-analysis__overview-section p,
.page-resources-sv388-platform-analysis__advantages-section p,
.page-resources-sv388-platform-analysis__guide-section p,
.page-resources-sv388-platform-analysis__brand-section p,
.page-resources-sv388-platform-analysis__conclusion-section p {
  color: var(--text-light);
  text-align: justify;
}

.page-resources-sv388-platform-analysis__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Game Grid */
.page-resources-sv388-platform-analysis__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-sv388-platform-analysis__game-card {
  background-color: var(--card-bg-dark);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-sv388-platform-analysis__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-resources-sv388-platform-analysis__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-resources-sv388-platform-analysis__game-card-title {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 10px;
}

.page-resources-sv388-platform-analysis__game-card-description {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-sv388-platform-analysis__game-card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-sv388-platform-analysis__game-card-button:hover {
  background: #b31032;
  transform: translateY(-2px);
}

/* Advantage List */
.page-resources-sv388-platform-analysis__advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-resources-sv388-platform-analysis__advantage-item {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-resources-sv388-platform-analysis__advantage-item:hover {
  transform: translateY(-5px);
}

.page-resources-sv388-platform-analysis__advantage-item-title {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 10px;
}

.page-resources-sv388-platform-analysis__advantage-item p {
  color: var(--text-light);
  font-size: 15px;
  text-align: justify;
}

/* Guide Section */
.page-resources-sv388-platform-analysis__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: guide-counter;
}

.page-resources-sv388-platform-analysis__guide-item {
  background-color: var(--card-bg-dark);
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  padding: 25px 25px 25px 60px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-sv388-platform-analysis__guide-item::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  color: var(--text-dark);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.page-resources-sv388-platform-analysis__guide-item-title {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 8px;
}

.page-resources-sv388-platform-analysis__guide-item p {
  color: var(--text-light);
  font-size: 15px;
  text-align: justify;
}

/* FAQ Section */
.page-resources-sv388-platform-analysis__faq-section {
  background-color: var(--bg-dark);
}

.page-resources-sv388-platform-analysis__faq-list {
  margin-top: 40px;
}

.page-resources-sv388-platform-analysis__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-bg-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-sv388-platform-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg-dark);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-sv388-platform-analysis__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-resources-sv388-platform-analysis__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-resources-sv388-platform-analysis__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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: 30px;
  height: 30px;
}

.page-resources-sv388-platform-analysis__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 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
}

.page-resources-sv388-platform-analysis__faq-item.active .page-resources-sv388-platform-analysis__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid var(--border-color);
}

.page-resources-sv388-platform-analysis__faq-item.active .page-resources-sv388-platform-analysis__faq-toggle {
  transform: rotate(180deg);
  color: var(--secondary-color);
}

/* Brand Section */
.page-resources-sv388-platform-analysis__brand-section {
  background-color: var(--bg-dark);
}

/* Blog Section */
.page-resources-sv388-platform-analysis__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-sv388-platform-analysis__blog-item {
  background-color: var(--card-bg-dark);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-sv388-platform-analysis__blog-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-resources-sv388-platform-analysis__blog-link {
  text-decoration: none;
  display: block;
  color: var(--text-light);
  padding-bottom: 20px;
}

.page-resources-sv388-platform-analysis__blog-item-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-resources-sv388-platform-analysis__blog-item-title {
  color: var(--primary-color);
  font-size: 20px;
  margin: 0 20px 10px 20px;
  line-height: 1.4;
}

.page-resources-sv388-platform-analysis__blog-item-excerpt {
  color: var(--text-light);
  font-size: 15px;
  margin: 0 20px 15px 20px;
  text-align: justify;
}

.page-resources-sv388-platform-analysis__blog-item-date {
  display: block;
  font-size: 13px;
  color: #aaa;
  margin: 0 20px;
}

/* Conclusion Section */
.page-resources-sv388-platform-analysis__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-resources-sv388-platform-analysis__conclusion-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-sv388-platform-analysis__main-title {
    font-size: 42px;
  }
  .page-resources-sv388-platform-analysis__section-title {
    font-size: 32px;
  }
  .page-resources-sv388-platform-analysis h3 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-resources-sv388-platform-analysis {
    padding-top: 100px !important; /* Adjust for mobile fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-sv388-platform-analysis__container {
    padding: 0 15px;
  }

  .page-resources-sv388-platform-analysis__hero-section {
    padding: 80px 0;
    min-height: 400px;
  }

  .page-resources-sv388-platform-analysis__main-title {
    font-size: 36px;
  }

  .page-resources-sv388-platform-analysis__hero-description {
    font-size: 18px;
  }

  .page-resources-sv388-platform-analysis__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-sv388-platform-analysis__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-resources-sv388-platform-analysis__section-title {
    font-size: 28px;
  }

  .page-resources-sv388-platform-analysis h2 {
    font-size: 26px;
  }

  .page-resources-sv388-platform-analysis h3 {
    font-size: 20px;
  }

  .page-resources-sv388-platform-analysis__game-grid,
  .page-resources-sv388-platform-analysis__advantage-list,
  .page-resources-sv388-platform-analysis__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-sv388-platform-analysis__game-card,
  .page-resources-sv388-platform-analysis__advantage-item,
  .page-resources-sv388-platform-analysis__blog-item {
    padding: 20px;
    border-radius: 8px;
  }

  .page-resources-sv388-platform-analysis__image-full-width,
  .page-resources-sv388-platform-analysis__game-card-image,
  .page-resources-sv388-platform-analysis__blog-item-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 6px;
  }
  
  .page-resources-sv388-platform-analysis__faq-question {
    padding: 15px 20px;
  }

  .page-resources-sv388-platform-analysis__faq-question h3 {
    font-size: 16px;
  }

  .page-resources-sv388-platform-analysis__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }

  .page-resources-sv388-platform-analysis__faq-answer {
    padding: 0 20px;
  }

  .page-resources-sv388-platform-analysis__faq-item.active .page-resources-sv388-platform-analysis__faq-answer {
    padding: 15px 20px !important;
  }

  .page-resources-sv388-platform-analysis__blog-item-title,
  .page-resources-sv388-platform-analysis__blog-item-excerpt,
  .page-resources-sv388-platform-analysis__blog-item-date {
    margin-left: 15px;
    margin-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-sv388-platform-analysis__main-title {
    font-size: 30px;
  }
  .page-resources-sv388-platform-analysis__hero-description {
    font-size: 16px;
  }
  .page-resources-sv388-platform-analysis__section-title {
    font-size: 24px;
  }
  .page-resources-sv388-platform-analysis h2 {
    font-size: 22px;
  }
  .page-resources-sv388-platform-analysis h3 {
    font-size: 18px;
  }
  .page-resources-sv388-platform-analysis__hero-section {
    padding: 60px 0;
  }
}