.page-arcade {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-arcade__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, rgba(242, 193, 78, 0.2), rgba(255, 211, 107, 0.2)); /* Subtle gradient for hero background */
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-arcade__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly for visual flow */
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
  border: 1px solid #3A2A12;
}

.page-arcade__main-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.6);
}

.page-arcade__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-arcade__btn-primary,
.page-arcade__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-arcade__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111;
  border: 2px solid transparent;
}

.page-arcade__btn-primary:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E6B32A 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Glow */
  border: 2px solid #F2C14E; /* Main Color */
}

.page-arcade__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade__about-section,
.page-arcade__features-section,
.page-arcade__games-section,
.page-arcade__how-to-play-section,
.page-arcade__promo-section,
.page-arcade__security-section,
.page-arcade__mobile-app-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 80px 0;
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-arcade__about-section:last-of-type, /* Remove border for the last section before CTA */
.page-arcade__cta-section:last-of-type {
  border-bottom: none;
}

.page-arcade__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD36B; /* Glow */
  text-shadow: 0 0 6px rgba(255, 211, 107, 0.4);
}

.page-arcade__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-arcade__text-block a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-arcade__text-block a:hover {
  color: #FFD36B;
}

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

.page-arcade__feature-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-arcade__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade__feature-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-arcade__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Main Color */
}

.page-arcade__feature-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-arcade__game-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.page-arcade__category-item {
  text-align: center;
  max-width: 200px;
  padding: 20px;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.page-arcade__category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade__category-icon {
  width: 30px; /* Specific size for category icons */
  height: 30px; /* Specific size for category icons */
  margin-bottom: 10px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Added for visibility */
}

.page-arcade__category-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-arcade__category-description {
  font-size: 0.9em;
  color: #FFF6D6;
}

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

.page-arcade__game-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  text-align: center;
}

.page-arcade__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-arcade__game-thumbnail {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-arcade__game-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 15px 10px 5px;
}

.page-arcade__game-title a {
  color: #F2C14E;
  text-decoration: none;
}

.page-arcade__game-title a:hover {
  color: #FFD36B;
}

.page-arcade__game-provider {
  font-size: 0.9em;
  color: #FFF6D6;
  margin-bottom: 15px;
}

.page-arcade__btn-play {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  box-sizing: border-box;
}

.page-arcade__btn-play:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E6B32A 100%);
}

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

.page-arcade__step-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-arcade__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E; /* Main Color */
}

.page-arcade__step-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-arcade__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__promo-image {
  width: 100%;
  height: auto;
  max-height: 337px;
  object-fit: cover;
  display: block;
}

.page-arcade__promo-content {
  padding: 30px;
  text-align: center;
}

.page-arcade__promo-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-arcade__promo-text {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 25px;
}

.page-arcade__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-arcade__security-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #3A2A12;
}

.page-arcade__security-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 500px;
  text-align: left;
}

.page-arcade__security-list-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1em;
  color: #FFF6D6;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.page-arcade__security-list-item::before {
  content: '✔';
  color: #FFD36B;
  font-weight: bold;
  margin-right: 5px;
}

.page-arcade__mobile-app-section {
  background: linear-gradient(135deg, rgba(242, 193, 78, 0.1), rgba(255, 211, 107, 0.1));
}

.page-arcade__app-content {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-arcade__app-info {
  max-width: 500px;
  text-align: left;
}

.page-arcade__app-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-arcade__app-feature-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 10px;
  font-size: 1em;
  color: #FFF6D6;
}

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

.page-arcade__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid #3A2A12;
}

.page-arcade__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-arcade__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  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;
  font-size: 1.1em;
  color: #F2C14E;
}

.page-arcade__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD36B;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-arcade__faq-item.active .page-arcade__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-arcade__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.5;
}

.page-arcade__cta-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, rgba(255, 211, 107, 0.1), rgba(242, 193, 78, 0.1));
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-arcade__main-title {
    font-size: 2.5em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-arcade {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
  }

  .page-arcade__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
  }

  .page-arcade__main-title {
    font-size: 2em;
  }

  .page-arcade__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-arcade__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-arcade__btn-primary,
  .page-arcade__btn-secondary,
  .page-arcade a[class*="button"],
  .page-arcade a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-arcade__about-section,
  .page-arcade__features-section,
  .page-arcade__games-section,
  .page-arcade__how-to-play-section,
  .page-arcade__promo-section,
  .page-arcade__security-section,
  .page-arcade__mobile-app-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    padding: 50px 0;
  }

  .page-arcade__container {
    padding: 0 15px;
  }

  .page-arcade__feature-card,
  .page-arcade__step-card,
  .page-arcade__game-card,
  .page-arcade__promo-card,
  .page-arcade__security-content,
  .page-arcade__app-content {
    padding: 20px;
  }

  .page-arcade__promo-card {
    flex-direction: column;
  }

  .page-arcade__promo-image {
    max-height: 200px;
  }

  .page-arcade__promo-title {
    font-size: 1.5em;
  }

  .page-arcade__security-list,
  .page-arcade__app-info {
    max-width: 100%;
    text-align: center;
  }

  .page-arcade__security-list-item,
  .page-arcade__app-feature-item {
    text-align: left;
  }

  /* Mobile image responsiveness */
  .page-arcade img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-arcade__section,
  .page-arcade__card,
  .page-arcade__container,
  .page-arcade__cta-buttons,
  .page-arcade__button-group,
  .page-arcade__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-arcade__game-categories {
    flex-direction: column;
    gap: 20px;
  }

  .page-arcade__category-item {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-arcade__main-title {
    font-size: 1.8em;
  }
  .page-arcade__section-title {
    font-size: 1.6em;
  }
  .page-arcade__btn-primary,
  .page-arcade__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-arcade__hero-content {
    margin-top: -20px;
  }
}