body {
  font-family: Arial, sans-serif;
  background-color: #faf3e0; /* 파스텔톤 배경색 추가 */
  color: #333;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}

th {
  background-color: #f7e7b5; /* 파스텔톤 골드 배경색 */
  color: #7f6a00; /* 어두운 골드 텍스트 색상 */
}

tr:nth-child(even) {
  background-color: #fff7e6; /* 파스텔톤 골드 배경색 */
}

.footer-light {
  background-color: #faf3e0;
}

.slim-footer {
  padding-top: 1px;
  padding-bottom: 1px;
}

#statsTable,
#statsTable2 {
  display: none;
  width: 100%;
  margin: 20px auto;
}

#statsTable td,
#statsTable2 td {
  max-width: 150px;
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#statsTable td:nth-child(1),
#statsTable2 td:nth-child(1) {
  max-width: 100px;
}

@media screen and (max-width: 768px) {
  .stats-table td,
  .stats-table th,
  .game-data-table td,
  .game-data-table th {
    font-size: 11px;
  }
  th {
    white-space: normal !important;
  }
  .game-data-table {
    margin-left: 5px;
    margin-right: 5px;
  }
}

.stats-table,
.game-data-table {
  font-size: 14px;
  width: 100%;
  border-collapse: collapse;
}

.stats-table th,
.stats-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.stats-table tr:nth-child(even) {
  background-color: #fff7e6;
}

.stats-table tr:hover {
  background-color: #f9e2af;
  min-height: 30px;
}

.stats-table th {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #f7e7b5;
  color: #7f6a00;
}

.subtitle-stats {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #d4af37;
  color: #ffffff;
  text-align: center;
}

.custom-form-check {
  width: 250px;
}

.custom-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

#playerListTable {
  font-size: 0.9em;
  width: 100%;
}

#playerListTable th {
  cursor: pointer;
}

#playerListTable td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-list-table {
  max-width: 800px;
  margin: auto;
}

.chart-container {
  position: relative;
  height: 50vh;
  width: 100%;
}

.visitor-stats {
  font-size: 0.8rem;
  margin-left: 5px;
  margin-right: 5px;
}

.table-container {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.table-responsive {
  flex: 1;
  margin-right: 5px;
}

.table-responsive:last-child {
  margin-right: 0;
}

.footer {
  background-color: #faf3e0;
  font-size: 14px;
  text-align: center;
  margin-top: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #7f6a00;
}

.modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.no-wrap {
  white-space: nowrap;
}

footer i {
  margin-right: 5px;
  color: #d4af37;
}

.buymeacoffee-container {
  height: 40px;
}

.buymeacoffee-container img {
  height: 100%;
  width: auto;
}

.grey-color {
  color: grey;
}

.kakao-pay-container {
  display: inline-flex;
  align-items: center;
}

#kakaoPayIcon {
  max-height: 60px;
  margin-right: 5px;
}

#kakaoPayModal .modal-dialog {
  max-width: 90%;
  max-height: 90%;
}

#kakaoPayModal .modal-body img {
  max-width: 100%;
  max-height: 100%;
}

@media (min-width: 768px) {
  #kakaoPayModal .modal-dialog {
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  #kakaoPayModal .modal-dialog {
    max-width: 30%;
  }
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.center {
  text-align: center;
}

.center iframe {
  display: block;
  margin: 0 auto;
}

#videoGallerySection {
  padding-top: 20px;
  padding-bottom: 20px;
}

.nav-link.active,
.nav-link:hover {
  color: #d4af37;
}

img.trophy,
img.medal {
  width: 80px;
  height: 80px;
}

.tooltip {
  position: absolute;
  z-index: 9999;
  background-color: #000;
  color: #fff;
  padding: 4px 8px;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
}

.ad-container {
  max-width: 100%;
  max-height: 90px;
}

@media (min-width: 768px) {
  .ad-container {
    max-width: 728px;
    margin: 0 auto;
  }
}

@media (min-width: 992px) {
  .ad-container {
    max-width: 970px;
    margin: 0 auto;
  }
}

@media (min-width: 1200px) {
  .ad-container {
    max-width: 1200px;
    margin: 0 auto;
  }
}

.adsense_responsive_1 {
  width: 320px;
  height: 60px;
}

@media (min-width: 500px) {
  .adsense_responsive_1 {
    width: 468px;
    height: 60px;
  }
}

@media (min-width: 800px) {
  .adsense_responsive_1 {
    width: 728px;
    height: 90px;
  }
}

.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
