/* style/arcade.css */

/* Base styles for the arcade page */
.page-arcade {
  background-color: var(--background-color, #0A0A0A); /* Assumed dark background */
  color: var(--text-main-color, #FFF6D6); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-arcade__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color, #F2C14E); /* Using primary color for titles */
}

.page-arcade__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main-color, #FFF6D6);
}

.page-arcade__text-block {
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
}

/* Hero/Video Section */
.page-arcade__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A0A0A; /* Ensure dark background for the section */
}

.page-arcade__video-container {
  width: 100%; /* desktop width */
  max-width: 1200px;
  margin: 0 auto 40px auto; /* Space between video and content */
  box-sizing: border-box;
  overflow: hidden; /* Ensure video doesn't overflow */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.5); /* Glow effect */
}

.page-arcade__video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  cursor: pointer; /* Indicate it's clickable */
}

.page-arcade__hero-content {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  padding: 20px 0;
}

.page-arcade__main-title {
  font-size: clamp(2.5rem, 5vw, 3rem); /* H1 font size clamp, not fixed */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color, #F2C14E);
  letter-spacing: 1px;
}

.page-arcade__main-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-main-color, #FFF6D6);
}

/* Buttons */
.page-arcade__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%; /* Ensure container takes full width for responsive buttons */
  max-width: 600px; /* Max width for button group */
  margin: 0 auto;
}

.page-arcade__btn-primary,
.page-arcade__btn-secondary,
.page-arcade__btn-text {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-arcade__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text on bright button */
  border: 2px solid transparent;
}

.page-arcade__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 15px var(--glow-color, #FFD36B);
}

.page-arcade__btn-secondary {
  background-color: transparent;
  color: var(--primary-color, #F2C14E);
  border: 2px solid var(--primary-color, #F2C14E);
}

.page-arcade__btn-secondary:hover {
  background-color: var(--primary-color, #F2C14E);
  color: #111111;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

.page-arcade__btn-text {
  background-color: transparent;
  color: var(--primary-color, #F2C14E);
  border: none;
  padding: 0;
  text-decoration: underline;
}

.page-arcade__btn-text:hover {
  color: var(--secondary-color, #FFD36B);
}

/* Section specific styles */
.page-arcade__introduction-section,
.page-arcade__strategy-tips-section,
.page-arcade__secure-gaming-section,
.page-arcade__faq-section,
.page-arcade__media-partners-section {
  padding: 80px 20px;
}

.page-arcade__game-categories-section,
.page-arcade__how-to-play-section,
.page-arcade__promotions-cta-section,
.page-arcade__mobile-app-section,
.page-arcade__cta-final-section {
  padding: 80px 20px;
  background-color: var(--card-bg-color, #111111);
}

.page-arcade__dark-section {
  background-color: var(--background-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
}

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

.page-arcade__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color, #FFD36B);
}

/* Game Categories */
.page-arcade__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-arcade__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px var(--primary-color)); /* Subtle glow for icons */
}

.page-arcade__category-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--primary-color, #F2C14E);
}

.page-arcade__category-description {
  font-size: 0.95em;
  margin-bottom: 15px;
  color: var(--text-main-color, #FFF6D6);
}

/* Featured Games */
.page-arcade__featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-arcade__game-card {
  text-align: left;
  padding: 20px;
}

.page-arcade__game-thumbnail {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-arcade__game-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: var(--primary-color, #F2C14E);
}

.page-arcade__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-arcade__game-title a:hover {
  color: var(--secondary-color, #FFD36B);
}

.page-arcade__game-description {
  font-size: 0.9em;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
}

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

.page-arcade__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--primary-color, #F2C14E);
}

.page-arcade__step-description {
  font-size: 0.95em;
  margin-bottom: 15px;
  color: var(--text-main-color, #FFF6D6);
}

/* Strategy Tips */
.page-arcade__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-arcade__tip-card {
  text-align: left;
  padding: 20px;
}

.page-arcade__tip-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: var(--primary-color, #F2C14E);
}

.page-arcade__tip-description {
  font-size: 0.9em;
  margin-bottom: 20px;
  color: var(--text-main-color, #FFF6D6);
}

/* Secure Gaming */
.page-arcade__security-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}