/* style/arcade.css */

/* Variables for consistency */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-color: #0A0A0A;
  --card-bg-color: #111111;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Base styles for the page-arcade scope */
.page-arcade {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Assuming dark body background from shared */
  background-color: var(--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 {
  padding: 60px 0;
  text-align: center;
}

.page-arcade__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-arcade__section-description {
  font-size: 1.1em;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above content block */
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  box-sizing: border-box;
}

.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 text readability */
}

.page-arcade__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text */
  border-radius: 10px;
}

.page-arcade__hero-title {
  color: var(--text-main-color);
  font-size: clamp(2.5em, 5vw, 3.2em); /* Using clamp for responsive H1 */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-arcade__hero-description {
  color: var(--text-main-color);
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.7;
}

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

/* Buttons */
.page-arcade__btn-primary,
.page-arcade__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
}

.page-arcade__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-arcade__btn-secondary {
  background: var(--card-bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-arcade__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--card-bg-color);
  box-shadow: 0 0 15px var(--glow-color);
}

/* Text Link */
.page-arcade__text-link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-arcade__text-link:hover {
  color: var(--secondary-color);
}

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

.page-arcade__feature-card {
  background: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

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

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

.page-arcade__feature-text {
  color: var(--text-main-color);
  font-size: 0.95em;
}

/* Categories Grid */
.page-arcade__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-arcade__category-card {
  background: var(--card-bg-color);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--text-main-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.page-arcade__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__category-icon {
  width: 30px; /* Allowed small icon size */
  height: 30px; /* Allowed small icon size */
  object-fit: contain;
  margin-bottom: 10px;
}

.page-arcade__category-name {
  font-size: 1.1em;
  font-weight: bold;
  color: var(--primary-color);
}

.page-arcade__cta-wrapper {
  margin-top: 40px;
  text-align: center;
}

/* Why Choose Section (dark background) */
.page-arcade__dark-bg {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}

.page-arcade__advantages-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-arcade__advantage-item {
  background: #1a1a1a; /* Slightly lighter than card-bg for contrast */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-arcade__advantage-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-arcade__advantage-text {
  font-size: 0.95em;
  color: var(--text-main-color);
}

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

.page-arcade__promo-card {
  background: var(--card-bg-color);
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

.page-arcade__promo-text {
  font-size: 0.95em;
  color: var(--text-main-color);
  flex-grow: 1;
  margin-bottom: 20px;
}