/* style/live.css */

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

.page-live {
  font-family: Arial, sans-serif;
  color: var(--fc178-text-main); /* Text Main for overall page content */
  background-color: var(--fc178-background); /* Background color for the main content area */
  line-height: 1.6;
}

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

.page-live__section-title,
.page-live__h3-title {
  color: var(--fc178-secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-live__section-title {
  font-size: clamp(28px, 4vw, 48px);
  padding-top: 40px;
}

.page-live__h3-title {
  font-size: clamp(22px, 3vw, 32px);
}

.page-live__section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 18px;
  color: #cccccc;
}

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

.page-live__btn-primary,
.page-live__cta-button {
  background: var(--fc178-button-gradient);
  color: #ffffff; /* White text for primary buttons */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-live__btn-primary:hover,
.page-live__cta-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

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

.page-live__btn-secondary:hover {
  background-color: var(--fc178-secondary-color);
  color: var(--fc178-background);
  transform: translateY(-2px);
}

.page-live__small-button {
  padding: 8px 18px;
  font-size: 14px;
}

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

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

.page-live__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-live__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-live__main-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--fc178-secondary-color);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-live__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Why Choose Us Section */
.page-live__why-choose-us-section {
  padding: 80px 0;
}

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

.page-live__feature-item {
  padding: 30px;
}

.page-live__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-live__feature-title {
  font-size: 24px;
  color: var(--fc178-primary-color);
  margin-bottom: 15px;
}

/* Popular Games Section */
.page-live__popular-games-section {
  padding: 80px 0;
}

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

.page-live__game-card {
  padding: 20px;
}

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

.page-live__game-title {
  font-size: 22px;
  color: var(--fc178-primary-color);
  margin-bottom: 10px;
}

.page-live__other-games-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--fc178-border-color);
}

/* Get Started Section */
.page-live__get-started-section {
  padding: 80px 0;
}

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

.page-live__step-item {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-live__step-number {
  width: 50px;
  height: 50px;
  background: var(--fc178-primary-color);
  color: var(--fc178-background);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-live__step-title {
  font-size: 20px;
  color: var(--fc178-primary-color);
  margin-bottom: 15px;
}

/* Providers Section */
.page-live__providers-section {
  padding: 80px 0;
}

.page-live__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  justify-items: center;
}

.page-live__provider-item {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 250px; /* Fixed height for consistency */
}

.page-live__provider-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 5px;
}

.page-live__provider-name {
  font-size: 18px;
  color: var(--fc178-primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live__provider-item p {
  font-size: 14px;
  color: #cccccc;
  line-height: 1.4;
}

/* Promotions Section */
.page-live__promotions-section {
  padding: 80px 0;
}

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

.page-live__promo-card {
  padding: 20px;
}

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

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

.page-live__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
  padding: 80px 0;
}

.page-live__responsible-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-live__responsible-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.page-live__responsible-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-live__responsible-text p {
  margin-bottom: 20px;
  color: #cccccc;
}

/* Mobile App Section */
.page-live__mobile-app-section {
  padding: 80px 0;
}

.page-live__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap-reverse; /* Image on right, text on left for desktop */
  justify-content: center;
}

.page-live__mobile-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.page-live__mobile-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-live__mobile-text p {
  margin-bottom: 20px;
  color: #cccccc;
}

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

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

.page-live__faq-item {
  margin-bottom: 15px;
  text-align: left;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
}

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

.page-live__faq-question h3 {
  margin: 0;
  font-size: 18px;
  color: var(--fc178-background);
}

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

.page-live__faq-toggle {
  font-size: 24px;
  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 25px;
  background-color: var(--fc178-card-bg);
  color: var(--fc178-text-main);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-live__faq-answer p {
  margin: 0;
  color: #cccccc;
}

/* Conclusion Section */
.page-live__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

.page-live__conclusion-section .page-live__cta-buttons {
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-live__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-live__hero-description {
    font-size: 18px;
  }
  .page-live__providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

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

  .page-live__section-title {
    font-size: clamp(24px, 7vw, 36px);
    padding-top: 30px;
  }

  .page-live__h3-title {
    font-size: clamp(20px, 6vw, 28px);
  }

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

  .page-live__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-live__main-title {
    font-size: clamp(30px, 8vw, 45px);
    margin-bottom: 15px;
  }

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

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__cta-button,
  .page-live__small-button {
    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__container {
    padding: 0 15px;
  }

  /* Images and their containers */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__hero-image-wrapper,
  .page-live__providers-grid,
  .page-live__games-grid,
  .page-live__features-grid,
  .page-live__promos-grid,
  .page-live__steps-grid,
  .page-live__responsible-content,
  .page-live__mobile-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-live__provider-item {
    height: auto;
  }

  .page-live__provider-logo {
    width: 100%;
    max-width: 120px;
    height: auto;
  }

  .page-live__responsible-content,
  .page-live__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-live__responsible-text,
  .page-live__mobile-text {
    text-align: center;
  }

  .page-live__faq-question {
    padding: 15px 20px;
  }

  .page-live__faq-question h3 {
    font-size: 16px;
  }

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

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

@media (max-width: 480px) {
  .page-live__hero-section {
    padding-top: 10px !important;
  }
  .page-live__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-live__cta-buttons {
    gap: 10px;
  }
  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__steps-grid,
  .page-live__promos-grid {
    grid-template-columns: 1fr;
  }
  .page-live__provider-item {
    height: auto;
  }
}