/* style/arcade.css */
.page-arcade {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-arcade__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0; /* Remove padding as content is nested inside container */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-arcade__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box; /* Include padding in element's total width and height */
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for better text readability */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background for text */
  border-radius: 15px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-arcade__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-arcade__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-arcade__hero-button--primary {
  background-color: #FFD700;
  color: #8B0000;
}

.page-arcade__hero-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-arcade__hero-button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-arcade__hero-button--secondary:hover {
  background-color: #a01010;
  transform: translateY(-2px);
}

.page-arcade__about-section {
  padding: 80px 20px;
  background-color: #222; /* Slightly lighter dark background */
}

.page-arcade__about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-arcade__about-content {
  flex: 1;
  min-width: 300px;
}

.page-arcade__about-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 25px;
}

.page-arcade__about-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-arcade__about-image {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-arcade__about-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #8B0000;
  color: #FFD700;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-arcade__about-button:hover {
  background-color: #a01010;
}

.page-arcade__game-types-section {
  padding: 80px 20px;
  background-color: #1a1a1a;
}

.page-arcade__game-types-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-arcade__game-types-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-arcade__game-types-description {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 50px;
}

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

.page-arcade__game-type-card {
  background-color: #333;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

.page-arcade__game-type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-arcade__game-type-name {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-arcade__game-type-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-arcade__game-type-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #8B0000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__game-type-button:hover {
  background-color: #e6c200;
}

.page-arcade__why-choose-section {
  padding: 80px 20px;
  background-color: #222;
}

.page-arcade__why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-arcade__why-choose-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 50px;
}

.page-arcade__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-arcade__why-choose-item {
  background-color: #333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-arcade__why-choose-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-arcade__why-choose-heading {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-arcade__why-choose-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-arcade__why-choose-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-arcade__why-choose-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-arcade__why-choose-button {
  background-color: #FFD700;
  color: #8B0000;
}

.page-arcade__why-choose-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-arcade__why-choose-button--alt {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-arcade__why-choose-button--alt:hover {
  background-color: #a01010;
  transform: translateY(-2px);
}

.page-arcade__testimonials-section {
  padding: 80px 20px;
  background-color: #1a1a1a;
}

.page-arcade__testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-arcade__testimonials-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 50px;
}

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

.page-arcade__testimonial-card {
  background-color: #333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.page-arcade__testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #FFD700;
}

.page-arcade__testimonial-text {
  font-style: italic;
  color: #f0f0f0;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-arcade__testimonial-author {
  font-weight: bold;
  color: #FFD700;
}

.page-arcade__guide-section {
  padding: 80px 20px;
  background-color: #222;
}

.page-arcade__guide-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-arcade__guide-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 50px;
}

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

.page-arcade__guide-step {
  background-color: #333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  position: relative;
  padding-top: 60px; /* Space for number */
}

.page-arcade__guide-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700;
  color: #8B0000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  border: 3px solid #8B0000;
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-arcade__guide-heading {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-arcade__guide-text {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 25px;
}

.page-arcade__guide-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #8B0000;
  color: #FFD700;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-arcade__guide-button:hover {
  background-color: #a01010;
}

.page-arcade__faq-section {
  padding: 80px 20px;
  background-color: #1a1a1a;
}

.page-arcade__faq-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-arcade__faq-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 50px;
}

.page-arcade__faq-items {
  text-align: left;
}

.page-arcade__faq-item {
  background-color: #333;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-arcade__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-arcade__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-arcade__faq-question.active::after {
  content: '-';
}

.page-arcade__faq-answer {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
  display: none;
  padding-top: 10px;
}

.page-arcade__faq-answer.active {
  display: block;
}

.page-arcade__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-arcade__faq-answer a:hover {
  color: #e6c200;
}

.page-arcade__cta-section {
  padding: 80px 20px;
  background-color: #8B0000; /* Use secondary color for strong CTA */
  text-align: center;
}

.page-arcade__cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-arcade__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-arcade__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-arcade__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 0 10px;
}

.page-arcade__cta-button--primary {
  background-color: #FFD700;
  color: #8B0000;
}

.page-arcade__cta-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-arcade__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 3px solid #FFD700;
}

.page-arcade__cta-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-arcade__copyright {
  text-align: center;
  padding: 30px 20px;
  background-color: #0d0d0d;
  color: #cccccc;
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__about-title,
  .page-arcade__game-types-title,
  .page-arcade__why-choose-title,
  .page-arcade__testimonials-title,
  .page-arcade__guide-title,
  .page-arcade__faq-title,
  .page-arcade__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-section {
    min-height: 500px;
  }
  .page-arcade__hero-content {
    padding: 30px;
  }
  .page-arcade__hero-title {
    font-size: 2.2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__hero-button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-arcade__about-container {
    flex-direction: column;
  }
  .page-arcade__about-image {
    min-width: unset;
    width: 100%;
  }
  .page-arcade__about-title,
  .page-arcade__game-types-title,
  .page-arcade__why-choose-title,
  .page-arcade__testimonials-title,
  .page-arcade__guide-title,
  .page-arcade__faq-title,
  .page-arcade__cta-title {
    font-size: 1.8em;
  }
  .page-arcade__game-types-grid,
  .page-arcade__why-choose-grid,
  .page-arcade__testimonials-grid,
  .page-arcade__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-arcade__why-choose-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__why-choose-button {
    width: 100%;
  }
  .page-arcade__cta-title {
    font-size: 2em;
  }
  .page-arcade__cta-button {
    font-size: 1.1em;
    padding: 15px 25px;
    margin: 10px 0;
  }
  .page-arcade__cta-button--primary,
  .page-arcade__cta-button--secondary {
    width: 100%;
  }

  /* Ensure content images do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__hero-image {
    filter: brightness(0.4); /* Darken more for mobile readability */
  }
}