:root {
  --primary-color: #E44D26;
  --secondary-color: #FFB800;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-medium: #eeeeee;
  --bg-dark: #2c2c2c;
  --border-color: #e0e0e0;
}

.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.page-blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-blog-section:nth-of-type(even) {
  background-color: var(--bg-medium);
}

.page-blog-title {
  font-size: 42px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog-subtitle {
  font-size: 20px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
}

.page-blog-section-title {
  font-size: 34px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-blog-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-dark);
}

/* Hero Section */
.page-blog-hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 100px 0;
  text-align: center;
}

.page-blog-cta {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid var(--text-light);
}

.page-blog-cta:hover {
  background-color: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Introduction Section */
.page-blog-introduction .page-blog-content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-blog-introduction .page-blog-text-content {
  flex: 2;
  min-width: 300px;
}

.page-blog-introduction .page-blog-text-content p {
  font-size: 17px;
  margin-bottom: 15px;
  text-align: left;
  color: var(--text-dark);
}

.page-blog-introduction .page-blog-image-content {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.page-blog-introduction .page-blog-main-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Grid for Why Choose & Promotions */
.page-blog-grid, .page-blog-promo-grid, .page-blog-info-grid, .page-blog-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog-card, .page-blog-promo-item, .page-blog-info-item, .page-blog-article-card {
  background-color: var(--text-light);
  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-blog-card:hover, .page-blog-promo-item:hover, .page-blog-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-blog-card-image, .page-blog-promo-image, .page-blog-article-image {
  width: 100%;
  height: 200px; /* Ensure images are not small icons */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-card-title, .page-blog-promo-title, .page-blog-info-title, .page-blog-article-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-card-description, .page-blog-promo-text, .page-blog-info-text, .page-blog-article-summary {
  font-size: 16px;
  color: var(--text-dark);
  text-align: left;
}

/* Games Section */
.page-blog-game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-game-item {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog-game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-game-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-blog-game-text {
  font-size: 16px;
  color: var(--text-dark);
  text-align: left;
}

/* Registration Section */
.page-blog-steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-step-item {
  flex: 1;
  min-width: 280px;
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
}

.page-blog-step-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-step-item p {
  font-size: 16px;
  color: var(--text-dark);
}

.page-blog-cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-blog-cta-secondary, .page-blog-cta-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  transition: all 0.3s ease;
  margin: 0 10px;
}

.page-blog-cta-secondary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-blog-cta-secondary:hover {
  background-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-cta-tertiary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-cta-tertiary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Promotions Section */
.page-blog-promo-content {
  text-align: left;
}

/* FAQ Section */
.page-blog-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background-color: var(--bg-light);
}

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

.faq-answer p {
  font-size: 16px;
  color: var(--text-dark);
  margin: 0;
}

/* Latest Articles Section */
.page-blog-articles-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-blog-article-card {
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.page-blog-article-image {
  border-radius: 10px 10px 0 0;
  height: 200px;
}

.page-blog-article-content {
  padding: 20px;
}

.page-blog-article-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.page-blog-article-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-article-title a:hover {
  color: var(--secondary-color);
}

.page-blog-article-summary {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-blog-read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.page-blog-read-more:hover {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* Conclusion Section */
.page-blog-conclusion .page-blog-description {
  margin-bottom: 20px;
  text-align: left;
}

.page-blog-conclusion .page-blog-cta {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog-title {
    font-size: 36px;
  }
  .page-blog-section-title {
    font-size: 28px;
  }
  .page-blog-introduction .page-blog-content-wrapper {
    flex-direction: column;
  }
  .page-blog-introduction .page-blog-text-content, .page-blog-introduction .page-blog-image-content {
    min-width: unset;
    width: 100%;
  }
  .page-blog-grid, .page-blog-promo-grid, .page-blog-info-grid, .page-blog-articles-grid, .page-blog-game-list, .page-blog-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog-section {
    padding: 40px 0;
  }
  .page-blog-title {
    font-size: 30px;
  }
  .page-blog-subtitle {
    font-size: 18px;
  }
  .page-blog-section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-blog-description {
    font-size: 16px;
  }
  .page-blog-cta {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-blog-card-title, .page-blog-promo-title, .page-blog-info-title, .page-blog-article-title, .page-blog-game-title, .page-blog-step-title {
    font-size: 20px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .page-blog-cta-secondary, .page-blog-cta-tertiary {
    padding: 10px 20px;
    font-size: 15px;
    margin: 5px;
  }
}

@media (max-width: 480px) {
  .page-blog-container {
    padding: 0 15px;
  }
  .page-blog-title {
    font-size: 26px;
  }
  .page-blog-subtitle {
    font-size: 16px;
  }
  .page-blog-section-title {
    font-size: 22px;
  }
  .page-blog-grid, .page-blog-promo-grid, .page-blog-info-grid, .page-blog-articles-grid, .page-blog-game-list, .page-blog-steps {
    grid-template-columns: 1fr;
  }
  .page-blog-card, .page-blog-promo-item, .page-blog-info-item, .page-blog-article-card, .page-blog-game-item, .page-blog-step-item {
    padding: 20px;
  }
  .page-blog-card-image, .page-blog-promo-image, .page-blog-article-image, .page-blog-game-image {
    height: 180px;
  }
  .page-blog-cta-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog-cta-secondary, .page-blog-cta-tertiary {
    width: 100%;
    margin: 0;
  }
}