:root {
  --f888-red-primary: #E53935;
  --f888-red-secondary: #FF5A4F;
  --f888-text-main: #333333;
  --f888-bg-card: #FFFFFF;
  --f888-bg-page: #F5F7FA;
  --f888-border-color: #E0E0E0;
}

/* Base styles for the page content */
.page-blog-f888-la-gi {
  font-family: 'Arial', sans-serif;
  color: var(--f888-text-main);
  background: var(--f888-bg-page);
  line-height: 1.6;
}

.page-blog-f888-la-gi__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-f888-la-gi__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--f888-red-primary);
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-blog-f888-la-gi__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--f888-text-main);
}

.page-blog-f888-la-gi__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
}

.page-blog-f888-la-gi__text-block strong {
  color: var(--f888-red-primary);
}

/* Hero Section */
.page-blog-f888-la-gi__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  margin-bottom: 50px;
  background-color: var(--f888-bg-page);
}

.page-blog-f888-la-gi__hero-image {
  width: 100%;
  height: 550px; /* Fixed height for desktop hero */
  overflow: hidden;
}

.page-blog-f888-la-gi__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the area, may crop */
  display: block;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-blog-f888-la-gi__hero-content {
  max-width: 900px;
  margin: -100px auto 0; /* Overlap with image slightly for visual appeal */
  background: var(--f888-bg-card);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  z-index: 10;
}

.page-blog-f888-la-gi__main-title {
  font-size: clamp(32px, 4vw, 48px); /* Clamp for H1, no fixed large size */
  font-weight: 800;
  color: var(--f888-red-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-f888-la-gi__description {
  font-size: 18px;
  color: var(--f888-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-f888-la-gi__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Required for button responsiveness */
  max-width: 100%; /* Required for button responsiveness */
  box-sizing: border-box; /* Required for button responsiveness */
  overflow: hidden; /* Required for button responsiveness */
}

.page-blog-f888-la-gi__btn-primary,
.page-blog-f888-la-gi__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Required for button responsiveness */
  box-sizing: border-box; /* Required for button responsiveness */
  white-space: normal; /* Required for button responsiveness */
  word-wrap: break-word; /* Required for button responsiveness */
}

.page-blog-f888-la-gi__btn-primary {
  background: linear-gradient(180deg, var(--f888-red-secondary) 0%, var(--f888-red-primary) 100%);
  color: #ffffff;
  border: none;
}

.page-blog-f888-la-gi__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.4);
}

.page-blog-f888-la-gi__btn-secondary {
  background: var(--f888-bg-card);
  color: var(--f888-red-primary);
  border: 2px solid var(--f888-red-primary);
}

.page-blog-f888-la-gi__btn-secondary:hover {
  background: var(--f888-red-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(229, 57, 53, 0.2);
}

.page-blog-f888-la-gi__center-btn {
  display: block;
  margin: 30px auto 0;
  width: fit-content;
}

/* General content sections */
.page-blog-f888-la-gi__content-section {
  padding: 50px 0;
  margin-bottom: 30px;
  background: var(--f888-bg-card);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-blog-f888-la-gi__content-section:last-of-type {
  margin-bottom: 0;
}

.page-blog-f888-la-gi__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Features Grid */
.page-blog-f888-la-gi__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-f888-la-gi__feature-card {
  background: var(--f888-bg-card);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--f888-border-color);
}

.page-blog-f888-la-gi__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-blog-f888-la-gi__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-blog-f888-la-gi__card-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--f888-red-primary);
  margin-bottom: 15px;
}

.page-blog-f888-la-gi__feature-card p {
  font-size: 16px;
  color: var(--f888-text-main);
}

/* Game Categories Grid */
.page-blog-f888-la-gi__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-f888-la-gi__game-card {
  display: block;
  background: var(--f888-bg-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: var(--f888-text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--f888-border-color);
}

.page-blog-f888-la-gi__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-blog-f888-la-gi__game-image {
  width: 100%;
  height: 200px; /* Fixed height for game card images */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-blog-f888-la-gi__game-card .page-blog-f888-la-gi__game-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--f888-red-primary);
  padding: 15px 20px 0;
  margin: 0;
}

.page-blog-f888-la-gi__game-card p {
  font-size: 15px;
  padding: 0 20px 20px;
  margin: 0;
}

/* Step List for registration guide */
.page-blog-f888-la-gi__step-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-blog-f888-la-gi__step-list li {
  background: var(--f888-bg-page);
  border-left: 5px solid var(--f888-red-primary);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 17px;
}

.page-blog-f888-la-gi__step-list li strong {
  color: var(--f888-red-primary);
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

/* Reason List for Why F888 */
.page-blog-f888-la-gi__reason-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-blog-f888-la-gi__reason-list li {
  background: var(--f888-bg-page);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
  font-size: 17px;
  position: relative;
  padding-left: 35px;
}

.page-blog-f888-la-gi__reason-list li::before {
  content: '✔';
  color: var(--f888-red-primary);
  position: absolute;
  left: 10px;
  font-weight: bold;
}

/* FAQ Section */
details.page-blog-f888-la-gi__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--f888-border-color);
  overflow: hidden;
  background: var(--f888-bg-card);
}
details.page-blog-f888-la-gi__faq-item summary.page-blog-f888-la-gi__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog-f888-la-gi__faq-item summary.page-blog-f888-la-gi__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-f888-la-gi__faq-item summary.page-blog-f888-la-gi__faq-question:hover {
  background: #f5f5f5;
}
.page-blog-f888-la-gi__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--f888-text-main);
}
.page-blog-f888-la-gi__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-f888-la-gi__faq-item .page-blog-f888-la-gi__faq-answer {
  padding: 0 20px 20px;
  background: var(--f888-bg-page);
  border-radius: 0 0 5px 5px;
}
details.page-blog-f888-la-gi__faq-item .page-blog-f888-la-gi__faq-answer p {
  font-size: 16px;
  color: var(--f888-text-main);
}

/* Bottom CTA */
.page-blog-f888-la-gi__cta-bottom {
  background: linear-gradient(135deg, var(--f888-red-primary) 0%, var(--f888-red-secondary) 100%);
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
}

.page-blog-f888-la-gi__cta-bottom .page-blog-f888-la-gi__section-title {
  color: #ffffff;
}

.page-blog-f888-la-gi__cta-bottom .page-blog-f888-la-gi__section-description {
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-f888-la-gi__cta-bottom .page-blog-f888-la-gi__btn-primary {
  background: var(--f888-bg-card);
  color: var(--f888-red-primary);
}

.page-blog-f888-la-gi__cta-bottom .page-blog-f888-la-gi__btn-primary:hover {
  background: #f0f0f0;
}