/* style/arcade.css */

/* General page styling */
.page-arcade {
  background: #0A0A0A; /* Custom background color */
  color: #FFF6D6; /* Custom text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Header offset is handled by shared.css body padding-top */
/* First content module should have small top padding, not --header-offset */
.page-arcade__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-arcade__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  width: 100%; /* Ensure it spans full width of its container */
  max-height: 675px; /* Limit height for aesthetic */
}

.page-arcade__hero-content {
  max-width: 900px;
  padding: 40px 20px 0;
  text-align: center;
  z-index: 1;
}

.page-arcade__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 font size */
  font-weight: 700;
  color: #FFD36B; /* Glow color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-arcade__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

/* General section styling */
.page-arcade__section {
  padding: 60px 20px;
  background: #0A0A0A; /* Custom background color */
}

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

.page-arcade__section-title {
  font-size: 2.5rem;
  color: #FFD36B; /* Glow color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-arcade__text-block {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-arcade__text-block a {
  color: #F2C14E; /* Main color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-arcade__text-block a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-arcade__btn-primary,
.page-arcade__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

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

.page-arcade__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-arcade__btn-secondary:hover {
  background: #F2C14E; /* Main color as background */
  color: #111111; /* Dark text */
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

/* Card styling */
.page-arcade__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-arcade__card {
  background: #111111; /* Custom Card BG color */
  border: 1px solid #3A2A12; /* Custom Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Align content to top */
  color: #FFF6D6; /* Custom Text Main color */
}

.page-arcade__dark-bg {
  background: #111111;
  color: #FFF6D6;
}

.page-arcade__card-title {
  font-size: 1.8rem;
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-arcade__card-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow */
}

.page-arcade__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
  min-height: 200px; /* Minimum size for content images */
  min-width: 200px;
}

.page-arcade__card-button {
  margin-top: auto; /* Push button to bottom */
  width: 100%;
  max-width: 200px;
}

/* Media Partners Grid */
.page-arcade__media-partners {
  padding-bottom: 0;
}

.page-arcade__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for 167x127px images */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-arcade__partner-logo {
  max-width: 167px;
  height: 127px; /* Fixed size for game images */
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.2); /* Subtle effect, no color change */
  transition: filter 0.3s ease;
}

.page-arcade__partner-logo:hover {
  filter: brightness(1) grayscale(0);
}

/* Popular Categories */
.page-arcade__category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-arcade__category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #FFF6D6;
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 15px 20px;
  transition: all 0.3s ease;
  min-width: 120px;
  max-width: 150px;
  box-sizing: border-box;
}

.page-arcade__category-item:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
  border-color: #F2C14E;
}

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

.page-arcade__category-name {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

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

.page-arcade__blog-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #FFF6D6;
}

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

.page-arcade__blog-card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}