/* style/arcade.css */

:root {
  --ph365-primary: #F2C14E;
  --ph365-secondary: #FFD36B;
  --ph365-card-bg: #111111;
  --ph365-background: #0A0A0A;
  --ph365-text-main: #FFF6D6;
  --ph365-border: #3A2A12;
  --ph365-glow: #FFD36B;
  --ph365-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --header-offset: 120px; /* Default desktop header height */
}

.page-arcade {
  font-family: 'Arial', sans-serif;
  color: var(--ph365-text-main); /* Light text on dark body background */
  background-color: var(--ph365-background);
  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: 2.5em;
  color: var(--ph365-primary);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-arcade__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--ph365-secondary);
  border-radius: 2px;
}

.page-arcade__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-arcade__link {
  color: var(--ph365-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-arcade__link:hover {
  color: var(--ph365-primary);
  text-decoration: underline;
}

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

.page-arcade__btn-primary {
  background: var(--ph365-button-gradient);
  color: var(--ph365-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-arcade__btn-secondary:hover {
  background: var(--ph365-primary);
  color: var(--ph365-background);
  transform: translateY(-2px);
}

.page-arcade__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-arcade__cta-buttons .page-arcade__btn-primary,
.page-arcade__cta-buttons .page-arcade__btn-secondary {
  flex: 1 1 auto; /* Allow buttons to grow/shrink */
  max-width: 250px; /* Max width for individual buttons */
}

/* Cards */
.page-arcade__card {
  background-color: var(--ph365-card-bg);
  border: 1px solid var(--ph365-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--ph365-text-main);
}

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

.page-arcade__card-description {
  font-size: 1em;
  line-height: 1.7;
  color: var(--ph365-text-main);
}

/* Hero Section */
.page-arcade__hero-section {
  position: relative;
  background-color: var(--ph365-background);
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-arcade__hero-image-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-arcade__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-arcade__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(10, 10, 10, 0.8);
  margin-top: -100px; /* Pull content up over image slightly for visual flow, but not overlap text on image */
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
}