.page-arcade-games {
  background-color: var(--bg-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-arcade-games__hero-section {
  padding-top: 10px; /* Small top padding for first section */
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--bg-color, #0A0A0A);
}

.page-arcade-games__hero-image {
  margin-bottom: 30px;
}

.page-arcade-games__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-arcade-games__main-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--text-main-color, #FFF6D6);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.page-arcade-games__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main-color, #FFF6D6);
}

.page-arcade-games__cta-button,
.page-arcade-games__secondary-button,
.page-arcade-games__step-button,
.page-arcade-games__category-link {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-arcade-games__cta-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #333333;
  font-size: 1.1rem;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-arcade-games__secondary-button,
.page-arcade-games__view-all-faq {
  background: transparent;
  border: 2px solid var(--border-color, #3A2A12);
  color: var(--primary-color, #F2C14E);
  font-size: 1rem;
  margin-top: 20px;
}

.page-arcade-games__secondary-button:hover,
.page-arcade-games__view-all-faq:hover {
  background-color: var(--primary-color, #F2C14E);
  color: #333333;
  border-color: var(--primary-color, #F2C14E);
}

.page-arcade-games__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--primary-color, #F2C14E);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.page-arcade-games__text-content {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
}

.page-arcade-games__text-content a {
  color: var(--primary-color, #F2C14E);
  text-decoration: underline;
}

.page-arcade-games__text-content a:hover {
  color: var(--secondary-color, #FFD36B);
}

.page-arcade-games__introduction-section,
.page-arcade-games__features-section,
.page-arcade-games__categories-section,
.page-arcade-games__getting-started-section,
.page-arcade-games__download-section,
.page-arcade-games__promotions-section,
.page-arcade-games__faq-section,
.page-arcade-games__call-to-action-section {
  padding: 40px 0;
  background-color: var(--bg-color, #0A0A0A);
}

.page-arcade-games__responsible-gaming-section {
  padding: 60px 0;
  background-color: var(--card-bg-color, #111111);
  border-top: 1px solid var(--border-color, #3A2A12);
  border-bottom: 1px solid var(--border-color, #3A2A12);
}

.page-arcade-games__card-bg {
  background-color: var(--card-bg-color, #111111);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #3A2A12);
}

/* Feature Grid */
.page-arcade-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade-games__feature-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade-games__feature-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color, #3A2A12);
}

.page-arcade-games__card-title {
  font-size: 1.3rem;
  color: var(--primary-color, #F2C14E);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade-games__card-text {
  font-size: 0.95rem;
  color: var(--text-main-color, #FFF6D6);
  line-height: 1.7;
}

/* Category List */
.page-arcade-games__category-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-arcade-games__category-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade-games__category-title {
  font-size: 1.25rem;
  color: var(--secondary-color, #FFD36B);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade-games__category-description {
  font-size: 0.9rem;
  color: var(--text-main-color, #FFF6D6);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-arcade-games__category-link {
  font-size: 0.9rem;
  background: var(--primary-color, #F2C14E);
  color: #333333;
  padding: 10px 20px;
  border-radius: 50px;
  margin-top: 15px;
  border: none;
}

.page-arcade-games__category-link:hover {
  background: var(--secondary-color, #FFD36B);
  transform: translateY(-2px);
}

/* Getting Started Steps */
.page-arcade-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade-games__step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade-games__step-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color, #3A2A12);
}

.page-arcade-games__step-title {
  font-size: 1.2rem;
  color: var(--primary-color, #F2C14E);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade-games__step-description {
  font-size: 0.95rem;
  color: var(--text-main-color, #FFF6D6);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-arcade-games__step-button {
  font-size: 0.95rem;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #333333;
  padding: 12px 25px;
  border-radius: 50px;
  margin-top: 15px;
  border: none;
}

.page-arcade-games__step-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.3);
}

/* Download Section */
.page-arcade-games__download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-arcade-games__download-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border-color, #3A2A12);
}

/* FAQ Section */
.page-arcade-games__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-arcade-games__faq-item {
  text-align: left;
}

.page-arcade-games__faq-question {
  font-size: 1.15rem;
  color: var(--secondary-color, #FFD36B);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-arcade-games__faq-answer {
  font-size: 0.95rem;
  color: var(--text-main-color, #FFF6D6);
  line-height: 1.7;
}

.page-arcade-games__view-all-faq {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
}

.page-arcade-games__call-to-action-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .page-arcade-games__download-content {
    flex-direction: row;
    text-align: left;
  }
  .page-arcade-games__download-text,
  .page-arcade-games__download-image {
    flex: 1;
  }
  .page-arcade-games__download-image {
    text-align: right;
  }
  .page-arcade-games__download-text .page-arcade-games__cta-button {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .page-arcade-games__hero-image img,
  .page-arcade-games__feature-card img,
  .page-arcade-games__step-card img,
  .page-arcade-games__download-image img,
  .page-arcade-games__container img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Ensure images don't overflow on mobile */
  }
  .page-arcade-games__feature-grid,
  .page-arcade-games__category-list,
  .page-arcade-games__steps-grid,
  .page-arcade-games__faq-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade-games__hero-section,
  .page-arcade-games__introduction-section,
  .page-arcade-games__features-section,
  .page-arcade-games__categories-section,
  .page-arcade-games__getting-started-section,
  .page-arcade-games__download-section,
  .page-arcade-games__promotions-section,
  .page-arcade-games__responsible-gaming-section,
  .page-arcade-games__faq-section,
  .page-arcade-games__call-to-action-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-arcade-games__hero-content .page-arcade-games__cta-button {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-arcade-games__section-title {
    padding-top: 40px;
    margin-bottom: 30px;
  }
  .page-arcade-games__download-content {
    flex-direction: column;
  }
  .page-arcade-games__download-image {
    order: -1; /* Image above text on mobile */
  }
  .page-arcade-games__download-text .page-arcade-games__cta-button {
    margin-left: auto;
    margin-right: auto;
  }
  .page-arcade-games__text-content {
    max-width: 100%;
  }
}

/* Ensure all content area images are at least 200px and responsive on mobile */
.page-arcade-games img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* default to cover, can be overridden by specific elements */
}

@media (max-width: 768px) {
  .page-arcade-games img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade-games__download-content {
    overflow-x: hidden; /* Prevent horizontal overflow */
  }
}

/* Color variables for consistency */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg-color: #111111;
  --bg-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --glow-color: #FFD36B;
}