body {
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 20px;
  background-color: #f8f9fa;
}

#container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
  padding: 20px;
}

.item {
}

.item h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
  font-size: 1.4em;
}

.demo-link {
  display: block;
  text-decoration: none;
  margin-bottom: 10px;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.description-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  padding: 20px;
  padding-top: 40px;
}

.image-container:hover .description-overlay {
  transform: translateY(0);
}

.description-content {
  text-align: center;
}

.description-content h3 {
  margin: 0 0 8px 0;
  font-size: 1.1em;
  font-weight: 600;
  color: white;
}

.description-content p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.4;
  color: white;
  opacity: 0.95;
}

.button-group {
  display: flex;
  gap: 8px;
}

.button-group div {
  flex: 1;
  cursor: pointer;
  height: 40px;
  line-height: 40px;
}

.button-group a {
  flex: 1;
  height: 40px;
  line-height: 40px;
  text-decoration: none;
  color: black;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.button-group a:visited {
  color: black;
}

.button-group .btn-green {
  background: #a8cbaa;
  border: 1px solid #002902;
}

.button-group .btn-green:hover {
  color: white;
  background: #002902;
  transform: translateY(-1px);
}

.button-group .btn-info {
  background: #b1b1b1;
  border: 1px solid #272727;
}

.button-group .btn-info:hover {
  color: white;
  background: #272727;
  transform: translateY(-1px);
}

.button-group .btn-youtube {
  background: #ff0000;
  border: 1px solid #cc0000;
  color: white;
  width: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-group .btn-youtube:hover {
  background: #cc0000;
  color: white;
  transform: translateY(-1px);
}

.button-group .btn-youtube:visited {
  color: white;
}

table {
  margin: 0 auto;
}

th,
td {
  padding: 10px;
}

hr {
  margin: 40px 20px;
  border: none;
  height: 1px;
  background: #ddd;
}

h3 {
  color: #333;
  margin-top: 30px;
}

p {
  margin: 15px auto;
  line-height: 1.6;
  color: #555;
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  #container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  body {
    padding: 10px;
  }
}

@media screen and (max-width: 480px) {
  #container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .description-overlay {
    padding: 15px;
    padding-top: 30px;
  }
  
  .description-content h3 {
    font-size: 1em;
  }
  
  .description-content p {
    font-size: 0.85em;
  }
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn.twitter {
  background: #000000;
  color: white;
  border-color: #333333;
}

.social-btn.twitter:hover {
  background: #333333;
}

.social-btn.twitter:visited {
  color: white;
}

.social-btn.youtube {
  background: #ff0000;
  color: white;
  border-color: #cc0000;
}

.social-btn.youtube:hover {
  background: #cc0000;
}

.social-btn.youtube:visited {
  color: white;
}

.social-btn.itch {
  background: #fa5c5c;
  color: white;
  border-color: #e74c3c;
}

.social-btn.itch:hover {
  background: #e74c3c;
  color: white;
}

.social-btn.itch:visited {
  color: white;
}

@media screen and (max-width: 480px) {
  .social-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .social-btn {
    width: 200px;
    justify-content: center;
  }
}
