body {
    font-family: "DM Sans", sans-serif;
    background-color: #FCF8EE;
    color: #333;
    margin: 0;
    padding: 0 00px;
    overflow-x: hidden;
    align-items: center; /* Supaya tetap di tengah horizontal */
    width: 100vw;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 15px 30px;
    color: white;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.news {
    text-align: center;
    padding: 40px 20px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: auto;
}

.news-item {
    display: flex;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.news-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.news-item img {
    width: 180px;
    height: auto;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}

.news-content {
    text-align: left;
}

.news-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.news-content p {
    color: #555;
}

.news-content span {
    font-size: 0.9em;
    color: #888;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer-content ul {
    list-style: none;
    padding: 0;
}

.footer-content a {
    color: white;
    text-decoration: none;
}

    .game-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 20px;
  margin: 20px auto;
  font-family: 'Arial', sans-serif;
}

.game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.game-item img {
  width: 120px; /* Ukuran gambar dikurangi */
  height: 120px;
  object-fit: cover;
  border-radius: 50%; /* Bikin bulat */
  margin-bottom: 15px;
  border: 3px solid #eee;
}

.game-item h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.game-item p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.4;
}

.game-item p strong {
  color: #444;
}