body {
  margin: 0;
  font-family: 'Noto Sans Thai', sans-serif;
  background: url('../images/kvbg2.png') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}

.top-menu {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 0;
}

.menu-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-left a img {
  margin: 0 30px;
  height: 55px;
  transition: transform 0.1s;
}
.menu-left a img:hover {
  transform: scale(1.1);
}

.logo-header {
  text-align: center;
  padding: 30px 0 10px;
}

@keyframes pulse-logo {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.logo {
  max-width: 300px;
  height: auto;
  animation: pulse-logo 2s infinite ease-in-out;
}

.main-area {
  max-width: 1400px;
  margin: 10px auto;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start; /* ? ????????????????????????? */
}

.side-banner {
  width: 250px;
  margin-top: -350px; /* ?? ???????? */
}

.side-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -70px;
  margin-left: -10px; /* ?? ???????????????????????????? */
}


.side-left img {
  max-width: 240px;
  height: auto;
  margin-top: 100px; /* ? ????????? */
}

.online-status-panel {
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 250px;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  margin-top: -230px;     /* ???????? */
  margin-left: -30px;    /* ?? ????????????? */
}

.online-box-item {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #fff;
}
.online-label {
  font-weight: bold;
  font-size: 12px;
  color: #f0c674;
}
.online-value {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.online-green {
  color: #4cd964;
}

.news-box {
  flex: 5;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.news-bg {
  background: url('../images/eddga-studio_09.png') no-repeat center center;
  background-size: cover;
  min-height: 150%;
  padding: 100px;
  border-radius: 25px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news-bg h2 {
  font-size: 0px;
  margin-top: 10;
  margin-bottom: 10px;
  border-bottom: 12px solid #000;
  padding-bottom: 30px;
}
.news-bg ul {
  list-style: none;
  padding-left: 0;
  margin: 10;
}
.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-left: 0;
  margin-bottom: 25px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  font-size: 15px;
}
.news-text {
  font-size: 13px;
  flex: 1;
  color: #fff;
  word-break: break-word;
}
.news-time {
  white-space: nowrap;
  font-size: 11px;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-time i {
  color: #f0c674;
}

.side-banner {
  width: 250px;
}
.banner-buttons {
  background: url('../images/eddga-studio_10.png') no-repeat top left;
  background-size: contain;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
}
.main-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 80px;
}
.main-buttons a img {
  height: 60px;
  width: auto;
  transition: transform 0.2s;
}
.main-buttons a img:hover {
  transform: scale(1.05);
}

.server-image-container {
  position: relative;
  max-width: 240px;
  margin-top: 40px;
}

.server-image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ? ?????????????????????????? */
.server-info-overlay {
  position: absolute;
  bottom: 115px;
  left: 0px;
  right: 15px;
  color: #fff;
  padding: 8px;
  font-size: 13px;
  border-radius: 6px;
  text-align: center;
  line-height: 1.4;
  pointer-events: none; /* ?????????????????? */
}

/* ???????? */
.download-page {
  text-align: center;
  margin-top: 150px;
  color: white;
}

.download-button {
  background-color: #f0c674;
  color: black;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.2s;
}
.download-button:hover {
  transform: scale(1.05);
}
