/* style/live.css */
:root {
  --ph365-primary: #F2C14E;
  --ph365-secondary: #FFD36B;
  --ph365-card-bg: #111111;
  --ph365-bg: #0A0A0A;
  --ph365-text-main: #FFF6D6;
  --ph365-border: #3A2A12;
  --ph365-glow: #FFD36B;
  --ph365-btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-live {
  background-color: var(--ph365-bg); /* Matches #0A0A0A */
  color: var(--ph365-text-main); /* Matches #FFF6D6 for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-live__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-live__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-live__hero-text-content {
  text-align: center;
  max-width: 900px;
}

.page-live__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ph365-primary);
  margin-bottom: 15px;
}

.page-live__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--ph365-text-main);
}

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

.page-live__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  text-align: center;
  border-radius: 10px;
}

.page-live__section-title {
  font-size: 2.5em;
  color: var(--ph365-primary);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live__section-description {
  font-size: 1.1em;
  color: var(--ph365-text-main);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__live-categories {
  background-color: var(--ph365-card-bg);
  border: 1px solid var(--ph365-border);
}

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

.page-live__category-card {
  background-color: var(--ph365-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--ph365-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 15px var(--ph365-glow);
}

.page-live__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-live__card-title {
  font-size: 1.4em;
  color: var(--ph365-primary);
  margin-bottom: 10px;
}

.page-live__card-text {
  color: var(--ph365-text-main);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__card-link {
  color: var(--ph365-secondary);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--ph365-secondary);
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.page-live__card-link:hover {
  color: var(--ph365-primary);
  border-color: var(--ph365-primary);
}

.page-live__promotions {
  background: var(--ph365-card-bg);
  border: 1px solid var(--ph365-border);
}

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

.page-live__promo-card {
  background-color: var(--ph365-bg);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--ph365-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 15px var(--ph365-glow);
}

.page-live__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-live__cta-center {
  margin-top: 40px;
}

.page-live__experience {
  background-color: var(--ph365-card-bg);
  border: 1px solid var(--ph365-border);
}

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

.page-live__feature-item {
  background-color: var(--ph365-bg);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--ph365-border);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 15px var(--ph365-glow);
}

.page-live__feature-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-live__get-started {
  background: var(--ph365-card-bg);
  border: 1px solid var(--ph365-border);
}

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

.page-live__step-card {
  background-color: var(--ph365-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--ph365-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 15px var(--ph365-glow);
}

.page-live__step-number {
  font-size: 3em;
  font-weight: bold;
  color: var(--ph365-primary);
  margin-bottom: 15px;
  line-height: 1;
}

.page-live__faq {
  background-color: var(--ph365-card-bg);
  border: 1px solid var(--ph365-border);
}

.page-live__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-live__faq-item {
  border-bottom: 1px solid var(--ph365-border);
  padding: 15px 0;
}

.page-live__faq-item:last-child {
  border-bottom: none;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 15px;
  background-color: var(--ph365-bg);
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: rgba(var(--ph365-primary-rgb), 0.1);
}

.page-live__faq-question h3 {
  color: var(--ph365-text-main);
  font-size: 1.2em;
  margin: 0;
}

.page-live__faq-toggle {
  font-size: 1.5em;
  color: var(--ph365-primary);
  transition: transform 0.3s ease;
}

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

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--ph365-text-main);
  background-color: var(--ph365-bg);
  border-radius: 0 0 5px 5px;
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px;
}

.page-live__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

.page-live__partners {
  background-color: var(--ph365-card-bg);
  border: 1px solid var(--ph365-border);
}

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

.page-live__partner-logo {
  width: 167px; /* Fixed width */
  height: 127px; /* Fixed height */
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.2); /* Slightly dim for integration, no color change filter */
  transition: filter 0.3s ease;
}

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

.page-live__final-cta {
  background: var(--ph365-primary);
  color: #ffffff; /* White text on primary background */
  padding: 80px 20px;
  border-radius: 10px;
}

.page-live__final-cta .page-live__section-title {
  color: #ffffff;
}

.page-live__final-cta .page-live__section-description {
  color: rgba(255, 255, 255, 0.9);
}

.page-live__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-live__btn-primary {
  background: var(--ph365-btn-gradient);
  color: #ffffff; /* Button text always white */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-live__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 10px var(--ph365-glow);
}

.page-live__btn-secondary {
  background: var(--ph365-bg);
  color: var(--ph365-primary);
  border: 2px solid var(--ph365-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-live__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 10px var(--ph365-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-live__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
    margin-bottom: 20px;
  }

  .page-live__hero-title {
    font-size: 2em;
  }

  .page-live__hero-description {
    font-size: 1em;
  }

  .page-live__hero-cta-buttons,
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-live__section {
    padding: 40px 15px;
    margin-bottom: 20px;
  }

  .page-live__section-title {
    font-size: 1.8em;
  }

  .page-live__section-description {
    font-size: 0.95em;
  }

  .page-live__category-grid,
  .page-live__promo-cards,
  .page-live__feature-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__promo-image,
  .page-live__feature-image {
    height: 150px;
  }

  .page-live__partner-logos {
    gap: 20px;
    padding: 0 15px;
  }

  .page-live__partner-logo {
    width: 120px; /* Adjusted for mobile */
    height: 90px; /* Adjusted for mobile */
  }

  .page-live__final-cta {
    padding: 50px 15px;
  }

  /* Images responsiveness */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__category-card,
  .page-live__promo-card,
  .page-live__feature-item,
  .page-live__step-card,
  .page-live__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__faq-question {
    padding: 8px 10px;
  }

  .page-live__faq-question h3 {
    font-size: 1em;
  }

  .page-live__faq-toggle {
    font-size: 1.2em;
  }

  .page-live__faq-answer {
    padding: 0 10px;
  }

  .page-live__faq-item.active .page-live__faq-answer {
    padding: 10px;
  }

  .page-live__cta-buttons,
  .page-live__button-group,
  .page-live__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__section-title {
    font-size: 1.6em;
  }
  .page-live__btn-primary,
  .page-live__btn-secondary {
    padding: 10px 15px;
    font-size: 0.95em;
  }
}