/* style/arcade.css */

/* --- Base Styles & Typography --- */
.page-arcade {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main for dark background */
  background-color: #0A0A0A; /* Background color */
  line-height: 1.6;
}

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

.page-arcade__section-title {
  font-size: clamp(28px, 3.5vw, 48px); /* H1 rule, using clamp for responsiveness */
  color: #F2C14E; /* Main color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  letter-spacing: 1px;
}

.page-arcade__main-title {
  font-size: clamp(32px, 4.5vw, 56px); /* H1 rule, using clamp for responsiveness */
  color: #FFD36B; /* Glow color for main title */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 1.5px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__hero-description,
.page-arcade__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6; /* Text Main */
}

/* --- Buttons --- */
.page-arcade__btn-primary,
.page-arcade__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  max-width: 100%; /* Ensure buttons don't exceed container */
}

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

.page-arcade__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-arcade__btn-secondary:hover {
  background: #F2C14E; /* Main color for background */
  color: #111111; /* Dark text for bright button */
}

.page-arcade__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-arcade__centered-cta {
  text-align: center;
  margin-top: 40px;
}

/* --- Hero Section --- */
.page-arcade__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Enforce image then content */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A0A0A; /* Background color */
  overflow: hidden; /* Prevent content overflow */
  box-sizing: border-box;
}

.page-arcade__video-container {
  width: 100%; /* Desktop width */
  max-width: 1200px;
  margin: 0 auto 40px auto; /* Space below video */
  box-sizing: border-box;
  overflow: hidden;
  position: relative; /* For potential overlay elements, though not used for text */
  border-radius: 12px;
}

.page-arcade__video-link {
  display: block; /* Ensure the link takes up the video area */
  position: relative;
}

.page-arcade__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  cursor: pointer;
}

.page-arcade__hero-content {
  text-align: center;
  position: relative; /* Ensure content is in normal flow */
  z-index: 1;
}

/* --- About Section --- */
.page-arcade__about-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color */
}

.page-arcade__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__image {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Game Categories --- */
.page-arcade__game-categories {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color */
}

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

.page-arcade__category-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 220px;
}

.page-arcade__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(242, 193, 78, 0.2);
}

.page-arcade__category-icon {
  width: 30px; /* Allowed small icon size */
  height: 30px; /* Allowed small icon size */
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #F2C14E);
}

.page-arcade__category-title {
  font-size: 24px;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__category-description {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

/* --- Featured Games --- */
.page-arcade__featured-games {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color */
}

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

.page-arcade__game-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: #FFF6D6; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(242, 193, 78, 0.2);
}

.page-arcade__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
  object-fit: cover;
}

.page-arcade__game-title {
  font-size: 22px;
  color: #FFD36B; /* Glow color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__game-description {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

/* --- Promotions Section --- */
.page-arcade__promotions-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color */
}

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

.page-arcade__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: #FFF6D6; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(242, 193, 78, 0.2);
}

.page-arcade__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
  object-fit: cover;
}

.page-arcade__promo-title {
  font-size: 22px;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-arcade__promo-description {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- Why Choose Us Section --- */
.page-arcade__why-choose-us {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background color */
}