body {
  background: #0e0e0e;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  margin-top: 20px;
}

.section-header:first-child {
  margin-top: 0;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.see-all-btn {
  background: #d3d3d3;
  color: #000;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.15s;
}

.see-all-btn:hover {
  background: #b0b0b0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.game-card {
  border: 1px solid #333;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
  overflow: hidden;
}

.game-card:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.game-thumbnail {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.game-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-info {
  padding: 10px;
  background: #1a1a1a;
}

.game-name {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-stats {
  font-size: 12px;
  color: #888;
}

.Header {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.GameName {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.PlayingCount {
  font-size: 12px;
  color: #888;
}

.Thumb {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.Thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-header {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #1a1a1a;
}

.place-thumbnail {
  flex: 0 0 300px;
}

.place-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.place-info {
  flex: 1;
}

.place-title {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.place-creator {
  font-size: 14px;
  color: #4a148c;
  margin-bottom: 16px;
}

.play-btn {
  background: #00b300;
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  transition: 0.15s;
}

.play-btn:hover {
  background: #009900;
}

.place-stats {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #ccc;
}

.place-ad {
  flex: 0 0 150px;
}

.place-ad img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}

.place-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  padding: 0 20px;
}

.tab {
  padding: 12px 0;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: 0.15s;
}

.tab.active {
  color: #fff;
  border-bottom-color: #4a148c;
}

.tab:hover {
  color: #fff;
}

.place-description {
  padding: 20px;
  background: #1a1a1a;
  margin-bottom: 20px;
}

.desc-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.desc-text {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 16px;
}

.desc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 13px;
}

.desc-table th,
.desc-table td {
  padding: 10px;
  text-align: left;
  border: 1px solid #333;
  color: #ccc;
}

.desc-table th {
  background: #0a0a0a;
  color: #fff;
  font-weight: 600;
}

.report-abuse {
  text-align: right;
  font-size: 12px;
  color: #4a148c;
  cursor: pointer;
}

.place-badges {
  padding: 20px;
  background: #1a1a1a;
  margin-bottom: 20px;
}

.badges-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.badge-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
}

.badge-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.badge-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.badge-info {
  flex: 1;
}

.badge-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.badge-desc {
  font-size: 12px;
  color: #ccc;
  margin-bottom: 8px;
}

.badge-stats {
  font-size: 11px;
  color: #888;
}

.place-comments {
  padding: 20px;
  background: #1a1a1a;
  margin-bottom: 20px;
}

.comments-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.comment-input {
  width: 100%;
  padding: 10px;
  background: #0a0a0a;
  border: 1px solid #333;
  color: #fff;
  font-size: 13px;
  margin-bottom: 10px;
}

.comment-input::placeholder {
  color: #666;
}

.comment-btn {
  background: #4a148c;
  color: #fff;
  border: none;
  padding: 8px 20px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.15s;
}

.comment-btn:hover {
  background: #6a1b9a;
}

.no-comments {
  font-size: 13px;
  color: #888;
  margin-top: 10px;
}

.recommended-games {
  padding: 20px;
  background: #1a1a1a;
}

.rec-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
}

.rec-card {
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.rec-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  margin-bottom: 8px;
}

.rec-name {
  font-size: 12px;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rec-stats {
  font-size: 11px;
  color: #888;
}

.place-stats-bar {
  display: flex;
  gap: 30px;
  margin-bottom: 16px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #fff;
}

.stat-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.star-icon {
  filter: hue-rotate(45deg) saturate(1.5);
}

.thumb-icon {
  filter: hue-rotate(120deg) saturate(1.5);
}

.dislike-icon {
  filter: hue-rotate(0deg) saturate(1.5) brightness(0.8);
  transform: scaleX(-1);
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #c41e3a;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 75%;
  background: #00b300;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
  }

  .section-title {
    font-size: 20px;
  }

  .see-all-btn {
    padding: 6px 12px;
    font-size: 14px;
  }

  .place-header {
    flex-direction: column;
    padding: 16px;
  }

  .place-thumbnail {
    flex: 0 0 100%;
    margin-bottom: 16px;
  }

  .place-thumbnail img {
    height: 150px;
  }

  .place-ad {
    flex: 0 0 100%;
    margin-top: 16px;
  }

  .place-tabs {
    padding: 0 16px;
    overflow-x: auto;
  }

  .tab {
    font-size: 14px;
    padding: 12px 16px;
  }

  .place-description,
  .place-badges {
    padding: 16px;
  }

  .desc-title,
  .badges-title {
    font-size: 16px;
  }

  .desc-table {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
  }

  .section-title {
    font-size: 18px;
  }

  .see-all-btn {
    padding: 5px 10px;
    font-size: 12px;
  }

  .place-header {
    padding: 12px;
  }

  .place-thumbnail img {
    height: 120px;
  }

  .place-title {
    font-size: 16px;
  }

  .place-creator {
    font-size: 12px;
  }

  .play-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .place-stats {
    font-size: 12px;
  }

  .tab {
    font-size: 12px;
    padding: 10px 12px;
  }

  .place-description,
  .place-badges {
    padding: 12px;
  }

  .desc-title,
  .badges-title {
    font-size: 14px;
  }

  .badge-item {
    flex-direction: column;
  }

  .badge-item img {
    width: 100%;
    height: 100px;
    margin-bottom: 8px;
  }
}
