/* style/resources-fun88-dt-game-guide.css */

/* Base styles for the page content */
.page-resources-fun88-dt-game-guide {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
  line-height: 1.6;
  padding-top: 0;
}

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

.page-resources-fun88-dt-game-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-fun88-dt-game-guide__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Auxiliary color for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-fun88-dt-game-guide__section-title--light {
  color: #ffffff;
}

.page-resources-fun88-dt-game-guide__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-fun88-dt-game-guide__text-block {
  font-size: 1.1em;
  color: #f0f0f0; /* Slightly lighter text for readability on dark background */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-fun88-dt-game-guide__text-block--light {
  color: #ffffff;
}

/* Hero Section */
.page-resources-fun88-dt-game-guide__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 70vh;
  padding: 80px 20px;
  background-color: #1A237E; /* Main brand color */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources-fun88-dt-game-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-resources-fun88-dt-game-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
}

.page-resources-fun88-dt-game-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
}

.page-resources-fun88-dt-game-guide__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-fun88-dt-game-guide__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Call to Action Buttons */
.page-resources-fun88-dt-game-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-resources-fun88-dt-game-guide__btn-primary,
.page-resources-fun88-dt-game-guide__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;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Important for mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-resources-fun88-dt-game-guide__btn-primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #1A237E; /* Main color for text on auxiliary background */
  border: 2px solid #FFD700;
}

.page-resources-fun88-dt-game-guide__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-resources-fun88-dt-game-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Auxiliary color for text */
  border: 2px solid #FFD700;
}

.page-resources-fun88-dt-game-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A237E;
}

.page-resources-fun88-dt-game-guide__center-cta {
  text-align: center;
  margin-top: 40px;
}

/* Grid Layout for Cards */
.page-resources-fun88-dt-game-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-fun88-dt-game-guide__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources-fun88-dt-game-guide__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-fun88-dt-game-guide__card-image {
  width: 100%; /* Ensure card images are large */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-fun88-dt-game-guide__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-fun88-dt-game-guide__card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-resources-fun88-dt-game-guide__card-title a:hover {
  text-decoration: underline;
}

.page-resources-fun88-dt-game-guide__card-description {
  font-size: 0.95em;
  color: #cccccc;
}

/* Content Rows for Guides */
.page-resources-fun88-dt-game-guide__content-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-resources-fun88-dt-game-guide__content-row--reverse {
  flex-direction: row-reverse;
}

.page-resources-fun88-dt-game-guide__content-text {
  flex: 1;
}

.page-resources-fun88-dt-game-guide__content-image-wrapper {
  flex: 1;
  min-width: 300px; /* Minimum width to prevent images from becoming too small */
}

.page-resources-fun88-dt-game-guide__content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-fun88-dt-game-guide__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-fun88-dt-game-guide__list li {
  color: #f0f0f0;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-resources-fun88-dt-game-guide__list li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}