/* style/arcade.css */

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

/* Container for main content areas */
.page-arcade__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section Titles */
.page-arcade__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

/* Text Blocks */
.page-arcade__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6; /* Text Main */
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding-bottom: 60px; /* Padding for content below image */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  box-sizing: border-box;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and text */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
  color: #FFF6D6;
}

.page-arcade__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

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

/* Text links within content for better contrast */
.page-arcade__text-link {
  color: #FFD36B; /* Glow color for links */
  text-decoration: underline;
}

.page-arcade__text-link:hover {
  color: #F2C14E; /* Main color on hover */
}

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

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

.page-arcade__btn-primary:hover,
.page-arcade__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-arcade__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111; /* Card BG */
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* Section backgrounds and text colors for contrast */
.page-arcade__light-bg {
  background: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-arcade__dark-bg {
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

/* Feature Section */
.page-arcade__features-section {
  padding: 60px 0;
}

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

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

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

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

.page-arcade__feature-icon {
  width: 200px; /* Min size 200x200 */
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

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

/* Categories Section */
.page-arcade__categories-section {
  padding: 60px 0;
}

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

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

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

.page-arcade__category-image {
  width: 100%;
  height: auto;
  max-width: 300px; /* Example display width */
  max-height: 200px; /* Example display height */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

/* How-To-Play Section */
.page-arcade__how-to-play-section {
  padding: 60px 0;
}

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

.page-arcade__step-card {
  background: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-arcade__step-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Example display width */
  max-height: 300px; /* Example display height */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__step-description {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
}

/* Why Choose Section */
.page-arcade__why-choose-section {
  padding: 60px 0;
}

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

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

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

.page-arcade__benefit-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-arcade__benefit-icon {
  width: 200px; /* Min size 200x200 */
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-arcade__benefit-description {
  color: #FFF6D6; /* Text Main */
}

/* News Section */
.page-arcade__news-section {
  padding: 60px 0;
  text-align: center;
}

/* FAQ Section */
.page-arcade__faq-section {
  padding: 60px 0;
}

.page-arcade__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.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 25px;
  cursor: pointer;
  background: #0A0A0A; /* Background */
  color: #F2C14E; /* Main color */
  font-size: 1.2em;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-arcade__faq-question:hover {
  background: rgba(242, 193, 78, 0.1); /* Subtle hover effect */
}

.page-arcade__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Adjust to fit parent font-size */
}

.page-arcade__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Glow */
}

.page-arcade__faq-item.active .page-arcade__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross/minus */
}

.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; /* Sufficiently large value to show all content */
  padding: 15px 25px 25px;
}

.page-arcade__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
}

/* Partners Section */
.page-arcade__partners-section {
  padding: 60px 0;
}

.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;
}