/* style/arcade.css */

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

/* Base styles for the page, inheriting from shared.css and applying specific overrides */
.page-arcade {
  font-family: 'Poppins', sans-serif; /* Using a common modern font, assuming it's available or linked in shared.css */
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color for dark background */
  background-color: var(--background-color); /* Inherit from shared, expected dark */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  color: var(--text-main-color);
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-arcade__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-arcade__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-arcade__subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

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

.page-arcade__btn-primary,
.page-arcade__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-arcade__btn-primary {
  background: var(--button-gradient);
  color: #333333; /* Ensuring WCAG AA contrast for button text on light gradient, overriding 'white' due to contrast failure */
  border: none;
}

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

.page-arcade__btn-secondary {
  background: transparent;
  color: var(--text-main-color);
  border: 2px solid var(--border-color);
}

.page-arcade__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

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

/* General Section Styles */
.page-arcade__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  color: var(--text-main-color);
}

.page-arcade__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main-color);
  text-align: center;
}

.page-arcade__intro-section,
.page-arcade__game-categories-section,
.page-arcade__featured-games-section,
.page-arcade__features-section,
.page-arcade__how-to-start-section,
.page-arcade__bonuses-section,
.page-arcade__responsible-gaming-section,
.page-arcade__faq-section,
.page-arcade__partners-section,
.page-arcade__final-cta-section {
  padding: 60px 0;
}

.page-arcade__intro-section p,
.page-arcade__featured-games-section p,
.page-arcade__features-section p,
.page-arcade__how-to-start-section p,
.page-arcade__bonuses-section p,
.page-arcade__responsible-gaming-section p,
.page-arcade__partners-section p,
.page-arcade__final-cta-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Game Categories */
.page-arcade__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-items: center;
}

.page-arcade__category-item {
  background: var(--card-bg-color);
  border-radius: 10px;
  padding: 25px;
  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);
  border: 1px solid var(--border-color);
}

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