/* Live Feed Section Styles */
.live-feed-section {
  padding: 80px 0;
  /* background-color: var(--background-color); */
  position: relative;
}

.live-feed-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: flex-start;
}

.game-preview {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.game-preview-image {
  width: 100%;
  height: auto;
  display: block;
}

.game-preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.2) 100%);
  padding: 40px 70px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 24px;
  min-height: 320px;
}

.game-info {
  display: none;
}

.game-subheadline {
  font-family: var(--font-primary-medium);
  font-size: 20px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 0 10px;
  line-height: 1.5;
}

.game-info h3 {
  font-family: var(--font-primary-bold);
  font-size: 36px;
  color: #ffffff;
  margin: 0 0 20px;
  line-height: 1.36;
}

.game-info .game-description {
  font-family: var(--font-primary);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 538px;
  line-height: 1.56;
}

.game-actions {
  display: flex;
  gap: 19px;
}

.game-actions .btn {
  height: 51px;
  padding: 0 34px;
  border-radius: 6px;
  font-family: 'SF Pro Display', var(--font-primary-bold);
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 242px;
}

.game-actions .btn.btn-secondary {
  background: transparent;
  color: #ff7001;
  border: 2px solid #ff9b4d;
  box-shadow: 3.014px 6.027px 18.836px 0px rgba(20, 20, 20, 0.15);
}

.game-actions .btn.btn-primary {
  color: rgba(0, 0, 0, 0.9);
  background: #ff7001;
  background-image: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.7), rgba(255,255,255,0) 70%);
  box-shadow: 3.014px 6.027px 18.836px 0px rgba(20, 20, 20, 0.15), 
              inset 1.507px 1.507px 3.014px 0px #fd7f78;
}

/* Responsive */
@media (max-width: 1200px) {
  .game-preview-overlay {
    padding: 30px 40px;
  }
  .game-info h3 {
    font-size: 32px;
  }
}

@media (max-width: 1024px) {
  .live-feed-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .game-preview {
    aspect-ratio: 16 / 9;
  }
  .game-preview-image {
    height: 100%;
    object-fit: cover;
  }
  .game-preview-overlay {
    top: 0;
    bottom: 0;
    padding: 24px;
    min-height: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .game-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .game-actions {
    flex-direction: column;
    width: 100%;
  }
  .game-actions .btn {
    width: 100%;
    height: 56px;
  }
}

/* Ensure the game preview keeps height when demo is active so iframe is visible */
.game-preview.demo-active {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
}

/* Remove dark overlay/padding when showing the demo iframe embedded */
.game-preview.demo-active .demo-modal {
  background-color: transparent !important;
  padding: 0 !important;
}