/* style/arcade.css */

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

.page-arcade {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Main text color for dark body background */
  background-color: var(--background-color); /* Fallback, but body handles this */
}

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

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  min-height: 600px;
}

.page-arcade__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 700px; /* Adjust based on typical hero image height */
  overflow: hidden;
  z-index: 0;
  margin-bottom: 40px; /* Space between image and content */
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure minimum height for hero image */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

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

.page-arcade__hero-description {
  font-size: 1.2rem;
  color: var(--text-main-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

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

/* General Section Styling */
.page-arcade__section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.page-arcade__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-arcade__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-arcade__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Buttons */
.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;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-arcade__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for gradient button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-arcade__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-arcade__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.2);
}

.page-arcade__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 211, 107, 0.3);
}

/* Content Layouts */
.page-arcade__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-arcade__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-arcade__text-content {
  flex: 1;
}

.page-arcade__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-arcade__pagcor-image,
.page-arcade__bonus-image,
.page-arcade__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Category Grid */
.page-arcade__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted for 167x127px images */
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-arcade__category-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
}

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

.page-arcade__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  display: inline-block; /* To allow vertical centering if needed */
  vertical-align: middle;
}

.page-arcade__card-title {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-arcade__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main-color);
  margin-bottom: 20px;
}

.page-arcade__card-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-arcade__card-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Steps List */
.page-arcade__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-arcade__step-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-main-color);
}

.page-arcade__step-item strong {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

/* Partner Grid */
.page-arcade__partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for 167x127px images */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-arcade__partner-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  max-width: 167px; /* Max width for partner logos */
  max-height: 127px; /* Max height for partner logos */
}

.page-arcade__partner-item:hover {
  transform: translateY(-3px);
}

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

/* FAQ Section */
.page-arcade__faq-list {
  margin-top: 40px;
}

.page-arcade__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-arcade__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
  transition: background-color 0.3s ease;
}

.page-arcade__faq-question:hover {
  background-color: rgba(255, 211, 107, 0.05);
}

.page-arcade__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--secondary-color);
  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: var(--text-main-color);
}