/* style/live.css */

/* Base styles for the page-live scope */
.page-live {
  font-family: Arial, sans-serif;
  color: var(--text-main-color, #FFF6D6); /* Default text color from color scheme */
  line-height: 1.6;
}

/* Variables for consistent styling based on color scheme */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg-color: #111111;
  --background-color-dark: #0A0A0A; /* Assuming body background from shared.css is dark */
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Generic container for consistent padding and max-width */
.page-live__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-live__container--text-center {
  text-align: center;
}

/* Section styling */
.page-live__info-section {
  padding: 60px 0;
  background-color: var(--background-color-dark); /* Ensure dark background for sections */
}

.page-live__section-title {
  font-size: clamp(2em, 2.5vw, 3em); /* H1 font size rule applied to H2 here */
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-live__section-description {
  font-size: 1.1em;
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--background-color-dark);
}

.page-live__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 0;
  margin-bottom: 40px; /* Space between image and content */
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 675px; /* Limit height for aesthetic reasons */
  object-fit: cover;
  border-radius: 8px;
}

.page-live__hero-content {
  position: relative; /* Ensure content is above the image but not overlapping */
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-live__hero-title {
  font-size: clamp(2.5em, 4vw, 3.8em); /* H1 font size rule */
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.page-live__hero-description {
  font-size: 1.2em;
  color: var(--text-main-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-live__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for gradient button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-live__btn-secondary {
  background: var(--card-bg-color); /* Dark background */
  color: var(--primary-color); /* Brand color text */
  border: 2px solid var(--primary-color);
}

.page-live__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--card-bg-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-live__cta-buttons--center {
    text-align: center;
    margin-top: 30px;
}

/* Image Grid */
.page-live__image-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-live__image-card {
  background-color: var(--card-bg-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  padding-bottom: 20px; /* Space for title/text */
}

.page-live__image-card .page-live__image {
  width: 100%;
  height: 250px; /* Fixed height for consistency in cards */
  object-fit: cover;
  display: block;
}

.page-live__image-card-title {
  color: var(--primary-color);
  font-size: 1.4em;
  margin: 15px 15px 5px;
  text-align: center;
}

.page-live__image-card-text {
  color: var(--text-main-color);
  font-size: 0.95em;
  margin: 0 15px;
  text-align: center;
}

/* Game Categories */
.page-live__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
}

.page-live__game-category-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-live__game-category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4), 0 0 10px var(--glow-color);
}

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

.page-live__category-title {
  color: var(--text-main-color);
  font-size: 1.1em;
  font-weight: bold;
}

/* Full width image */
.page-live__image--full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 40px;
  object-fit: cover;
}

.page-live__image--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    margin-top: 40px;
    object-fit: cover;
}

/* Steps list */
.page-live__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  display: grid;
  gap: 30px;
}

.page-live__step-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-live__step-title {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-live__step-description {
  color: var(--text-main-color);
  font-size: 1em;
}

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

.page-live__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

.page-live__faq-title {
  font-size: 1.1em;
  margin: 0;
  color: var(--text-main-color);
}