

.game-carousel-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.game-carousel-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.game-carousel-header .icon {
  font-size: 20px;
  margin-right: 10px;
}

.game-carousel-header .title {
  font-size: 18px;
  font-weight: bold;
  color: #454545;
}

.game-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.game-carousel-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
}

.game-carousel-scroll::-webkit-scrollbar {
  display: none;
}

.game-carousel-item {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.game-carousel-item video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-carousel-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 4;
}

.game-carousel-item:hover .game-carousel-mask {
  opacity: 1;
}

.game-carousel-link {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, #ff6b00 0%, #e55c00 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  transition: transform 0.3s;
}

.game-carousel-link:hover {
  transform: scale(1.05);
}

.game-carousel-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  z-index: 3;
}

.game-carousel-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
}

.game-carousel-text {
  font-size: 11px;
  margin-bottom: 2px;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.7);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-carousel-control:hover {
  background: rgba(0,0,0,0.9);
  transform: translateY(-50%) scale(1.1);
}

.game-carousel-prev {
  left: 10px;
}

.game-carousel-next {
  right: 10px;
}

/*singleContent video section*/
.singleContent {
  width: 98%;
  max-width: 1400px;
  margin: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.uk-background-default {
  background-color: #fff;
}

.uk-margin-top {
  margin-top: 0px;
}

.home-title {
  margin-bottom: 15px;
  padding-bottom: 12px;
}

.b-b {
  border-bottom: 0px solid #ff6b00;
}

.uk-text-bold {
  font-weight: bold;
  font-size: 18px;
  color: #333;
}

.singleContent video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  background: #000;
}

@media only screen and (max-width: 768px) {
  .singleContent {
    padding: 15px;
    margin-top: 20px;
  }
  
  .uk-text-bold {
    font-size: 16px;
  }
  
  .home-title {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
}

/*game-detail*/
.game-detail-container {
  width: 98%;
  max-width: 1400px;
  margin: 10px auto;
}

.game-detail-header {
  margin-bottom: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.game-detail-header .title {
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

.game-detail-content {
  display: flex;
  gap: 25px;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
}

.game-icon {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-info {
  flex: 1;
  min-width: 0;
}

.game-detail-title {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #444;
}

.game-detail-title .label {
  font-size: 14px;
  color: #666;
}

.game-detail-title .value {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-left: 8px;
}

.game-info-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.info-label {
  font-size: 13px;
  color: #666;
  min-width: 80px;
}

.info-value {
  font-size: 13px;
  color: #333;
  min-width: 120px;
}

.info-value a {
  color: #4a9eff;
  text-decoration: none;
}

.info-value a:hover {
  text-decoration: underline;
}

.game-download {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 140px;
  height: 48px;
  background: linear-gradient(135deg, #ff6b00 0%, #e55c00 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.btn-icon {
  font-size: 14px;
  color: #fff;
  font-weight: bold;
}

.btn-text {
  font-size: 14px;
  color: #fff;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .game-carousel-item {
    width: 220px;
    height: 160px;
  }
  
  .game-carousel-title {
    font-size: 13px;
  }
  
  .game-carousel-text {
    font-size: 10px;
  }
  
  .game-carousel-control {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .game-carousel-prev {
    left: 5px;
  }
  
  .game-carousel-next {
    right: 5px;
  }
  
  .game-detail-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .game-icon {
    width: 120px;
    height: 120px;
  }
  
  .game-info {
    width: 100%;
  }
  
  .info-row {
    justify-content: center;
  }
  
  .game-download {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .download-btn {
    width: 120px;
    height: 42px;
  }
}