.page-blog-ug88-game-types-deep-dive {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
}

.page-blog-ug88-game-types-deep-dive__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-blog-ug88-game-types-deep-dive__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-blog-ug88-game-types-deep-dive__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--main-color);
  border-radius: 5px;
}

.page-blog-ug88-game-types-deep-dive__text-block {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-blog-ug88-game-types-deep-dive__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-ug88-game-types-deep-dive__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-ug88-game-types-deep-dive__cta-button--secondary {
  background: var(--card-bg);
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

.page-blog-ug88-game-types-deep-dive__cta-button--secondary:hover {
  background: var(--main-color);
  color: #ffffff;
}

.page-blog-ug88-game-types-deep-dive__cta-button--small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* Hero Section */
.page-blog-ug88-game-types-deep-dive__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-main);
  overflow: hidden;
}

.page-blog-ug88-game-types-deep-dive__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Adjust height as needed */
  overflow: hidden;
  position: relative;
}

.page-blog-ug88-game-types-deep-dive__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog-ug88-game-types-deep-dive__hero-content {
  max-width: 900px;
  padding: 40px 15px;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-top: -100px; /* Overlap with image slightly */
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
}

.page-blog-ug88-game-types-deep-dive__hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-ug88-game-types-deep-dive__hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Introduction Section */
.page-blog-ug88-game-types-deep-dive__introduction-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

/* Game Types Section */
.page-blog-ug88-game-types-deep-dive__game-types-section {
  padding: 60px 0;
  background-color: var(--deep-green);
}

.page-blog-ug88-game-types-deep-dive__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-ug88-game-types-deep-dive__game-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-ug88-game-types-deep-dive__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-ug88-game-types-deep-dive__game-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-blog-ug88-game-types-deep-dive__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-ug88-game-types-deep-dive__game-card-title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-blog-ug88-game-types-deep-dive__game-card-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Advantages Section */
.page-blog-ug88-game-types-deep-dive__advantages-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.page-blog-ug88-game-types-deep-dive__grid-advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-ug88-game-types-deep-dive__advantage-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-blog-ug88-game-types-deep-dive__advantage-title {
  font-size: 1.4rem;
  color: var(--main-color);
  margin-bottom: 15px;
}

/* How to Join Section */
.page-blog-ug88-game-types-deep-dive__how-to-join-section {
  padding: 60px 0;
  background-color: var(--deep-green);
}

.page-blog-ug88-game-types-deep-dive__content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.page-blog-ug88-game-types-deep-dive__image-right {
  flex: 1;
  max-width: 50%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  display: block;
}

.page-blog-ug88-game-types-deep-dive__steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-blog-ug88-game-types-deep-dive__step-item {
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.page-blog-ug88-game-types-deep-dive__step-title {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 10px;
}

/* Strategy Section */
.page-blog-ug88-game-types-deep-dive__strategy-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.page-blog-ug88-game-types-deep-dive__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-blog-ug88-game-types-deep-dive__image-left {
  flex: 1;
  max-width: 50%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  display: block;
}

.page-blog-ug88-game-types-deep-dive__strategy-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-blog-ug88-game-types-deep-dive__strategy-item {
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.page-blog-ug88-game-types-deep-dive__strategy-title {
  font-size: 1.3rem;
  color: var(--main-color);
  margin-bottom: 10px;
}

.page-blog-ug88-game-types-deep-dive__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Conclusion Section */
.page-blog-ug88-game-types-deep-dive__conclusion-section {
  padding: 60px 0;
  background-color: var(--deep-green);
  text-align: center;
}

.page-blog-ug88-game-types-deep-dive__conclusion-section .page-blog-ug88-game-types-deep-dive__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* General image styling */
.page-blog-ug88-game-types-deep-dive img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-ug88-game-types-deep-dive__hero-image-wrapper {
    height: 500px;
  }
  .page-blog-ug88-game-types-deep-dive__hero-content {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-blog-ug88-game-types-deep-dive__hero-image-wrapper {
    height: 400px;
  }
  .page-blog-ug88-game-types-deep-dive__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }
  .page-blog-ug88-game-types-deep-dive__hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-blog-ug88-game-types-deep-dive__hero-description {
    font-size: 1rem;
  }

  .page-blog-ug88-game-types-deep-dive__grid-layout,
  .page-blog-ug88-game-types-deep-dive__grid-advantages {
    grid-template-columns: 1fr;
  }

  .page-blog-ug88-game-types-deep-dive__content-wrapper,
  .page-blog-ug88-game-types-deep-dive__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-blog-ug88-game-types-deep-dive__image-right,
  .page-blog-ug88-game-types-deep-dive__image-left {
    max-width: 100%;
    order: -1; /* Image appears first on mobile */
  }

  .page-blog-ug88-game-types-deep-dive__steps,
  .page-blog-ug88-game-types-deep-dive__strategy-list {
    width: 100%;
  }

  .page-blog-ug88-game-types-deep-dive__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-ug88-game-types-deep-dive__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-ug88-game-types-deep-dive__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-blog-ug88-game-types-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-ug88-game-types-deep-dive__hero-section,
  .page-blog-ug88-game-types-deep-dive__introduction-section,
  .page-blog-ug88-game-types-deep-dive__game-types-section,
  .page-blog-ug88-game-types-deep-dive__advantages-section,
  .page-blog-ug88-game-types-deep-dive__how-to-join-section,
  .page-blog-ug88-game-types-deep-dive__strategy-section,
  .page-blog-ug88-game-types-deep-dive__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-ug88-game-types-deep-dive__hero-section {
    padding-top: 10px !important;
  }
  
  .page-blog-ug88-game-types-deep-dive__game-card-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-blog-ug88-game-types-deep-dive__hero-image-wrapper {
    height: 300px;
  }
  .page-blog-ug88-game-types-deep-dive__hero-content {
    margin-top: -40px;
    padding: 20px 10px;
  }
  .page-blog-ug88-game-types-deep-dive__hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-blog-ug88-game-types-deep-dive__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .page-blog-ug88-game-types-deep-dive__game-card-title,
  .page-blog-ug88-game-types-deep-dive__advantage-title,
  .page-blog-ug88-game-types-deep-dive__step-title,
  .page-blog-ug88-game-types-deep-dive__strategy-title {
    font-size: 1.2rem;
  }
  .page-blog-ug88-game-types-deep-dive__game-card-image {
    height: 150px;
  }
}