/* style/arcade-shooting-games.css */
:root {
  --phdream-primary: #F2C14E;
  --phdream-secondary: #FFD36B;
  --phdream-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --phdream-card-bg: #111111;
  --phdream-bg: #0A0A0A;
  --phdream-text-main: #FFF6D6;
  --phdream-border: #3A2A12;
  --phdream-glow: #FFD36B;
}

.page-arcade-shooting-games {
  font-family: Arial, sans-serif;
  color: var(--phdream-text-main); /* Default text color for the page, assuming dark body bg */
  background-color: var(--phdream-bg); /* Explicitly set main background */
}

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

/* Hero Section */
.page-arcade-shooting-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 500px; /* Ensure hero section has a minimum height */
  overflow: hidden;
}

.page-arcade-shooting-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-arcade-shooting-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 10px;
}

.page-arcade-shooting-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--phdream-secondary);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-arcade-shooting-games__hero-description {
  font-size: 1.2rem;
  color: var(--phdream-text-main);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-arcade-shooting-games__btn-primary {
  background: var(--phdream-button-gradient);
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade-shooting-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-arcade-shooting-games__btn-secondary {
  background: transparent;
  color: var(--phdream-secondary);
  border: 2px solid var(--phdream-secondary);
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
}

.page-arcade-shooting-games__btn-secondary:hover {
  background: var(--phdream-secondary);
  color: var(--phdream-bg); /* Dark text on light secondary color */
  transform: translateY(-2px);
}

.page-arcade-shooting-games__btn-link {
  color: var(--phdream-secondary);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-arcade-shooting-games__btn-link:hover {
  color: #ffffff;
}

/* Section Titles and Text Blocks */
.page-arcade-shooting-games__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--phdream-secondary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-arcade-shooting-games__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--phdream-text-main);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* General Section Styling */
.page-arcade-shooting-games__introduction-section,
.page-arcade-shooting-games__top-games-section,
.page-arcade-shooting-games__promotions-section,
.page-arcade-shooting-games__faq-section {
  padding: 80px 0;
  background-color: var(--phdream-bg);
}

.page-arcade-shooting-games__dark-section {
  background-color: var(--phdream-card-bg);
  padding: 80px 0;
  color: var(--phdream-text-main);
}

/* Feature Cards */
.page-arcade-shooting-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade-shooting-games__feature-card {
  background: var(--phdream-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--phdream-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade-shooting-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-arcade-shooting-games__card-title {
  font-size: 1.5rem;
  color: var(--phdream-secondary);
  margin-bottom: 15px;
}

.page-arcade-shooting-games__card-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--phdream-text-main);
}

/* Game List */
.page-arcade-shooting-games__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade-shooting-games__game-card {
  background: var(--phdream-card-bg);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--phdream-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-arcade-shooting-games__game-thumbnail {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-arcade-shooting-games__game-card .page-arcade-shooting-games__card-title {
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-arcade-shooting-games__game-card .page-arcade-shooting-games__card-description {
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-arcade-shooting-games__play-button {
  width: 100%;
  padding: 12px 20px;
  font-size: 1rem;
}

.page-arcade-shooting-games__view-more-cta {
  text-align: center;
  margin-top: 50px;
}

/* How to Play Steps */
.page-arcade-shooting-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade-shooting-games__step-card {
  background: var(--phdream-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--phdream-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade-shooting-games__step-card .page-arcade-shooting-games__card-title {
  color: var(--phdream-primary);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

/* Promotions */
.page-arcade-shooting-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade-shooting-games__promo-card {
  background: var(--phdream-card-bg);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--phdream-border);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade-shooting-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-arcade-shooting-games__promo-card .page-arcade-shooting-games__card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-arcade-shooting-games__promo-card .page-arcade-shooting-games__card-description {
  margin-bottom: 20px;
}

/* Responsible Gaming */
.page-arcade-shooting-games__responsible-gaming-section {
  padding: 80px 0;
  text-align: center;
}

/* FAQ Section */
.page-arcade-shooting-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade-shooting-games__faq-item {
  background: var(--phdream-card-bg);
  border: 1px solid var(--phdream-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-arcade-shooting-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--phdream-secondary);
  font-weight: bold;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.page-arcade-shooting-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-arcade-shooting-games__faq-question h3 {
  margin: 0;
  color: inherit; /* Inherit color from parent */
  font-size: 1.2rem;
  flex-grow: 1;
  text-align: left;
}

.page-arcade-shooting-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--phdream-primary);
}

.page-arcade-shooting-games__faq-item.active .page-arcade-shooting-games__faq-toggle {
  transform: rotate(45deg);
}

.page-arcade-shooting-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--phdream-text-main);
  font-size: 1rem;
  line-height: 1.7;
}

.page-arcade-shooting-games__faq-item.active .page-arcade-shooting-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

/* CTA Banner */
.page-arcade-shooting-games__cta-banner {
  padding: 80px 20px;
  text-align: center;
  background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), url('[GALLERY:bg:1920x400:phdream,arcade,shooting,cta_background,dynamic]');
  background-size: cover;
  background-position: center;
  margin-top: 50px;
}

.page-arcade-shooting-games__cta-banner .page-arcade-shooting-games__section-title {
  color: var(--phdream-secondary);
}

.page-arcade-shooting-games__cta-banner .page-arcade-shooting-games__text-block {
  color: var(--phdream-text-main);
  margin-bottom: 40px;
}

.page-arcade-shooting-games__cta-button {
  min-width: 250px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-arcade-shooting-games__hero-content {
    padding: 20px;
  }
  .page-arcade-shooting-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-arcade-shooting-games__hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-arcade-shooting-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-arcade-shooting-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-arcade-shooting-games__hero-content {
    padding: 15px;
  }
  .page-arcade-shooting-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-arcade-shooting-games__hero-description {
    font-size: 1rem;
  }
  .page-arcade-shooting-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-arcade-shooting-games__btn-primary,
  .page-arcade-shooting-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1rem;
  }
  .page-arcade-shooting-games__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-arcade-shooting-games__introduction-section,
  .page-arcade-shooting-games__why-phdream-section,
  .page-arcade-shooting-games__top-games-section,
  .page-arcade-shooting-games__how-to-play-section,
  .page-arcade-shooting-games__promotions-section,
  .page-arcade-shooting-games__responsible-gaming-section,
  .page-arcade-shooting-games__faq-section,
  .page-arcade-shooting-games__cta-banner {
    padding: 40px 0;
  }
  .page-arcade-shooting-games__container {
    padding: 0 15px;
  }
  .page-arcade-shooting-games__text-block {
    font-size: 0.95rem;
  }
  /* Images responsive */
  .page-arcade-shooting-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-arcade-shooting-games__features-grid,
  .page-arcade-shooting-games__game-list,
  .page-arcade-shooting-games__steps-grid,
  .page-arcade-shooting-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-arcade-shooting-games__card {
    padding: 20px;
  }
  .page-arcade-shooting-games__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-arcade-shooting-games__faq-question h3 {
    font-size: 1rem;
  }
  .page-arcade-shooting-games__faq-answer {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}