.header-section {
  padding: 50px 0 50px;
}

.project-title {
  font-size: 2.5rem;
  font-weight: bold;
}

.tech-badge {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 20px;
  margin: 5px;
  display: inline-block;
  font-weight: bold;
  font-size: 14px;
}

.project-content {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: -50px;
  position: relative;
}

.project-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-container {
  position: relative;
  margin: 30px 0;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(240, 240, 240, 0.7);
  color: var(--secondary-color);
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav:hover {
  background: rgba(224, 224, 224, 0.8);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.gallery-nav i {
  font-size: 24px;
}

.gallery-image {
  position: relative;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-image:hover .image-caption {
  opacity: 1;
}

.main-image-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: 20px;
}

.main-image-container img,
.main-image-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.preview-container {
  margin-bottom: 20px;
  overflow-x: auto;
  position: relative;
}

.thumbnail-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: 2px;
}

.thumbnail {
  position: relative;
  flex: 0 0 calc(20% - 8px);
  padding-top: calc(11.25% - 8px);
  cursor: pointer;
}

.thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  transition: opacity 0.3s;
}

.thumbnail.active img {
  border: 2px solid var(--secondary-color);
}

.thumbnail:hover img {
  opacity: 0.8;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.game-banner {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  aspect-ratio: 2/1;
  object-fit: cover;
}

.game-description {
  margin-bottom: 20px;
}

.project-date {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

.project-info-label {
  color: black;
  font-weight: bold;
}

.project-info-value {
  color: var(--secondary-color);
  font-weight: bold;
}

.project-info-item {
  margin-bottom: 10px;
}

.project-content h2 {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

.game-about-content {
  line-height: 1.6;
}

.technologies-list {
  list-style: none;
  padding: 0;
}

.technologies-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(52, 152, 219, 0.2);
  color: var(--primary-color);
}

.technologies-list li:last-child {
  border-bottom: none;
}

.game-about-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.game-about-content h3 {
  color: var(--primary-color);
  font-weight: bold;
  margin: 1.5rem 0 1rem;
  font-size: 1.3rem;
}

.technologies-list a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.technologies-list a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}