:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f8f8;
  --background-medium: #eeeeee;
  --background-dark: #1a1a1a;
}

.page-index-about-e-e88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark);
  line-height: 1.6;
  background-color: #ffffff;
}

.page-index-about-e-e88-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-index-about-e-e88-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-index-about-e-e88-section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-index-about-e-e88 h1,
.page-index-about-e-e88 h2 {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-index-about-e-e88 h3 {
  color: var(--secondary-color);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-index-about-e-e88 p {
  margin-bottom: 15px;
}

.page-index-about-e-e88-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-about-e-e88-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Hero Section */
.page-index-about-e-e88-hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #ffc107 50%, var(--secondary-color) 100%); /* Adjusted gradient for better visual blend */
  color: var(--text-color-light);
}

.page-index-about-e-e88-hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-about-e-e88-hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-about-e-e88-hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-index-about-e-e88-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-about-e-e88-hero-content h1 {
  color: var(--text-color-light);
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-about-e-e88-hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-index-about-e-e88-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-about-e-e88-cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  border-color: var(--secondary-color);
}

/* Content Wrapper with Image */
.page-index-about-e-e88-content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-index-about-e-e88-content-wrapper.reverse {
  flex-direction: row-reverse;
}

.page-index-about-e-e88-text-content {
  flex: 1;
}

.page-index-about-e-e88-image-content {
  flex: 1;
  text-align: center;
}

.page-index-about-e-e88-image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Game Grid */
.page-index-about-e-e88-game-grid,
.page-index-about-e-e88-promo-grid,
.page-index-about-e-e88-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-index-about-e-e88-game-item,
.page-index-about-e-e88-promo-item,
.page-index-about-e-e88-advantage-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-about-e-e88-game-item:hover,
.page-index-about-e-e88-promo-item:hover,
.page-index-about-e-e88-advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-about-e-e88-game-item img,
.page-index-about-e-e88-promo-item img,
.page-index-about-e-e88-advantage-item img {
  max-width: 100%;
  height: 200px; /* Fixed height for better grid alignment */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
}

.page-index-about-e-e88-game-item h3,
.page-index-about-e-e88-promo-item h3,
.page-index-about-e-e88-advantage-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-index-about-e-e88-game-item h3 a,
.page-index-about-e-e88-promo-item h3 a {
  color: inherit;
  text-decoration: none;
}

.page-index-about-e-e88-game-item h3 a:hover,
.page-index-about-e-e88-promo-item h3 a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index-about-e-e88-cta-bottom {
  text-align: center;
  margin-top: 40px;
}

.page-index-about-e-e88-promo-note {
  text-align: center;
  font-style: italic;
  margin-top: 20px;
  font-size: 1.1em;
}

/* FAQ Section */
.page-index-about-e-e88-faq-list {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--background-light);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-color-dark);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--background-medium);
  color: var(--text-color-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.faq-answer p {
  margin-bottom: 0;
}

/* Why Choose Section */
.page-index-about-e-e88-advantages-grid {
  text-align: center;
}

.page-index-about-e-e88-advantage-item img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.page-index-about-e-e88-call-to-action {
  text-align: center;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 50px;
  color: var(--secondary-color);
}

/* Contact Section */
.page-index-about-e-e88-contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.page-index-about-e-e88-contact-info p {
  margin: 0;
  font-size: 1.1em;
  font-weight: bold;
  flex-basis: 45%; /* Two items per row on larger screens */
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-about-e-e88-hero-content h1 {
    font-size: 2.8em;
  }

  .page-index-about-e-e88 h2 {
    font-size: 2em;
  }

  .page-index-about-e-e88-content-wrapper {
    flex-direction: column;
  }

  .page-index-about-e-e88-content-wrapper.reverse {
    flex-direction: column;
  }

  .page-index-about-e-e88-game-grid,
  .page-index-about-e-e88-promo-grid,
  .page-index-about-e-e88-advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-index-about-e-e88-contact-info p {
    flex-basis: 100%; /* One item per row on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-index-about-e-e88-hero-content h1 {
    font-size: 2.2em;
  }

  .page-index-about-e-e88-hero-content p {
    font-size: 1em;
  }

  .page-index-about-e-e88-cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-index-about-e-e88-section {
    padding: 40px 0;
  }

  .page-index-about-e-e88 h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-index-about-e-e88 h3 {
    font-size: 1.4em;
  }

  .faq-question h3 {
    font-size: 1.1em;
  }

  .faq-question {
    padding: 15px 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-about-e-e88-hero-content h1 {
    font-size: 1.8em;
  }

  .page-index-about-e-e88 h2 {
    font-size: 1.5em;
  }

  .page-index-about-e-e88-game-grid,
  .page-index-about-e-e88-promo-grid,
  .page-index-about-e-e88-advantages-grid {
    grid-template-columns: 1fr;
  }
}