/* style/arcade.css */
/* Base styles for the page-arcade scope */
.page-arcade {
  background-color: #0A0A0A; /* Background color from custom palette */
  color: #FFF6D6; /* Main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding at the bottom */
}

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

.page-arcade__section {
  padding: 60px 0;
  text-align: center;
}

.page-arcade__section-title {
  font-size: 2.8em;
  color: #F2C14E; /* Primary color for titles */
  margin-bottom: 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-arcade__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  min-height: 600px; /* Ensure hero section has a decent height */
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  /* Ensure image is not covered by text */
  position: relative;
  z-index: 1;
}

.page-arcade__hero-content {
  position: relative; /* Not absolute, to ensure it's below the image */
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the bottom of the image for visual flow */
  background: linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.8) 50%, rgba(10, 10, 10, 0) 100%); /* Fading background for text readability */
}

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

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

.page-arcade__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* 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.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box; /* Crucial for responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-arcade__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

.page-arcade__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary color for secondary button text */
  border: 2px solid #F2C14E; /* Border color */
}

.page-arcade__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
  border-color: #FFD36B;
  transform: translateY(-2px);
}

/* Game Categories Section */
.page-arcade__game-categories {
  background-color: #111111; /* Card BG for this section background */
}

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

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

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

.page-arcade__category-icon {
  width: 30px; /* Specific exception for category icons */
  height: 30px; /* Specific exception for category icons */
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

/* Top Games Section */
.page-arcade__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-arcade__game-thumbnail {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-arcade__game-title {
  font-size: 1.6em;
  color: #FFD36B; /* Glow color for game titles */
  margin-bottom: 10px;
}

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

/* Why Play Section */
.page-arcade__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-arcade__feature-title {
  font-size: 1.4em;
  color: #F2C14E; /* Primary color for feature titles */
  margin-bottom: 15px;
}

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

/* How to Start Section */
.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 color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

/* Responsible Gaming Section */
.page-arcade__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-arcade__responsible-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #FFF6D6; /* Main text color */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-arcade__responsible-item strong {
  color: #F2C14E; /* Primary color for strong text */
}

.page-arcade__text-link {
  color: #F2C14E; /* Primary color for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-arcade__text-link:hover {
  color: #FFD36B; /* Glow color on hover */
}

/* FAQ Section */
.page-arcade__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-arcade__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden; /* For smooth max-height transition */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  transition: background-color 0.3s ease;
}}