/* style/live.css */

/* --- Base Styles & Variables (for .page-live scope) --- */
.page-live {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Main Color */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
  font-size: clamp(2.2em, 4vw, 3.5em); /* H1 clamp for responsiveness */
}

.page-live__subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6; /* Text Main */
}

.page-live__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #000000; /* Ensure contrast on gradient */
  border: 2px solid transparent;
}

.page-live__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-live__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #3A2A12; /* Border */
}

.page-live__btn-secondary:hover {
  background: #F2C14E; /* Main Color */
  color: #000000; /* Ensure contrast */
  transform: translateY(-2px);
}

.page-live__btn-small {
  padding: 8px 20px;
  font-size: 0.9em;
}

/* --- Hero Section --- */
.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 0 60px 0; /* 10px top padding, not --header-offset */
  background-color: #0A0A0A; /* Background */
}

.page-live__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  position: relative;
}

.page-live__hero-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  cursor: pointer; /* Indicates clickability */
}

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

.page-live__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width for mobile adaptation */
  max-width: 400px; /* Max width for button group */
  margin-left: auto;
  margin-right: auto;
}

/* --- About Section --- */
.page-live__about-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
}

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

.page-live__feature-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter card bg */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__feature-icon {
  width: 200px; /* Minimum size */
  height: 200px; /* Minimum size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block; /* Ensure it respects width/height */
  margin-left: auto;
  margin-right: auto;
}

.page-live__feature-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary Color */
  margin-bottom: 10px;
}

.page-live__feature-description {
  color: #FFF6D6; /* Text Main */
}

/* --- Games Section --- */
.page-live__games-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-live__game-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #3A2A12; /* Border */
  display: flex; /* Use flex for internal layout */
  flex-direction: column;
}

.page-live__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block; /* Ensure it respects width/height */
  margin-bottom: 15px;
}

.page-live__game-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-live__game-link {
  color: #F2C14E; /* Main Color */
  text-decoration: none;
}

.page-live__game-link:hover {
  text-decoration: underline;
}

.page-live__game-description {
  color: #FFF6D6; /* Text Main */
  font-size: 0.95em;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1; /* Allows description to take available space */
}

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

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

/* --- Providers Section --- */
.page-live__providers-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
}

.page-live__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for 167x127px images */
  gap: 20px;
  margin-top: 50px;
  justify-items: center;
}

.page-live__provider-logo {
  width: 167px; /* Fixed width */
  height: 127px; /* Fixed height */
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease;
  display: block; /* Ensure it respects width/height */
}

.page-live__provider-logo:hover {
  transform: scale(1.05);
}

/* --- Promotions Section --- */
.page-live__promotions-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-live__promo-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 20px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
}

.page-live__promo-image {
  width: 100%;
  height: 250px; /* Consistent height for promo images */
  object-fit: cover;
  display: block; /* Ensure it respects width/height */
  margin-bottom: 15px;
}

.page-live__promo-title {
  font-size: 1.4em;
  color: #FFD36B; /* Auxiliary Color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-live__promo-description {
  color: #FFF6D6; /* Text Main */
  font-size: 0.95em;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

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

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

/* --- Get Started Section --- */
.page-live__get-started-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
}

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

.page-live__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}