/* style/arcade.css */

/* Base Styles for the Arcade Page */
.page-arcade {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for the main content, body handles fixed header offset */
}

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

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

.page-arcade__dark-section {
  background-color: #111111; /* Card B G */
  color: #FFF6D6;
}

.page-arcade__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Main Color */
}

.page-arcade__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-arcade__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD36B; /* Auxiliary Color */
}

/* Buttons */
.page-arcade__btn-primary,
.page-arcade__btn-secondary,
.page-arcade__btn-play-now {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

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

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

.page-arcade__btn-secondary:hover {
  background-color: #F2C14E;
  color: #111111; /* Dark text for main color background */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade__btn-play-now {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
  margin-top: 15px;
}

.page-arcade__btn-play-now:hover {
  background: linear-gradient(180deg, #FFE89A 0%, #ECA620 100%);
  transform: translateY(-1px);
}

.page-arcade__btn-wide {
  max-width: 400px;
  width: 100%;
  margin-top: 30px;
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0; /* No vertical padding here, image has its own height */
  display: flex;
  flex-direction: column; /* Image block above text block */
  align-items: center;
  justify-content: center;
  min-height: 700px; /* Minimum height for hero section */
  background-color: #0A0A0A; /* Fallback background */
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure image is not too small */
}

.page-arcade__hero-content {
  position: relative; /* Relative to hero section, not absolute over image */
  z-index: 2;
  text-align: center;
  padding: 40px 15px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over the bottom of the image for visual flow */
  background-color: #111111; /* Card B G */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-arcade__hero-title {
  font-size: 3.2em; /* Using clamp in general H1, but this specific one is okay for hero */
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E;
  line-height: 1.2;
}

.page-arcade__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Image Text Block */
.page-arcade__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 50px;
}

.page-arcade__image-text-block:nth-child(even) {
  flex-direction: row-reverse;
}

.page-arcade__image-block {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  width: 100%; /* Ensure img takes full width of its flex item */
  height: auto; /* Maintain aspect ratio */
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
  object-fit: cover;
}

.page-arcade__text-content {
  flex: 1;
  max-width: 50%;
  padding: 20px;
}

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

.page-arcade__game-card {
  background-color: #111111; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
  padding-bottom: 25px;
  border: 1px solid #3A2A12; /* Border */
}

.page-arcade__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-arcade__game-card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E;
  padding: 0 15px;
}

.page-arcade__game-card-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

.page-arcade__feature-item {
  background-color: #111111; /* Card B G */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border */
}

.page-arcade__feature-icon {
  width: 30px; /* Allowed small icon size */
  height: 30px; /* Allowed small icon size */
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.7)); /* Glow */
}

.page-arcade__feature-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD36B; /* Auxiliary Color */
}

.page-arcade__feature-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

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

.page-arcade__step-item {
  background-color: #0A0A0A; /* Background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12; /* Border */
  position: relative;
  text-align: left;
}

.page-arcade__step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.5);
}

.page-arcade__step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #F2C14E;
}

.page-arcade__step-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Game Categories Section */
.page-arcade__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-arcade__category-item {
  background-color: #111111; /* Card B G */
  padding: 25px 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-arcade__category-icon {
  width: 30px; /* Allowed small icon size */
  height: 30px; /* Allowed small icon size */
  margin-bottom: 15px;
  filter: drop-shadow(0 0 4px rgba(255, 211, 107, 0.6)); /* Glow */
}

.page-arcade__category-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD36B;
}

.page-arcade__category-text {
  font-size: 0.9em;
  color: #FFF6D6;
}

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

.page-arcade__bonus-card {
  background-color: #0A0A0A; /* Background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
  padding-bottom: 25px;
  border: 1px solid #3A2A12; /* Border */
}

.page-arcade__bonus-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-arcade__bonus-card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E;
  padding: 0 15px;
}

.page-arcade__bonus-card-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Payment Methods Section */
.page-arcade__payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__payment-item {
  background-color: #111111; /* Card B G */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-arcade__payment-logo {
  width: 100px; /* Fixed width for payment logos */
  height: 60px; /* Fixed height for payment logos */
  object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 3px rgba(255, 211, 107, 0.5)); /* Glow */
}

.page-arcade__payment-name {
  font-size: 1.1em;
  font-weight: bold;
  color: #FFF6D6;
}

.page-arcade__payment-info {
  margin-top: 30px;
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsible Gaming Section */
.page-arcade__responsible-text {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-top: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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 B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-arcade__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #111111; /* Card B G */
  color: #F2C14E;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-arcade__faq-title {
  margin: 0;
  color: inherit;
  font-size: 1.1em; /* Ensure title font size is appropriate */
}

.page-arcade__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  color: #FFD36B;
}