/* style/live.css */

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

.page-live {
  font-family: 'Arial', sans-serif;
  color: var(--phsky-text-main);
  background-color: var(--phsky-bg);
  line-height: 1.6;
}

.page-live__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Account for fixed header on desktop */
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-live__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-live__hero-image {
  width: 100%;
  max-width: 1200px; /* Adjust based on desired display size */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

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

.page-live__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--phsky-primary);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

.page-live__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: rgba(255, 246, 214, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-promo,
.page-live__btn-step {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-live__btn-primary {
  background: var(--phsky-button-gradient);
  color: #000000; /* Dark text on light gradient */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-live__btn-secondary:hover {
  background: var(--phsky-primary);
  color: var(--phsky-bg);
  transform: translateY(-3px);
}

.page-live__btn-promo,
.page-live__btn-step {
  background: var(--phsky-primary);
  color: var(--phsky-bg);
  border: none;
  font-size: 1rem;
  padding: 12px 25px;
  border-radius: 6px;
}

.page-live__btn-promo:hover,
.page-live__btn-step:hover {
  background: var(--phsky-secondary);
  transform: translateY(-2px);
}

.page-live__section {
  padding: 80px 0;
  position: relative;
}

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

.page-live__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--phsky-primary);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-live__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: rgba(255, 246, 214, 0.8);
}

.page-live__features-grid,
.page-live__games-grid,
.page-live__promo-cards-grid,
.page-live__steps-grid,
.page-live__trust-grid,
.page-live__support-mobile-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 40px;
}

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

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

.page-live__promo-cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-live__steps-grid,
.page-live__trust-grid,
.page-live__support-mobile-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-live__feature-card,
.page-live__game-card,
.page-live__promo-card,
.page-live__step-card,
.page-live__trust-item,
.page-live__support-item {
  background-color: var(--phsky-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--phsky-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__feature-card:hover,
.page-live__game-card:hover,
.page-live__promo-card:hover,
.page-live__step-card:hover,
.page-live__trust-item:hover,
.page-live__support-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-live__feature-icon,
.page-live__trust-icon,
.page-live__support-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-live__feature-title,
.page-live__game-title,
.page-live__promo-title,
.page-live__step-title,
.page-live__trust-title,
.page-live__support-title,
.page-live__faq-title {
  font-size: 1.5rem;
  color: var(--phsky-primary);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-live__feature-text,
.page-live__game-text,
.page-live__promo-text,
.page-live__step-text,
.page-live__trust-text,
.page-live__support-text {
  font-size: 1rem;
  color: rgba(255, 246, 214, 0.8);
  margin-bottom: 20px;
}

.page-live__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--phsky-secondary);
  margin-bottom: 15px;
}

.page-live__cta-full-width {
  text-align: center;
  margin-top: 40px;
}

.page-live__bonus-note {
  text-align: center;
  font-style: italic;
  color: rgba(255, 246, 214, 0.7);
  margin-top: 20px;
}

/* FAQ Section */
.page-live__faq-section {
  padding: 80px 0;
}

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

.page-live__faq-item {
  background-color: var(--phsky-card-bg);
  border: 1px solid var(--phsky-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--phsky-card-bg);
  color: var(--phsky-primary);
  font-weight: bold;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-live__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--phsky-secondary);
}

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

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: rgba(255, 246, 214, 0.8);
  font-size: 1rem;
}

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

.page-live__faq-answer p {
  margin-bottom: 0;
}

/* General image styles */
.page-live img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live__hero-image {
    max-width: 1000px;
    height: 563px; /* Maintain 16:9 aspect ratio */
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile padding-top */
    padding-bottom: 40px;
  }

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

  .page-live__hero-description,
  .page-live__section-description,
  .page-live__feature-text,
  .page-live__game-text,
  .page-live__promo-text,
  .page-live__step-text,
  .page-live__trust-text,
  .page-live__support-text {
    font-size: 0.95rem;
  }

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

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__btn-promo,
  .page-live__btn-step,
  .page-live a[class*="button"],
  .page-live a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
  }

  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__hero-content-wrapper,
  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__promo-cards-grid,
  .page-live__steps-grid,
  .page-live__trust-grid,
  .page-live__support-mobile-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__section {
    padding: 40px 0;
  }

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

  .page-live__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

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

@media (max-width: 480px) {
  .page-live__main-title {
    font-size: clamp(1.8rem, 10vw, 2.2rem);
  }

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

  .page-live__feature-title,
  .page-live__game-title,
  .page-live__promo-title,
  .page-live__step-title,
  .page-live__trust-title,
  .page-live__support-title {
    font-size: 1.3rem;
  }

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__btn-promo,
  .page-live__btn-step {
    font-size: 1rem;
    padding: 12px 25px;
  }

  .page-live__hero-image {
    height: auto; /* Allow height to adjust freely */
  }
}