/* style/live.css */

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

.page-live {
  font-family: Arial, sans-serif;
  color: var(--winph-text-main); /* Default text color for the page */
  background-color: var(--winph-background); /* Overall page background */
}

.page-live__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--winph-primary);
  letter-spacing: 1px;
  line-height: 1.2;
}

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

.page-live__card {
  background-color: var(--winph-card-bg);
  border: 1px solid var(--winph-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--winph-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--winph-primary);
}

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-live__btn-primary {
  background: var(--winph-button-gradient);
  color: #ffffff;
  border: none;
}

.page-live__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--winph-glow);
}

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

.page-live__btn-secondary:hover {
  background: var(--winph-primary);
  color: var(--winph-background);
  box-shadow: 0 0 15px var(--winph-glow);
}

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-live__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-live__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  margin-top: -100px; /* Pull content up slightly over the bottom of the image for visual flow */
  position: relative;
  z-index: 1;
  background: linear-gradient(to top, var(--winph-background), transparent 80%);
}

.page-live__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  color: var(--winph-primary);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-live__hero-description {
  font-size: 1.2em;
  color: rgba(255, 246, 214, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
}

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

/* Video Section */
.page-live__video-section {
  padding: 60px 20px;
  background-color: var(--winph-background);
  text-align: center;
}

.page-live__video-container {
  width: 100%;
  max-width: 1000px; /* Max width for video container */
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.3);
}

.page-live__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-live__video-cta {
  margin-top: 30px;
}

/* Features Section */
.page-live__features-section {
  padding: 60px 20px;
  background-color: var(--winph-background);
}

.page-live__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Games Section */
.page-live__games-section {
  padding: 60px 20px;
  background-color: var(--winph-background);
}

.page-live__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-live__game-card .page-live__btn-primary {
  margin-top: 15px;
  width: calc(100% - 30px); /* Adjust for padding in card */
}

/* Promo Section */
.page-live__promo-section {
  padding: 60px 20px;
  background-color: var(--winph-background);
}

.page-live__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-live__promo-card .page-live__btn-primary {
  margin-top: 15px;
  width: calc(100% - 30px);
}

/* Mobile App Section */
.page-live__mobile-app-section {
  padding: 60px 20px;
  background-color: var(--winph-background);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-live__mobile-app-content {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
}

.page-live__mobile-app-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.page-live__mobile-app-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-live__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: var(--winph-text-main);
}

.page-live__app-features li {
  margin-bottom: 10px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-live__icon {
  color: var(--winph-primary);
  font-weight: bold;
  font-size: 1.2em;
}

.page-live__app-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Security Section */
.page-live__security-section {
  padding: 60px 20px;
  background-color: var(--winph-background);
}

.page-live__security-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Get Started Section */
.page-live__get-started-section {
  padding: 60px 20px;
  background-color: var(--winph-background);
}

.page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-live__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--winph-primary);
  margin-bottom: 15px;
  border: 2px solid var(--winph-primary);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 211, 107, 0.1);
}

.page-live__step-card .page-live__btn-primary {
  margin-top: 20px;
  width: calc(100% - 30px);
}

/* FAQ Section */
.page-live__faq-section {
  padding: 60px 20px;
  background-color: var(--winph-background);
}

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

.page-live__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
  text-align: left;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: var(--winph-card-bg);
  cursor: pointer;
  border-bottom: 1px solid var(--winph-border);
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #1a1a1a;
}

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

.page-live__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--winph-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 25px;
  background-color: #0d0d0d;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: rgba(255, 246, 214, 0.8);
}

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

.page-live__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* Conclusion Section */
.page-live__conclusion-section {
  padding: 60px 20px;
  background-color: var(--winph-background);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-live__section-title {
    font-size: 2em;
  }

  .page-live__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-live__hero-section {
    padding: 40px 15px;
    padding-top: 10px; /* Still small top padding */
  }

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

  .page-live__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .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__video-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }
  
  .page-live__video,
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-live__hero-image,
  .page-live__game-image,
  .page-live__mobile-app-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__promo-cards,
  .page-live__security-points,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-live__mobile-app-section {
    flex-direction: column;
    gap: 30px;
  }

  .page-live__mobile-app-content,
  .page-live__mobile-app-image-wrapper {
    max-width: 100%;
    width: 100%;
  }

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

  .page-live__faq-question,
  .page-live__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-live__section,
  .page-live__card,
  .page-live__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}