/* style/original.css */

/* Base styles for the page content */
.page-original {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #FFF6D6); /* Default text color from custom palette */
  background-color: var(--background-color, #0A0A0A); /* Default background from custom palette */
}

/* Fixed Header Spacing */
/* This ensures content is not hidden by the fixed header. */
/* The body padding-top is handled by shared.css, so here we add a small top margin to the first section. */
.page-original__hero-section {
  padding-top: var(--header-offset, 120px); /* Desktop: Uses header-offset from shared.css */
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  position: relative;
  overflow: hidden;
  color: #333333; /* Dark text for light gradient background */
}

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

.page-original__hero-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.page-original__hero-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
  opacity: 0;
  transform: translateX(100%);
}

.page-original__hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: static; /* Ensure active slide is in normal flow for positioning */
}

.page-original__hero-slide.prev {
  transform: translateX(-100%); /* Slide out to the left */
  position: absolute; /* Take out of flow to prevent flickering */
  top: 0;
  left: 0;
  opacity: 0;
}

.page-original__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px; /* Limit height for desktop */
  object-fit: cover;
  display: block;
}

.page-original__hero-content {
  position: absolute; /* Position content over the image */
  bottom: 10%; /* Place content at the bottom */
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text */
  padding: 20px 30px;
  border-radius: 10px;
  color: #FFF6D6; /* Light text for dark overlay */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-original__hero-title,
.page-original__hero-subtitle {
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.2;
  color: #FFD36B; /* Glow color for titles */
}

.page-original__hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); /* Use clamp for H1 font size */
}

.page-original__hero-subtitle {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

.page-original__hero-description {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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: #FFD36B;
}

.page-original__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-original__section-title {
  font-size: 2.5rem;
  color: var(--text-main-color, #FFF6D6);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-original__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #FFF6D6;
}

.page-original__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.page-original__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-original__text-block {
  flex: 1;
  padding: 20px;
  background: var(--card-bg-color, #111111);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color, #FFF6D6);
}

.page-original__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-original__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px; /* Ensure minimum size */
}

.page-original__about-image,
.page-original__promo-image,
.page-original__app-image,
.page-original__safety-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Game Categories Section */
.page-original__games-section {
  padding: 80px 0;
  background-color: var(--background-color, #0A0A0A);
}

.page-original__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.page-original__game-card {
  background: var(--card-bg-color, #111111);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--text-main-color, #FFF6D6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-original__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  color: #FFD36B;
}

.page-original__game-icon {
  width: 30px; /* Specific size allowed */
  height: 30px; /* Specific size allowed */
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-original__game-card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD36B; /* Glow color for titles */
}

.page-original__game-card-text {
  font-size: 0.95rem;
  color: #FFF6D6;
}

/* CTA Buttons */
.page-original__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.page-original__cta-center {
  margin-top: 50px;
}

.page-original__btn-primary,
.page-original__btn-secondary {
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button does not overflow */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.page-original__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #333333; /* Dark text for light gradient button */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-original__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-original__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #FFD36B; /* Glow color for border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-original__btn-secondary:hover {
  background: #FFD36B;
  color: #333333; /* Dark text for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Dark Section styling */
.page-original__dark-section {
  background-color: var(--background-color, #0A0A0A);
  color: var(--text-main-color, #FFF6D6);
  padding: 80px 0;
}

.page-original__dark-section .page-original__section-title {
  color: var(--text-main-color, #FFF6D6);
}

.page-original__dark-section .page-original__section-description {
  color: #FFF6D6;
}

.page-original__dark-section p {
  color: #FFF6D6;
}

/* Why Choose Section */
.page-original__why-choose-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

.page-original__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-original__feature-item {
  background: var(--card-bg-color, #111111);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color, #FFF6D6);
  border: 1px solid var(--border-color, #3A2A12);
}

.page-original__feature-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD36B; /* Glow color */
}

.page-original__feature-description {
  font-size: 1rem;
}

/* Testimonials Section */
.page-original__testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-original__testimonial-card {
  background: var(--card-bg-color, #111111);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color, #FFF6D6);
  border: 1px solid var(--border-color, #3A2A12);
}

.page-original__testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-original__testimonial-author {
  font-weight: bold;
  color: #F2C14E; /* Main brand color */
}

/* FAQ Section */
.page-original__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

.page-original__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-original__faq-item {
  background: var(--card-bg-color, #111111);
  border: 1px solid var(--border-color, #3A2A12);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-original__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: linear-gradient(90deg, #111111, #1a1a1a);
  color: var(--text-main-color, #FFF6D6);
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-original__faq-question:hover {
  background: linear-gradient(90deg, #1a1a1a, #222222);
}

.page-original__faq-question h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-main-color, #FFF6D6);
}

.page-original__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Glow color */
}

.page-original__faq-item.active .page-original__faq-toggle {
  transform: rotate(45deg);
}

.page-original__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px; /* Adjust padding to match question */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main-color, #FFF6D6);
}

.page-original__faq-item.active .page-original__faq-answer {
  max-height: 1000px !important; /* Important for JS functionality */
  padding: 15px 25px 25px 25px; /* Adjust padding for expanded state */
}

.page-original__faq-answer p {
  margin: 0;
  font-size: 1rem;
}

/* Media Partners Section */
.page-original__media-partners {
  padding: 60px 0;
}

.page-original__partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-original__partner-logo {
  width: 167px; /* Fixed width */
  height: 127px; /* Fixed height */
  object-fit: contain;
  filter: grayscale(100%); /* Grayscale to fit dark theme, no color changing filter */
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-original__partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Final CTA Section */
.page-original__cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, #FFD36B, #F2C14E); /* Light gradient for final CTA */
  color: #333333; /* Dark text for light gradient */
}

.page-original__cta-final .page-original__section-title {
  color: #333333;
}

.page-original__cta-final .page-original__section-description {
  color: #444444;
}