/* style/arcade.css */

/* Base styles for the arcade page */
.page-arcade {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-arcade__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep Red for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-arcade__section-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  background-color: #f0f0f0;
  overflow: hidden;
  padding: 0;
}

.page-arcade__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-arcade__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  width: 90%;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
}

.page-arcade__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-arcade__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

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

/* Buttons */
.page-arcade__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-arcade__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
}

.page-arcade__btn--primary:hover {
  background-color: #e6c200;
}

.page-arcade__btn--secondary {
  background-color: #8B0000; /* Deep Red */
  color: #FFD700; /* Gold */
}

.page-arcade__btn--secondary:hover {
  background-color: #6b0000;
}

.page-arcade__btn--tertiary {
  background-color: #555;
  color: #ffffff;
}

.page-arcade__btn--tertiary:hover {
  background-color: #333;
}

.page-arcade__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Introduction Section */
.page-arcade__introduction-section,
.page-arcade__games-showcase,
.page-arcade__why-choose-us,
.page-arcade__get-started,
.page-arcade__promotions-section,
.page-arcade__responsible-gaming,
.page-arcade__testimonials,
.page-arcade__cta-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-arcade__introduction-section {
  background-color: #f9f9f9;
}

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

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

.page-arcade__feature-icon {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-arcade__feature-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-arcade__feature-description {
  font-size: 1em;
  color: #555;
}

/* Games Showcase */
.page-arcade__game-category {
  margin-bottom: 60px;
}

.page-arcade__category-title {
  font-size: 2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  background-color: #8B0000;
  padding: 15px 20px;
  border-radius: 8px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-arcade__game-card {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-arcade__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-arcade__game-name {
  font-size: 1.8em;
  color: #8B0000;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-arcade__game-description {
  font-size: 0.95em;
  color: #666;
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-arcade__game-card .page-arcade__btn {
  margin: 0 15px 20px;
}

/* Why Choose Us Section */
.page-arcade__why-choose-us {
  background-color: #f0f0f0;
}

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

.page-arcade__benefit-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-arcade__benefit-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-arcade__benefit-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-arcade__benefit-description {
  font-size: 1em;
  color: #555;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Get Started Section */
.page-arcade__get-started {
  background-color: #ffffff;
}

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

.page-arcade__step-card {
  background-color: #fefefe;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  padding-top: 70px; /* Space for step number */
}

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

.page-arcade__step-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 10px;
}

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

/* Promotions Section */
.page-arcade__promotions-section {
  background-color: #f9f9f9;
}

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

.page-arcade__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-arcade__promo-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom: 3px solid #8B0000;
}

.page-arcade__promo-title {
  font-size: 1.8em;
  color: #FFD700;
  background-color: #8B0000;
  padding: 15px 10px;
  margin: 0;
}

.page-arcade__promo-description {
  font-size: 1em;
  color: #666;
  padding: 15px;
  flex-grow: 1;
}

.page-arcade__promo-card .page-arcade__btn {
  margin: 0 15px 20px;
}

/* Responsible Gaming */
.page-arcade__responsible-gaming {
  background-color: #e6e6e6;
  text-align: center;
}

.page-arcade__responsible-gaming .page-arcade__section-title {
  color: #333;
}

.page-arcade__responsible-gaming .page-arcade__section-text {
  margin-bottom: 30px;
}

/* Testimonials Section */
.page-arcade__testimonials {
  background-color: #f0f0f0;
}

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

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

.page-arcade__testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  color: #555;
}

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

/* CTA Section */
.page-arcade__cta-section {
  background-color: #8B0000;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-arcade__cta-section .page-arcade__section-title {
  color: #FFD700;
  font-size: 3em;
}

.page-arcade__cta-section .page-arcade__section-text {
  color: #f0f0f0;
  font-size: 1.2em;
}

.page-arcade__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade__hero-title {
    font-size: 2.8em;
  }
  .page-arcade__hero-description {
    font-size: 1.1em;
  }
  .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__category-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-arcade__hero-content {
    padding: 30px;
  }
  .page-arcade__hero-title {
    font-size: 2em;
  }
  .page-arcade__hero-description {
    font-size: 1em;
  }
  .page-arcade__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-arcade__section-title {
    font-size: 1.8em;
  }
  .page-arcade__section-text {
    font-size: 1em;
  }
  .page-arcade__features-grid,
  .page-arcade__game-cards-grid,
  .page-arcade__benefits-grid,
  .page-arcade__steps-grid,
  .page-arcade__promo-cards-grid,
  .page-arcade__testimonial-grid {
    grid-template-columns: 1fr;
  }
  .page-arcade__introduction-section,
  .page-arcade__games-showcase,
  .page-arcade__why-choose-us,
  .page-arcade__get-started,
  .page-arcade__promotions-section,
  .page-arcade__responsible-gaming,
  .page-arcade__testimonials,
  .page-arcade__cta-section {
    padding: 60px 0;
  }
  .page-arcade__category-title {
    font-size: 1.5em;
  }
  .page-arcade__game-image {
    height: 200px;
  }
  .page-arcade__promo-image {
    height: 200px;
  }
  .page-arcade__cta-section .page-arcade__section-title {
    font-size: 2em;
  }
  .page-arcade__cta-section .page-arcade__section-text {
    font-size: 1em;
  }
  .page-arcade__cta-actions {
    flex-direction: column;
  }
  /* Ensure content area images do not overflow */
  .page-arcade img {
    max-width: 100%;
    height: auto;
  }
  .page-arcade__hero-image {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 100%;
    height: 400px; /* Fixed height for mobile hero */
  }
  .page-arcade__hero-content {
    padding: 20px;
    width: 95%;
  }
}

@media (max-width: 480px) {
  .page-arcade__hero-title {
    font-size: 1.5em;
  }
  .page-arcade__hero-description {
    font-size: 0.9em;
  }
  .page-arcade__btn {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-arcade__section-title {
    font-size: 1.5em;
  }
  .page-arcade__category-title {
    font-size: 1.3em;
  }
  .page-arcade__hero-image {
    height: 300px;
  }
}