/* style/original.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* Base Styles for page-original */
.page-original {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main from custom palette, contrasts with #0A0A0A body bg */
  background-color: transparent; /* Body background is handled by shared.css #0A0A0A */
}

/* Section common styles */
.page-original__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-original__section-title {
  font-size: clamp(2em, 4vw, 2.8em); /* H1 size constraint not for H2, but good practice */
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-original__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-original__sub-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
}

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

.page-original__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
  color: #ffffff;
  border: none;
}

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

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

.page-original__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Card BG as text color for contrast */
  transform: translateY(-2px);
}

.page-original__btn-text {
  background: none;
  border: none;
  color: #FFD36B; /* Glow color for links */
  text-decoration: underline;
  padding: 0;
  margin: 0;
}

.page-original__btn-text:hover {
  color: #F2C14E;
}

.page-original__text-link {
  color: #FFD36B; /* Glow color for inline text links */
  text-decoration: underline;
}

.page-original__text-link:hover {
  color: #F2C14E;
}

/* Hero Section */
.page-original__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Desktop: Fixed header spacing */
  height: 700px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-original__hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-original__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  display: flex; /* For image and content stacking */
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-original__hero-slide.active {
  opacity: 1;
  transform: translateX(0%);
}

.page-original__hero-slide.prev {
  transform: translateX(-100%); /* Slide out to the left */
}

.page-original__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1; /* Image below content */
}

.page-original__hero-content {
  position: relative;
  z-index: 2; /* Content above image */
  text-align: center;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  margin-top: 20px; /* Spacing from the top of the hero section */
}

.page-original__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font size constraint */
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-original__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

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

.page-original__hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.page-original__hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-original__hero-dot.active {
  background-color: #F2C14E;
}

/* About Section */
.page-original__about-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-original__about-content {
  flex: 1;
  min-width: 300px;
}

.page-original__about-content p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-original__about-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-original__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* Games Section */
.page-original__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-original__game-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #3A2A12; /* Border */
}

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