/* style/live.css */

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

.page-live {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--jilicrown-text-main); /* Ensure light text on dark body background */
  background-color: var(--jilicrown-bg);
  padding-top: 10px; /* Small top padding for main content, body handles --header-offset */
}

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

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

.page-live__dark-section {
  background-color: var(--jilicrown-card-bg);
  color: var(--jilicrown-text-main);
}

/* Typography */
.page-live__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--jilicrown-secondary);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-live__hero-title {
  font-weight: 700;
  color: var(--jilicrown-secondary);
  text-align: center;
  line-height: 1.2;
  /* Using clamp for responsive font size, avoiding fixed large values */
  font-size: clamp(2.5em, 5vw, 3.5em);
  max-width: 900px;
  margin: 0 auto 20px auto;
}

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

.page-live__feature-title,
.page-live__game-card-title,
.page-live__promo-title,
.page-live__step-title {
  font-size: 1.5em;
  color: var(--jilicrown-secondary);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: center;
}

.page-live__game-card-title a {
  color: var(--jilicrown-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__game-card-title a:hover {
  color: var(--jilicrown-primary);
}

.page-live__feature-text,
.page-live__game-card-description,
.page-live__promo-text,
.page-live__step-text {
  font-size: 1em;
  color: rgba(255, 246, 214, 0.7);
  text-align: center;
}

.page-live p {
  color: var(--jilicrown-text-main);
  margin-bottom: 1em;
}

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  border: none;
}

.page-live__btn-primary {
  background: var(--jilicrown-button-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-live__btn-secondary:hover {
  background: var(--jilicrown-secondary);
  color: var(--jilicrown-bg);
}

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

.page-live__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--jilicrown-bg);
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-live__hero-content-wrapper {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
}

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

/* About Section */
.page-live__about-section {
  background-color: var(--jilicrown-bg);
}

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

.page-live__feature-item {
  background-color: var(--jilicrown-card-bg);
  border: 1px solid var(--jilicrown-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-live__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Games Section */
.page-live__game-category-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.page-live__game-category-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--jilicrown-primary);
  color: var(--jilicrown-bg);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-live__game-category-item:hover {
  background-color: var(--jilicrown-secondary);
  color: var(--jilicrown-bg);
}

.page-live__game-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

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

.page-live__game-card {
  background-color: var(--jilicrown-card-bg);
  border: 1px solid var(--jilicrown-border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-live__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Experience Section */
.page-live__experience-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-live__experience-image {
  flex: 1;
  min-width: 300px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}