/* style/about.css */

/* --- Base Styles --- */
.page-about {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #CC0000; /* Primary color for accent */
  border-radius: 2px;
}

.page-about__description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* --- CTA Buttons General --- */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Include padding in width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-about__cta-button--primary {
  background: #CC0000; /* Primary color */
  color: #ffffff;
}

.page-about__cta-button--primary:hover {
  background: #a30000; /* Darker shade of primary */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--secondary {
  background: #FFD700; /* Auxiliary color */
  color: #333333; /* Dark text for light background */
}

.page-about__cta-button--secondary:hover {
  background: #e6c200; /* Darker shade of auxiliary */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* --- Hero Video Section --- */
.page-about__hero-video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #000000, #330000); /* Dark gradient background */
}

.page-about__hero-video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-about__hero-video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__hero-video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-about__hero-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  background-color: #000; /* Fallback for video area */
}

.page-about__hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event on parent <a> */
}

.page-about__hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-about__hero-video-link:hover .page-about__hero-video-overlay {
  opacity: 1;
}

.page-about__hero-video-click-hint {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  padding: 12px 25px;
  background: rgba(204, 0, 0, 0.8); /* Primary color with transparency */
  border-radius: 30px;
  white-space: nowrap;
  letter-spacing: 1px;
}

.page-about__hero-video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-about__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: #FFD700; /* Auxiliary color for high contrast */
  color: #333333;
  text-decoration: none;
  border-radius: 50px; /* More rounded for CTA */
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-about__play-now-button:hover {
  background: #e6c200; /* Darker shade of auxiliary */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

/* --- Intro Section --- */
.page-about__intro-section {
  background-color: #0d0d0d; /* Slightly lighter dark background */
  padding: 80px 0;
}

.page-about__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

/* --- Brand Section --- */
.page-about__brand-section {
  background: linear-gradient(180deg, #000000, #1a0000);
  padding: 80px 0;
}

.page-about__dark-section {
  color: #ffffff; /* Ensure white text on dark sections */
}

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

.page-about__grid-item {
  background: rgba(255, 255, 255, 0.05); /* Subtle background for items */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-about__grid-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.page-about__brand-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-about__item-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  width: 100%;
  max-width: 400px;
}

.page-about__list li {
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 10px;
  padding: 12px 15px;
  border-left: 4px solid #CC0000;
  border-radius: 5px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-about__list li strong {
  color: #FFD700;
}


/* --- Advantages Section --- */
.page-about__advantages-section {
  background-color: #000000; /* Pure black background */
  padding: 80px 0;
}

.page-about__grid--advantages {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-about__card {
  background: rgba(255, 255, 255, 0.08); /* Dark background, light text */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.page-about__card-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-link {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 25px;
  background: #CC0000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__card-link:hover {
  background-color: #a30000;
  transform: translateY(-2px);
}

/* --- Responsible Gambling Section --- */
.page-about__responsible-gambling-section {
  background-color: #1a0000; /* Dark red-ish background */
  padding: 60px 0;
  text-align: center;
}

.page-about__responsible-gambling-section .page-about__description {
  margin-bottom: 30px;
}

/* --- FAQ Section --- */
.page-about__faq-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #222222; /* Dark background for questions */
  border: 1px solid #333333;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: #333333;
  border-color: #444444;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Auxiliary color for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(180deg); /* Rotate for minus sign effect */
  color: #CC0000; /* Primary color when active */
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #111111; /* Slightly lighter dark background for answer */
  color: #f0f0f0;
  border-radius: 0 0 8px 8px;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important; /* Sufficiently large for content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-about__faq-answer a {
  color: #FFD700; /* Auxiliary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__faq-answer a:hover {
  color: #CC0000; /* Primary color on hover */
  text-decoration: underline;
}

/* --- Blog Section --- */
.page-about__blog-section {
  background-color: #000000;
  padding: 80px 0;
}

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

.page-about__blog-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-about__blog-image {
  width: 100%;
  height: 220px; /* Fixed height for blog images */
  object-fit: cover;
  display: block;
}

.page-about__blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}