.page-arcade {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-arcade__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-arcade__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-arcade__hero-section {
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  padding-top: 10px; /* Small top padding for first section, body handles --header-offset */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-arcade__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-content {
  max-width: 800px;
}

.page-arcade__hero-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  color: #111111; /* Dark text for light gradient background */
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.page-arcade__hero-description {
  font-size: 1.1em;
  color: #333333; /* Dark text for light gradient background */
  margin-bottom: 30px;
}

.page-arcade__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-arcade__heading {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2C14E; /* Main color for headings */
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.page-arcade__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6; /* Text Main */
}

.page-arcade__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-arcade__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-arcade__btn--secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade__btn--secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-arcade__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__category-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.3);
}

.page-arcade__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #FFD36B);
}

.page-arcade__category-title {
  font-size: 1.4em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
}

.page-arcade__category-description {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-arcade__category-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.page-arcade__category-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #F2C14E;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.page-arcade__category-link:hover::after {
  transform: scaleX(1);
}

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

.page-arcade__promo-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-arcade__promo-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
}

.page-arcade__promo-description {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-arcade__mobile-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__feature-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-arcade__feature-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
}

.page-arcade__feature-description {
  font-size: 1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-arcade__step-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-top: 60px;
}

.page-arcade__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.5);
}

.page-arcade__step-title {
  font-size: 1.4em;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
}

.page-arcade__step-description {
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
}

.page-arcade__get-started-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-arcade__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  text-align: left;
}

.page-arcade__advantage-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  padding: 20px;
  font-size: 1.05em;
  color: #FFF6D6; /* Text Main */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__advantage-item strong {
  color: #F2C14E;
}

.page-arcade__faq-list {
  margin-top: 40px;
}

.page-arcade__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: #FFD36B; /* Glow color */
  font-size: 1.15em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-arcade__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-arcade__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.page-arcade__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-arcade__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-arcade__faq-item.active .page-arcade__faq-answer {
  max-height: 1000px !important; /* Important for JS functionality */
  padding: 15px 25px;
}

.page-arcade__faq-answer p {
  margin: 0;
  text-align: left;
}

.page-arcade__partner-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-arcade__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.3s ease;
}

.page-arcade__partner-logo:hover {
  filter: grayscale(0%) brightness(1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-arcade__hero-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-arcade__heading {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__section {
    padding: 30px 0;
  }
  .page-arcade__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
    padding-bottom: 40px;
  }
  .page-arcade__hero-content {
    padding: 0 15px;
  }
  .page-arcade__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-arcade__heading {
    font-size: 1.8em;
  }
  .page-arcade__paragraph {
    font-size: 0.95em;
    padding: 0 15px;
  }
  .page-arcade__container {
    padding: 0 15px;
  }

  /* Mobile image responsiveness */
  .page-arcade img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-arcade__section,
  .page-arcade__card,
  .page-arcade__container,
  .page-arcade__game-categories,
  .page-arcade__promo-grid,
  .page-arcade__mobile-features,
  .page-arcade__steps,
  .page-arcade__get-started-buttons,
  .page-arcade__advantages-list,
  .page-arcade__faq-list,
  .page-arcade__partner-logos {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-arcade__category-card,
  .page-arcade__promo-card,
  .page-arcade__feature-item,
  .page-arcade__step-item,
  .page-arcade__advantage-item,
  .page-arcade__faq-item {
    padding: 20px;
  }
  .page-arcade__faq-question,
  .page-arcade__faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-buttons {
    flex-direction: column;
  }
  .page-arcade__get-started-buttons {
    flex-direction: column;
  }
}