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

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

.page-arcade__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  min-height: 600px;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.5);
}

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-arcade__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

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

.page-arcade__btn-primary,
.page-arcade__btn-secondary,
.page-arcade__btn-play,
.page-arcade__btn-promo,
.page-arcade__btn-step {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.page-arcade__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000000; /* Dark text for contrast on bright button */
  border: none;
}

.page-arcade__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.8);
}

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

.page-arcade__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #0A0A0A; /* Background */
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.8);
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-arcade__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD36B; /* Glow */
  border-radius: 2px;
}

.page-arcade__text-block {
  font-size: 1.1em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade__introduction-section,
.page-arcade__categories-section,
.page-arcade__featured-games-section,
.page-arcade__getting-started-section,
.page-arcade__promotions-section,
.page-arcade__security-section,
.page-arcade__mobile-gaming-section,
.page-arcade__faq-section,
.page-arcade__cta-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

.page-arcade__categories-section {
  background-color: #111111; /* Card BG */
}

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

.page-arcade__category-card {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(242, 193, 78, 0.2);
}

.page-arcade__category-icon {
  width: 48px; /* Increased from 30px for better visibility, still small */
  height: 48px; /* Increased from 30px for better visibility, still small */
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5));
}

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

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

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

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

.page-arcade__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 211, 107, 0.3);
}

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

.page-arcade__game-title {
  font-size: 1.6em;
  color: #FFD36B; /* Glow */
  margin: 20px 15px 10px;
}

.page-arcade__game-description {
  color: #FFF6D6; /* Text Main */
  padding: 0 15px 20px;
  font-size: 0.95em;
}

.page-arcade__btn-play {
  display: block;
  margin: 0 15px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000000; /* Dark text for contrast on bright button */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__btn-play:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-arcade__getting-started-section {
  background-color: #0A0A0A; /* Background */
}

.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: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
}

.page-arcade__step-number {
  width: 50px;
  height: 50px;
  background-color: #F2C14E; /* Main color */
  color: #0A0A0A; /* Background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: -55px auto 20px;
  border: 3px solid #FFD36B; /* Glow */
}

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

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

.page-arcade__btn-step {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000000; /* Dark text for contrast on bright button */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-arcade__btn-step:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 8px rgba(255, 211, 107, 0.6);
}

.page-arcade__promotions-section {
  background-color: #111111; /* Card BG */
}

.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: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(242, 193, 78, 0.2);
}

.page-arcade__promo-image {
  width: 100%;
  height: 200px; /* Fixed height */
  object-fit: cover;
  display: block;
}

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

.page-arcade__promo-description {
  color: #FFF6D6; /* Text Main */
  padding: 0 15px 20px;
  font-size: 0.95em;
}

.page-arcade__btn-promo {
  display: inline-block;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000000; /* Dark text for contrast on bright button */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__btn-promo:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-arcade__security-section {
  background-color: #0A0A0A; /* Background */
}

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

.page-arcade__feature-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.page-arcade__feature-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
}

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

.page-arcade__mobile-gaming-section {
  background-color: #111111; /* Card BG */
}

.page-arcade__mobile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-arcade__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-arcade__mobile-text {
  text-align: center;
}

.page-arcade__mobile-title {
  font-size: 2em;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
}

.page-arcade__mobile-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-arcade__mobile-text li {
  color: #FFF6D6; /* Text Main */
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-arcade__mobile-text li::before {
  content: '✔';
  color: #F2C14E; /* Main color */
  position: absolute;
  left: 0;
}

.page-arcade__faq-section {
  background-color: #0A0A0A; /* Background */
}

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

.page-arcade__faq-item {
  background: #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;
  background-color: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__faq-question:hover {
  background-color: #1a1a1a;
}

.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 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF6D6; /* Text Main */
}

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

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

.page-arcade__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

/* Responsive styles */
@media (min-width: 769px) {
  .page-arcade__mobile-content {
    flex-direction: row;
    text-align: left;
    justify-content: center;
  }
  .page-arcade__mobile-text {
    text-align: left;
    max-width: 500px;
  }
  .page-arcade__mobile-image {
    flex-shrink: 0;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-content {
    padding: 60px 15px;
  }

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

  .page-arcade__hero-description {
    font-size: 1em;
  }

  .page-arcade__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-arcade__btn-primary,
  .page-arcade__btn-secondary,
  .page-arcade__btn-play,
  .page-arcade__btn-promo,
  .page-arcade__btn-step,
  .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__hero-buttons,
  .page-arcade__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 15px;
  }

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

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

  .page-arcade__introduction-section,
  .page-arcade__categories-section,
  .page-arcade__featured-games-section,
  .page-arcade__getting-started-section,
  .page-arcade__promotions-section,
  .page-arcade__security-section,
  .page-arcade__mobile-gaming-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    padding: 60px 0;
  }

  .page-arcade__game-image,
  .page-arcade__promo-image,
  .page-arcade__mobile-image,
  .page-arcade img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-arcade__category-icon {
    width: 40px;
    height: 40px;
  }

  .page-arcade__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-arcade__faq-answer {
    padding: 0 15px;
  }

  .page-arcade__faq-item.active .page-arcade__faq-answer {
    padding: 15px !important;
  }

  .page-arcade__mobile-text ul {
    text-align: left;
  }

  .page-arcade__mobile-text li {
    font-size: 1em;
  }

  /* Ensure all containers with images/buttons are responsive */
  .page-arcade__section,
  .page-arcade__card,
  .page-arcade__container,
  .page-arcade__category-card,
  .page-arcade__game-card,
  .page-arcade__promo-card,
  .page-arcade__step-card,
  .page-arcade__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-arcade__step-number {
    margin-top: -45px;
  }
}