body {
  background: #071021;
  color: #fff;
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 500px;
  padding: 20px 15px;
  box-sizing: border-box;
}
.chart-container {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background-color: #111;
  border-radius: 20px;
  box-shadow: 0 0 20px gold;
}
.summary {
  margin-top: 20px;
  font-size: 20px;
  color: gold;
}
#chart {
  background-color: #000;
  border-radius: 12px;
}
.title,
.jackpot-title {
  text-align: center;
  font-size: 20px;
  padding: 10px 0;
  background: #00215b;
  color: #00ff66;
  border-radius: 120px;
  margin-bottom: 10px;
}

.jackpot-amount {
  font-size: 42px;
  font-weight: bold;
  color: #00ff66;
  text-align: center;
  text-shadow: 0 0 10px #00ff66;
  animation: jackpotPulse 1.5s ease-in-out infinite;
}

@keyframes jackpotPulse {
  0%,
  100% {
    text-shadow: 0 0 10px #00ff66;
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 20px #00ff66, 0 0 40px #00ff66;
    transform: scale(1.05);
  }
}

.jackpot-date {
  margin-top: 8px;
  font-size: 14px;
  color: #aaa;
  text-align: center;
}

.online-count {
  margin-top: 12px;
  font-size: 16px;
  color: #fff;
  text-align: center;
}

.online-count .dot {
  color: #00ff44;
  margin-right: 5px;
}

.online-count .count {
  color: #00ff66;
  font-weight: bold;
}

.register-button {
  background: linear-gradient(45deg, #ffeb3b, #ff5722);
  color: #000;
  font-size: 18px;
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 20px #ff5722;
  font-weight: bold;
  animation: pulseButton 2.5s infinite, bounceIn 1s ease;
  margin: 20px;
  transition: all 0.3s ease;
}

.register-button:hover {
  box-shadow: 0 0 30px #ff9800, 0 0 40px #ff5722;
  transform: scale(1.08);
}

@keyframes pulseButton {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@keyframes scroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

@media (max-width: 480px) {
  .jackpot-amount {
    font-size: 32px;
  }

  .withdraw-item {
    font-size: 12px;
    padding: 8px;
  }
  .promo-slider {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 10px #00ff66;
    margin: 10px auto;
  }

  .promo-slider img {
    border-radius: 8px;
  }
}
.promo-slider {
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  border-radius: 10px;
  margin: 20px auto;
  box-shadow: 0 0 20px #00ff66;
}

.promo-slider .slides {
  display: flex;
  animation: slideScroll 15s infinite ease-in-out;
  width: 300%; /* 3 รูป */
}

.promo-slider img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  display: block;
}
.promo-slider:hover .slides {
  animation-play-state: paused;
}

@keyframes slideScroll {
  0%,
  20% {
    transform: translateX(0%);
  }
  25%,
  45% {
    transform: translateX(-100%);
  }
  50%,
  70% {
    transform: translateX(-200%);
  }
  75%,
  100% {
    transform: translateX(0%);
  }
}
.swiper {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  margin: 20px auto;
  box-shadow: 0 0 15px #00ff66;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}
.site-footer {
  background: #040a16;
  color: #ccc;
  padding: 30px 15px;
  margin-top: 40px;
  font-size: 14px;
}

.footer-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo img {
  max-width: 120px;
  margin-bottom: 15px;
}

.footer-content h2 {
  color: #00ff66;
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-content p {
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 12px;
  color: #777;
}

@media (max-width: 480px) {
  .footer-content h2 {
    font-size: 16px;
  }
}
.contact-button {
  background: linear-gradient(45deg, #00e676, #00c853);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 15px #00e676;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background: #00c853;
  box-shadow: 0 0 25px #00e676;
  transform: scale(1.05);
}
.mobile-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background: #2e2e2e96;
  border-top: 1px solid #000000;
  padding: 10px 0;
  z-index: 9999;
}

.mobile-footer a {
  flex: 1;
  margin: 0 5px;
  padding: 12px 0;
  text-align: center;
  font-size: 13px;
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-footer a span.icon {
  font-size: 16px;
  margin-bottom: 4px;
}

.btn-register {
  background-color: #d81b60;
}
.btn-line {
  background-color: #00c300;
}
.btn-telegram {
  background-color: #0088cc;
}

@media (min-width: 768px) {
  .mobile-footer {
    display: none;
  }
}
.withdraw-card {
  background: linear-gradient(45deg, #00ffcea8, #30ff87c4);
  border: 1px solid #333;
  border-radius: 20px;
  padding: 10px;
  margin: 10px auto;
  max-width: 480px;
  color: #fff;
  font-size: 14px;
}

.withdraw-card .top-row,
.withdraw-card .bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.withdraw-card .bank-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.withdraw-card .bank-info img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
/* โซนหัวข้อรายการถอนล่าสุด */
.withdrawal-header {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #d0d0d0;
  text-align: right;
  opacity: 0.9;
}

.withdrawal-header small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.withdrawal-header small::before {
  content: "⏱";
  font-size: 13px;
}

/* ลิสต์การ์ดถอน */
#withdrawalList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* การ์ดถอนแต่ละใบ */
.withdrawal-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(255, 215, 0, 0.12), transparent 55%),
              linear-gradient(135deg, #191919, #101010);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 10px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

/* เส้นประกายบาง ๆ ด้านบนการ์ด */
.withdrawal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  opacity: 0.8;
  transform: translateX(0);
  animation: withdrawal-glow 4s linear infinite;
}

@keyframes withdrawal-glow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(320%);
  }
}

/* ไอคอนโลโก้ธนาคาร */
.withdrawal-card__bank-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 3px;
  background: radial-gradient(circle at top, #ffd700, #b8860b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.withdrawal-card__bank-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

/* เนื้อหาหลักด้านใน */
.withdrawal-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #f5f5f5;
  font-size: 13px;
}

.withdrawal-card__user {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.withdrawal-card__user a {
  color: #ffd56a;
  text-decoration: none;
}

.withdrawal-card__user a:hover {
  text-decoration: underline;
}

.withdrawal-card__amount {
  font-size: 13px;
  opacity: 0.95;
}

.withdrawal-card__amount-value {
  font-weight: 700;
  color: #ffe48a;
}

.withdrawal-card__time {
  font-size: 11px;
  color: #c4c4c4;
}

/* สถานะด้านขวา */
.withdrawal-card__status {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  padding-left: 8px;
  text-align: right;
  min-width: 72px;
}

/* สถานะ: โอนแล้ว */
.withdrawal-card__status--done {
  color: #9cffb0;
}

.withdrawal-card__status--done .withdrawal-card__status-icon {
  color: #4cff71;
}

/* สถานะ: กำลังโอน */
.withdrawal-card__status--pending {
  color: #ffd29f;
}

.withdrawal-card__status--pending .withdrawal-card__status-icon {
  color: #ffb347;
  animation: withdrawal-spin 1s linear infinite;
}

/* ไอคอนสถานะ */
.withdrawal-card__status-icon {
  font-size: 15px;
}

/* หมุน spinner */
@keyframes withdrawal-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive: จอเล็กให้เรียงสองบรรทัด */
@media (max-width: 480px) {
  .withdrawal-card {
    align-items: flex-start;
  }

  .withdrawal-card__status {
    align-items: flex-start;
    text-align: left;
    margin-top: 4px;
  }
}
body > canvas {
  background-color: transparent !important;
  pointer-events: none !important;
  z-index: 999999 !important;
}