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

.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-arcade__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.page-arcade__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow color for emphasis */
  line-height: 1.2;
}

.page-arcade__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-arcade__section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.page-arcade__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD36B;
}

.page-arcade__section-description {
  font-size: 1.1rem;
  color: #FFF6D6;
}

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

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

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

.page-arcade__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-arcade__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-2px);
}

.page-arcade__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 80px;
  box-sizing: border-box;
  text-align: center;
}

.page-arcade__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #111111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 211, 107, 0.3);
}

.page-arcade__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-arcade__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2); /* Subtle overlay for click indication */
  transition: background 0.3s ease;
}

.page-arcade__video-overlay-link:hover {
  background: rgba(0, 0, 0, 0.4);
}

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

.page-arcade__benefits-grid,
.page-arcade__categories-grid,
.page-arcade__games-grid,
.page-arcade__promo-content,
.page-arcade__partners-grid {
  display: grid;
  gap: 30px;
}

.page-arcade__benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-arcade__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-arcade__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-arcade__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size for content images */
}

.page-arcade__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-arcade__card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6;
  flex-grow: 1;
}

.page-arcade__categories-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.page-arcade__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-decoration: none;
  color: #FFF6D6;
  font-weight: bold;
  font-size: 1.1rem;
}

.page-arcade__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  object-fit: contain;
}

.page-arcade__category-name {
  color: #FFF6D6;
}

.page-arcade__games-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-arcade__game-card {
  padding-bottom: 20px;
}

.page-arcade__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-top: 20px;
}

.page-arcade__promo-content {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-arcade__mobile-app-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-arcade__app-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-arcade__app-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-arcade__app-features {
  max-width: 500px;
  text-align: left;
  color: #FFF6D6;
}

.page-arcade__app-features h3 {
  color: #FFD36B;
  margin-bottom: 20px;
}

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

.page-arcade__app-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-arcade__app-features li::before {
  content: '✔';
  color: #FFD36B;
  position: absolute;
  left: 0;
  top: 0;
}

.page-arcade__security-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-arcade__security-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-arcade__security-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-arcade__security-features {
  max-width: 500px;
  text-align: left;
  color: #FFF6D6;
}

.page-arcade__security-features h3 {
  color: #FFD36B;
  margin-bottom: 20px;
}

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

.page-arcade__security-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-arcade__security-features li::before {
  content: '🛡️';
  color: #FFD36B;
  position: absolute;
  left: 0;
  top: 0;
}

.page-arcade__partners-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  justify-items: center;
}

.page-arcade__partner-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 127px; /* Fixed height for partner logos */
  width: 167px; /* Fixed width for partner logos */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: 167px; /* Explicit width for partner logos */
  height: 127px; /* Explicit height for partner logos */
}

.page-arcade__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-arcade__faq-item {
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.page-arcade__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #1a1a1a;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

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

.page-arcade__faq-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFF6D6;
  margin: 0;
  flex-grow: 1;
}

.page-arcade__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFD36B;
  margin-left: 20px;
  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;
  background-color: #111111;
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
}

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

.page-arcade__faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-arcade__hero-content {
    padding: 0 30px;
  }
  .page-arcade__app-content,
  .page-arcade__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-arcade__app-features,
  .page-arcade__security-features {
    text-align: center;
  }
  .page-arcade__app-features li,
  .page-arcade__security-features li {
    padding-left: 0;
    list-style-position: inside;
  }
  .page-arcade__app-features li::before,
  .page-arcade__security-features li::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    padding: 10px 15px 40px;
  }

  .page-arcade__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-arcade__description {
    font-size: 1rem;
  }

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

  .page-arcade__btn-primary,
  .page-arcade__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-arcade__video-section {
    padding: 10px 15px 60px;
  }

  .page-arcade__content-area {
    padding: 40px 15px;
  }

  .page-arcade__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-arcade__section-description {
    font-size: 0.95rem;
  }

  .page-arcade__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__card {
    padding: 20px;
  }

  .page-arcade__card-title {
    font-size: 1.3rem;
  }

  .page-arcade__card p {
    font-size: 0.95rem;
  }

  .page-arcade__categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .page-arcade__games-grid {
    grid-template-columns: 1fr;
  }

  .page-arcade__promo-content {
    grid-template-columns: 1fr;
  }

  .page-arcade__app-image,
  .page-arcade__security-image {
    min-width: unset;
    min-height: unset;
  }

  .page-arcade__partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-arcade__faq-question {
    padding: 15px 20px;
  }

  .page-arcade__faq-title {
    font-size: 1.1rem;
  }

  .page-arcade__faq-toggle {
    font-size: 1.5rem;
  }

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

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

  /* Mobile responsive image styles */
  .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__hero-section,
  .page-arcade__video-section,
  .page-arcade__why-choose-section,
  .page-arcade__game-categories-section,
  .page-arcade__featured-games-section,
  .page-arcade__promo-section,
  .page-arcade__mobile-app-section,
  .page-arcade__security-section,
  .page-arcade__partners-section,
  .page-arcade__faq-section,
  .page-arcade__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Video container specific for mobile */
  .page-arcade__video-container {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
}

/* Ensure no image filter */
.page-arcade img {
  filter: none;
}

/* Content area images CSS size lower limit */
.page-arcade__card-image,
.page-arcade__app-image,
.page-arcade__security-image {
  min-width: 200px;
  min-height: 200px;
}

/* Partner logos are exceptions */
.page-arcade__partner-logo {
  min-width: unset;
  min-height: unset;
}

/* Category icons are exceptions */
.page-arcade__category-icon {
  min-width: unset;
  min-height: unset;
}