
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f2f2f2;
  color: #333;
  line-height: 1.6;
}
header {
  background-color: #0088cc;
  color: white;
  padding: 40px 20px;
  text-align: center;
}
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.game-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
  opacity: 0;
  transform: translateY(20px);
}
.game-card.show {
  opacity: 1;
  transform: translateY(0);
}
.game-card:hover {
  transform: translateY(-5px);
}
.game-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #eee;
}
.game-content {
  padding: 15px;
}
.game-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 6px;
}
.game-desc {
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.game-links a {
  display: inline-block;
  background-color: #0088cc;
  color: #fff;
  padding: 6px 12px;
  margin-right: 8px;
  margin-bottom: 8px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.game-links a:hover {
  background-color: #0071aa;
}
footer {
  text-align: center;
  padding: 20px;
  background: #eee;
  color: #555;
  font-size: 0.9rem;
}
#telegram-bot-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0088cc;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
}
#telegram-form-container {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 1000;
  width: 300px;
}
#telegram-form-container.active {
  display: block;
}
#telegram-form-container input,
#telegram-form-container textarea {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}
#telegram-form-container button {
  background-color: #0088cc;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}
#telegram-form-container button:hover {
  background-color: #0071aa;
}
#close-form {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 16px;
  color: #aaa;
  cursor: pointer;
}
