/* style/blog-mibet-game-types.css */

:root {
  --mibet-primary-color: #26A9E0;
  --mibet-secondary-color: #FFFFFF;
  --mibet-text-dark: #333333;
  --mibet-text-light: #ffffff;
  --mibet-bg-dark: #1a1a2e; /* From shared.css body background */
  --mibet-button-login: #EA7C07;
}

.page-blog-mibet-game-types {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--mibet-text-light); /* Dark body background, so light text */
  background-color: var(--mibet-bg-dark);
}

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

.page-blog-mibet-game-types__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-blog-mibet-game-types__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-mibet-game-types__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-blog-mibet-game-types__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-blog-mibet-game-types__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Use clamp for H1 */
  font-weight: 700;
  color: var(--mibet-secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-mibet-game-types__hero-description {
  font-size: 1.1em;
  color: var(--mibet-secondary-color);
  margin-bottom: 30px;
}

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

.page-blog-mibet-game-types__btn-primary,
.page-blog-mibet-game-types__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button adapts to container */
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-mibet-game-types__btn-primary {
  background-color: var(--mibet-primary-color);
  color: var(--mibet-secondary-color);
  border: 2px solid var(--mibet-primary-color);
}

.page-blog-mibet-game-types__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-blog-mibet-game-types__btn-secondary {
  background-color: transparent;
  color: var(--mibet-primary-color);
  border: 2px solid var(--mibet-primary-color);
}

.page-blog-mibet-game-types__btn-secondary:hover {
  background-color: var(--mibet-primary-color);
  color: var(--mibet-secondary-color);
}

.page-blog-mibet-game-types__section-title {
  font-size: 2.5em;
  color: var(--mibet-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-blog-mibet-game-types__introduction-section {
  padding: 60px 0;
  background-color: var(--mibet-bg-dark);
  color: var(--mibet-text-light);
}

.page-blog-mibet-game-types__introduction-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-mibet-game-types__game-category-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: var(--mibet-text-light);
}

.page-blog-mibet-game-types__game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-mibet-game-types__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  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;
}

.page-blog-mibet-game-types__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog-mibet-game-types__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog-mibet-game-types__game-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-blog-mibet-game-types__game-card-title {
  font-size: 1.5em;
  color: var(--mibet-primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog-mibet-game-types__game-card-title a {
  color: var(--mibet-primary-color);
  text-decoration: none;
}

.page-blog-mibet-game-types__game-card-title a:hover {
  text-decoration: underline;
}

.page-blog-mibet-game-types__game-card-content p {
  font-size: 1em;
  color: var(--mibet-text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-mibet-game-types__game-card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--mibet-primary-color);
  color: var(--mibet-secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-blog-mibet-game-types__game-card-button:hover {
  background-color: #1e87b8;
}

.page-blog-mibet-game-types__more-games-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: var(--mibet-text-light);
}

.page-blog-mibet-game-types__advantages-section {
  padding: 80px 0;
  background-color: var(--mibet-secondary-color);
  color: var(--mibet-text-dark); /* Light background, so dark text */
}

.page-blog-mibet-game-types__advantages-section .page-blog-mibet-game-types__section-title {
  color: var(--mibet-text-dark);
}

.page-blog-mibet-game-types__advantage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-mibet-game-types__advantage-item {
  text-align: center;
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-mibet-game-types__advantage-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-blog-mibet-game-types__advantage-title {
  font-size: 1.4em;
  color: var(--mibet-primary-color);
  margin-bottom: 15px;
}

.page-blog-mibet-game-types__advantage-item p {
  font-size: 0.95em;
  color: var(--mibet-text-dark);
}

.page-blog-mibet-game-types__faq-section {
  padding: 80px 0;
  background-color: var(--mibet-bg-dark);
  color: var(--mibet-text-light);
}

.page-blog-mibet-game-types__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-blog-mibet-game-types__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--mibet-text-light);
}

.page-blog-mibet-game-types__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--mibet-primary-color);
  background-color: rgba(255, 255, 255, 0.05);
}

.page-blog-mibet-game-types__faq-item summary {
  list-style: none;
}

.page-blog-mibet-game-types__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-mibet-game-types__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-blog-mibet-game-types__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--mibet-secondary-color);
}

.page-blog-mibet-game-types__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: var(--mibet-text-light);
  text-align: justify;
}

.page-blog-mibet-game-types__faq-answer p {
  margin-top: 10px;
}

.page-blog-mibet-game-types__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--mibet-primary-color), #1e87b8);
  color: var(--mibet-text-light);
}

.page-blog-mibet-game-types__cta-bottom-section .page-blog-mibet-game-types__section-title {
  color: var(--mibet-secondary-color);
}

.page-blog-mibet-game-types__cta-bottom-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-mibet-game-types__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-mibet-game-types__main-title {
    font-size: clamp(2em, 5vw, 2.5em);
  }
  .page-blog-mibet-game-types__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-blog-mibet-game-types {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-mibet-game-types__container {
    padding: 0 15px;
  }

  .page-blog-mibet-game-types__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
  }

  .page-blog-mibet-game-types__hero-content {
    margin-top: 30px;
  }

  .page-blog-mibet-game-types__main-title {
    font-size: clamp(1.8em, 6vw, 2.2em);
    margin-bottom: 15px;
  }

  .page-blog-mibet-game-types__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-blog-mibet-game-types__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-mibet-game-types__btn-primary,
  .page-blog-mibet-game-types__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-mibet-game-types__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-mibet-game-types__introduction-section,
  .page-blog-mibet-game-types__game-category-section,
  .page-blog-mibet-game-types__advantages-section,
  .page-blog-mibet-game-types__faq-section,
  .page-blog-mibet-game-types__cta-bottom-section {
    padding: 40px 0;
  }

  .page-blog-mibet-game-types__game-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-mibet-game-types__game-card-image {
    height: 180px;
  }

  .page-blog-mibet-game-types__advantage-list {
    grid-template-columns: 1fr;
  }

  .page-blog-mibet-game-types__advantage-icon {
    width: 80px;
    height: 80px;
  }

  .page-blog-mibet-game-types__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-blog-mibet-game-types__faq-answer {
    font-size: 1em;
    padding: 0 20px 15px;
  }

  /* Ensure all images are responsive */
  .page-blog-mibet-game-types img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers with images/videos are responsive */
  .page-blog-mibet-game-types__hero-image-wrapper,
  .page-blog-mibet-game-types__game-card-image,
  .page-blog-mibet-game-types__advantage-icon,
  .page-blog-mibet-game-types__container,
  .page-blog-mibet-game-types__introduction-section,
  .page-blog-mibet-game-types__game-category-section,
  .page-blog-mibet-game-types__advantages-section,
  .page-blog-mibet-game-types__faq-section,
  .page-blog-mibet-game-types__cta-bottom-section,
  .page-blog-mibet-game-types__game-card,
  .page-blog-mibet-game-types__advantage-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}