/* style/live.css */

:root {
  --ph333-primary-color: #F2C14E;
  --ph333-secondary-color: #FFD36B;
  --ph333-card-bg: #111111;
  --ph333-background-color: #0A0A0A;
  --ph333-text-main-color: #FFF6D6;
  --ph333-border-color: #3A2A12;
  --ph333-glow-color: #FFD36B;
  --ph333-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-live {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--ph333-text-main-color); /* Body background is dark, so text is light */
  background-color: var(--ph333-background-color);
}

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

.page-live__section {
  padding: 60px 0;
  text-align: center;
}

.page-live__dark-section {
  background-color: var(--ph333-card-bg);
  color: var(--ph333-text-main-color);
}

.page-live__card {
  background-color: var(--ph333-card-bg);
  border: 1px solid var(--ph333-border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--ph333-text-main-color);
}

.page-live__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ph333-secondary-color);
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-live__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--ph333-primary-color);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-live__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--ph333-primary-color);
}

.page-live__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--ph333-text-main-color);
}

.page-live__inline-link {
  color: var(--ph333-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__inline-link:hover {
  color: var(--ph333-primary-color);
  text-decoration: underline;
}

.page-live__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  text-align: left;
  color: var(--ph333-text-main-color);
}

.page-live__list li {
  margin-bottom: 10px;
}

/* Buttons */
.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.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-live__btn-primary {
  background: var(--ph333-button-gradient);
  color: #1a1a1a;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-live__btn-secondary {
  background-color: transparent;
  color: var(--ph333-primary-color);
  border: 2px solid var(--ph333-primary-color);
}

.page-live__btn-secondary:hover {
  background-color: var(--ph333-primary-color);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 80px;
  background-color: var(--ph333-background-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__hero-image-container {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-live__hero-content-wrapper {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 40px; /* Space between image and text */
  width: 100%;
}

.page-live__hero-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--ph333-text-main-color);
}

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

.page-live__feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-live__feature-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--ph333-primary-color);
}

.page-live__feature-description {
  font-size: 1rem;
  color: var(--ph333-text-main-color);
}

/* Game Category Grid */
.page-live__game-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-live__game-category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

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

.page-live__category-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--ph333-primary-color);
}

.page-live__category-description {
  font-size: 0.95rem;
  color: var(--ph333-text-main-color);
}

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

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

.page-live__promo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-live__promo-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--ph333-primary-color);
}

.page-live__promo-description {
  font-size: 1rem;
  color: var(--ph333-text-main-color);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Getting Started Steps */
.page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-live__step-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--ph333-secondary-color);
}

.page-live__step-description {
  font-size: 1rem;
  color: var(--ph333-text-main-color);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Mobile Access */
.page-live__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-live__mobile-image {
  width: 40%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-live__mobile-text {
  width: 60%;
}

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

.page-live__security-item {
  text-align: center;
}

.page-live__security-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--ph333-primary-color);
}

.page-live__security-description {
  font-size: 1rem;
  color: var(--ph333-text-main-color);
}

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

.page-live__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #1a1a1a;
  border-bottom: 1px solid var(--ph333-border-color);
  color: var(--ph333-primary-color);
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #2a2a2a;
}

.page-live__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #0d0d0d;
  color: var(--ph333-text-main-color);
}

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

.page-live__faq-answer p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-live__hero-description {
    font-size: 1.1rem;
  }

  .page-live__mobile-content {
    flex-direction: column;
    text-align: center;
  }

  .page-live__mobile-image {
    width: 60%;
    margin-bottom: 30px;
  }

  .page-live__mobile-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-live__section {
    padding: 40px 0;
  }

  .page-live__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-live__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .page-live__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile fixed header spacing */
    padding-bottom: 40px;
  }

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-live__container {
    padding: 0 15px;
  }

  /* Mobile responsive images */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-live__section,
  .page-live__card,
  .page-live__container,
  .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;
  }

  .page-live__hero-content-wrapper {
    padding-top: 20px;
  }

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

  .page-live__list {
    padding-left: 20px;
  }

  .page-live__mobile-image {
    width: 80%;
  }
  
  .page-live__faq-question {
    padding: 12px 15px;
    font-size: 1rem;
  }

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

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