* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('../img/02.jpg'); /* กำหนดภาพพื้นหลัง */
    background-size: cover;               /* ปรับขนาดภาพให้ครอบคลุมพื้นที่ */
    background-repeat: no-repeat;         /* ไม่ให้ภาพพื้นหลังซ้ำ */
    background-attachment: fixed;        /* ภาพพื้นหลังคงที่เมื่อเลื่อนหน้า */
    background-position: center;    /* จัดตำแหน่งภาพพื้นหลังให้อยู่ตรงกลาง */
}

/* เมนูด้านบน */
nav {
  position: sticky;
  top: 10px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: min(94%, 950px);
  margin: 12px auto;
  padding: 10px 16px;

  border: 1px solid rgba(57, 255, 112, 0.75);
  border-radius: 18px;

  /* พื้นหลังเขียวเข้มแบบกระจก */
  background: linear-gradient(
    135deg,
    rgba(4, 35, 18, 0.94),
    rgba(5, 75, 31, 0.86)
  );

  /* แสงสีเขียว */
  box-shadow:
    0 0 10px rgba(57, 255, 112, 0.5),
    0 0 28px rgba(0, 255, 102, 0.28),
    inset 0 0 18px rgba(57, 255, 112, 0.12);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  overflow: hidden;
}

/* วงแสงตกแต่งด้านใน */
nav::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 120px;
  top: -80px;
  right: 8%;
  border-radius: 50%;
  background: rgba(57, 255, 112, 0.18);
  filter: blur(28px);
  pointer-events: none;
}

nav::after {
  content: "";
  position: absolute;
  left: 4%;
  bottom: 0;
  width: 35%;
  height: 2px;
  border-radius: 50%;
  background: linear-gradient(
    90deg,
    transparent,
    #39ff70,
    transparent
  );
  box-shadow: 0 0 12px #39ff70;
}

nav img,
nav div {
  position: relative;
  z-index: 1;
}

nav img {
  display: block;
  width: 125px;
  max-height: 52px;
  object-fit: contain;

  /* แสงโลโก้สีเขียว */
  filter:
    drop-shadow(0 0 4px rgba(57, 255, 112, 0.8))
    drop-shadow(0 0 12px rgba(0, 255, 102, 0.55));

  transition: transform 0.3s ease, filter 0.3s ease;
}

nav img:hover {
  transform: scale(1.06);
  filter:
    drop-shadow(0 0 7px rgba(57, 255, 112, 1))
    drop-shadow(0 0 20px rgba(0, 255, 102, 0.9));
}

/* ปุ่มสมัครสมาชิก */
#สมัครสมาชิก {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding: 11px 24px;
  border: 1px solid rgba(155, 255, 184, 0.8);
  border-radius: 12px;

  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;

  background: linear-gradient(135deg, #047a32, #10b94f, #39ff70);
  background-size: 220% 220%;

  box-shadow:
    0 0 8px rgba(57, 255, 112, 0.8),
    0 0 20px rgba(0, 255, 102, 0.48),
    inset 0 1px 1px rgba(255, 255, 255, 0.28),
    inset 0 -8px 16px rgba(0, 65, 22, 0.2);

  animation: สีปุ่มสมัคร 3.5s ease infinite;
  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

/* ชั้นเงาเข้มด้านล่าง ให้ปุ่มดูมีมิติ */
#สมัครสมาชิก::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16),
    transparent 45%,
    rgba(0, 45, 15, 0.22)
  );
  pointer-events: none;
}

/* แสงวิ่งบนปุ่ม */
#สมัครสมาชิก::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -20%;
  left: -140%;
  width: 55%;
  height: 140%;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.15),
    transparent
  );

  transform: skewX(-24deg);
  animation: แสงวิ่งปุ่มสมัคร 3s ease-in-out infinite;
}

#สมัครสมาชิก:hover {
  transform: translateY(-3px) scale(1.04);
  filter: brightness(1.1) saturate(1.15);

  box-shadow:
    0 0 12px rgba(57, 255, 112, 1),
    0 0 30px rgba(0, 255, 102, 0.7),
    0 0 48px rgba(0, 255, 102, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

#สมัครสมาชิก:active {
  transform: translateY(0) scale(0.96);
  filter: brightness(0.95);
}

@keyframes สีปุ่มสมัคร {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes แสงวิ่งปุ่มสมัคร {
  0%,
  55% {
    left: -140%;
  }

  100% {
    left: 160%;
  }
}

@media (max-width: 480px) {
  #สมัครสมาชิก {
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 13px;
  }
}

#โลโก้ img {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto 60px;

  /* แสงสีเขียวนีออน */
  filter:
    drop-shadow(0 0 5px rgba(57, 255, 112, 0.9))
    drop-shadow(0 0 14px rgba(0, 255, 102, 0.7))
    drop-shadow(0 0 30px rgba(0, 255, 102, 0.35));

  animation: โลโก้เรืองแสง 2.5s ease-in-out infinite;
}

@keyframes โลโก้เรืองแสง {
  0%,
  100% {
    filter:
      drop-shadow(0 0 5px rgba(57, 255, 112, 0.75))
      drop-shadow(0 0 14px rgba(0, 255, 102, 0.55))
      drop-shadow(0 0 25px rgba(0, 255, 102, 0.25));
    transform: scale(1);
  }

  50% {
    filter:
      drop-shadow(0 0 8px rgba(110, 255, 145, 1))
      drop-shadow(0 0 22px rgba(0, 255, 102, 0.9))
      drop-shadow(0 0 45px rgba(0, 255, 102, 0.5));
    transform: scale(1.025);
  }
}

#โลโก้ img:hover {
  animation-play-state: paused;
  transform: scale(1.06);
  filter:
    drop-shadow(0 0 10px #7dff9e)
    drop-shadow(0 0 28px #39ff70)
    drop-shadow(0 0 55px rgba(0, 255, 102, 0.75));
}
/* กล่องจำนวนผู้เล่นออนไลน์ */
/* โลโก้ */
#โลโก้ img {
  width: min(300px, 75vw);
  height: auto;
  display: block;
  margin: 18px auto 55px;
  filter:
    drop-shadow(0 0 7px rgba(35, 255, 137, 0.9))
    drop-shadow(0 0 22px rgba(0, 190, 90, 0.6));
  animation: โลโก้เรืองแสง 2.4s ease-in-out infinite alternate;
}

@keyframes โลโก้เรืองแสง {
  from {
    transform: scale(1);
    filter:
      drop-shadow(0 0 6px rgba(35, 255, 137, 0.7))
      drop-shadow(0 0 16px rgba(0, 190, 90, 0.45));
  }
  to {
    transform: scale(1.035);
    filter:
      drop-shadow(0 0 13px rgba(79, 255, 158, 1))
      drop-shadow(0 0 32px rgba(0, 225, 105, 0.8));
  }
}

/* กล่องจำนวนผู้เล่น */
.ผู้เล่น {
  position: relative;
  overflow: hidden;
  width: min(92%, 420px);
  margin: -50px auto 20px;
  padding: 16px 20px;
  text-align: center;
  border: 1px solid rgba(70, 255, 153, 0.85);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(3, 30, 18, 0.96),
    rgba(5, 72, 39, 0.9),
    rgba(1, 38, 21, 0.96)
  );
  box-shadow:
    0 0 12px rgba(23, 255, 125, 0.65),
    0 0 30px rgba(0, 185, 86, 0.38),
    inset 0 0 20px rgba(51, 255, 143, 0.12);
  backdrop-filter: blur(10px);
}

.ผู้เล่น::before {
  content: "";
  position: absolute;
  inset: -80%;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(71, 255, 153, 0.34),
    transparent 30%
  );
  animation: แสงหมุนผู้เล่น 5s linear infinite;
}

.ผู้เล่น p,
#ผู้เล่น {
  position: relative;
  z-index: 1;
}

.ผู้เล่น p {
  margin: 0 0 7px;
  color: #d8ffe8;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-shadow: 0 0 8px rgba(160, 255, 204, 0.5);
}

#ผู้เล่น {
  display: inline-block;
  color: #57ffad;
  font-size: clamp(27px, 6vw, 34px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 1px;
  text-shadow:
    0 0 6px #62ffb3,
    0 0 15px #20df78,
    0 0 30px rgba(0, 255, 120, 0.85);
  animation: กระพริบผู้เล่น 1.4s ease-in-out infinite alternate;
}

@keyframes แสงหมุนผู้เล่น {
  to {
    transform: rotate(360deg);
  }
}

@keyframes กระพริบผู้เล่น {
  from {
    opacity: 0.78;
    transform: scale(0.98);
    filter: brightness(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1.06);
    filter: brightness(1.28);
  }
}

@media (max-width: 480px) {
  #โลโก้ img {
    margin: 12px auto 48px;
  }

  .ผู้เล่น {
    margin-top: -40px;
    padding: 14px 15px;
    border-radius: 15px;
  }
}

.กล่องปุ่ม {
  display: flex;
  justify-content: center;
  padding: 24px;
  margin-top: 0px; /* ระยะห่างด้านบน */
}

#สมัครสมาชิก1 {
  position: relative;
  overflow: hidden;
  min-width: 300px;
  padding: 15px 34px;
  border: 2px solid rgba(128, 255, 170, 0.85);
  border-radius: 14px;
  background: linear-gradient(120deg, #003d20, #008b45, #00c864);
  color: #fff;
  font-family: "Noto Sans Thai", sans-serif;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 0 8px #00ff73,
    0 0 22px rgba(0, 255, 115, 0.7),
    inset 0 0 16px rgba(143, 255, 183, 0.25);
  transition: 0.3s ease;
}

/* ลำแสงวิ่งแนวนอน */
#สมัครสมาชิก1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(213, 255, 226, 0.15),
    rgba(255, 255, 255, 0.95),
    rgba(213, 255, 226, 0.15),
    transparent
  );
  transform: skewX(-25deg);
  animation: light-sweep 2.4s ease-in-out infinite;
}

/* แสงเรืองรอบปุ่ม */
#สมัครสมาชิก1::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 18px rgba(183, 255, 205, 0.55);
  animation: pulse-green 1.6s ease-in-out infinite alternate;
}

#สมัครสมาชิก1:hover {
  transform: translateY(-4px);
  background: linear-gradient(120deg, #005c2e, #00b857, #20eb81);
  box-shadow:
    0 0 14px #65ff9c,
    0 0 38px rgba(0, 255, 115, 0.85),
    0 0 70px rgba(0, 255, 115, 0.45);
}

#สมัครสมาชิก1:active {
  transform: translateY(0) scale(0.97);
}

@keyframes light-sweep {
  0%,
  35% {
    left: -120%;
  }
  70%,
  100% {
    left: 150%;
  }
}

@keyframes pulse-green {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

.แอดไลน์ {
  display: flex; /* ใช้ Flexbox ในการจัดเรียง */
  justify-content: center; /* จัดกึ่งกลางในแนวนอน */
  padding: 24px; /* ระยะห่างภายในกล่อง */
  margin-top: -20px; /* ระยะห่างด้านบน */
}

#แอดไลน์ {
  position: relative; /* ทำให้สามารถวาง pseudo-element ได้ */
  overflow: hidden; /* ซ่อนส่วนที่เกินของ pseudo-element */
  min-width: 300px; /* กำหนดความกว้างขั้นต่ำของปุ่ม */
  padding: 15px 34px;
  border: 1px solid rgba(125, 255, 176, 0.9);
  border-radius: 12px;
  background: #062d1a;
  color: #dffff0;
  font-family: "Noto Sans Thai", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow:
    0 0 0 2px rgba(0, 230, 118, 0.15),
    0 8px 25px rgba(0, 255, 115, 0.28);
  transition: 0.3s ease;
}

/* เส้นแสงวิ่งรอบขอบ */
#แอดไลน์::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 120deg,
    #7dffb0 170deg,
    #00ff73 210deg,
    transparent 270deg,
    transparent 360deg
  );
  animation: border-run 2.2s linear infinite;

  /* ทำให้เหลือเฉพาะขอบ */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* แสงสะท้อนวิ่งบนปุ่ม */
#แอดไลน์::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(159, 255, 196, 0.5),
    transparent
  );
  transform: skewX(-25deg);
  animation: shine-run 3s ease-in-out infinite;
}

#แอดไลน์:hover {
  transform: translateY(-4px);
  background: #074524;
  color: #fff;
  box-shadow:
    0 0 16px rgba(72, 255, 143, 0.75),
    0 0 42px rgba(0, 230, 118, 0.45);
}

#แอดไลน์:active {
  transform: translateY(0) scale(0.97);
}

@keyframes border-run {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shine-run {
  0%,
  45% {
    left: -120%;
  }
  75%,
  100% {
    left: 150%;
  }
}
:root {
  --green-dark: #062b18;
  --green-main: #10b981;
  --green-light: #86efac;
  --green-neon: #39ff88;
}

.แจ็คพอตรวม {
  position: relative; /* ทำให้สามารถวาง pseudo-element ได้ */
  overflow: hidden; /* ซ่อนส่วนที่เกินของ pseudo-element */
  padding: 26px; /* ระยะห่างภายในกล่อง */
  width: min(92vw, 440px); /* กำหนดความกว้างของกล่อง */
  box-sizing: border-box; /* รวม padding และ border ในความกว้าง */
  margin: 20px auto; /* จัดกึ่งกลางกล่อง */
  padding: clamp(16px, 5vw, 26px); /* ระยะห่างภายในกล่อง */
  border: 1px solid rgba(57, 255, 136, 0.65); /* สีขอบและความกว้างของขอบ */
  border-radius: 22px; /* มุมโค้งของกล่อง */
  background: /* พื้นหลังแบบไล่เฉดสีและแสง */
    radial-gradient(circle at top right, rgba(57, 255, 136, 0.22), transparent 42%),
    linear-gradient(135deg, #031b0e, var(--green-dark));
  box-shadow:
    0 0 0 1px rgba(134, 239, 172, 0.1) inset,
    0 18px 45px rgba(0, 0, 0, 0.42),
    0 0 30px rgba(16, 185, 129, 0.22);
  color: #f0fdf4;
  font-family: "Noto Sans Thai", system-ui, sans-serif;
}

.แจ็คพอตรวม::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 14px,
    rgba(134, 239, 172, 0.03) 14px 15px
  );
  content: "";
  pointer-events: none;
}

.แจ็คพอตรวม h2 {
  position: relative;
  margin: 0 0 22px;
  color: #dcfce7;
  font-size: 25px;
  letter-spacing: 0.4px;
  text-align: center;
}

.มูลค่ารวม {
  position: relative;
  padding: 22px 16px;
  border: 1px solid rgba(134, 239, 172, 0.35);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}

.มูลค่ารวม span,
.สถิติ span {
  color: #a7f3d0;
  font-size: 14px;
}

#ยอดแจ็คพอต {
  display: block;
  margin-top: 7px;
  color: var(--green-neon);
  font-size: clamp(32px, 7vw, 46px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 0 0 8px rgba(57, 255, 136, 0.8),
               0 0 25px rgba(16, 185, 129, 0.55);
}

.สถิติแจ็คพอต {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.สถิติ {
  padding: 15px 10px;
  border: 1px solid rgba(74, 222, 128, 0.22);
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.09);
  text-align: center;
  transition: 0.25s ease;
}

.สถิติ b {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  font-size: 25px;
}

.สถิติ:hover {
  border-color: rgba(57, 255, 136, 0.75);
  background: rgba(16, 185, 129, 0.18);
  transform: translateY(-3px);
}

.แจ็คพอตรวม:hover {
  box-shadow:
    0 0 0 1px rgba(134, 239, 172, 0.18) inset,
    0 20px 50px rgba(0, 0, 0, 0.48),
    0 0 42px rgba(16, 185, 129, 0.38);
}

:root {
  --bg: #071b12;
  --card: #0c2b1b;
  --card-light: #123b25;
  --border: #2dd46f;
  --text: #f0fff5;
  --muted: #a8dcb9;
  --accent: #d7ff4f;
  --success: #52f58e;
}

.รายการถอนเงิน {
  width: min(92vw, 500px);
  box-sizing: border-box;
  margin: 24px auto;
  padding: clamp(16px, 4vw, 24px);
  border: 1px solid rgba(45, 212, 111, 0.55);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 255, 79, 0.12), transparent 35%),
    linear-gradient(160deg, #0f3a23, var(--bg));
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.รายการถอนเงิน-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  margin-top: 11px;
  border: 1px solid rgba(168, 220, 185, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 59, 37, 0.96), rgba(7, 27, 18, 0.96));
  animation: รายการเข้า 0.45s ease both;
  transition: 0.25s ease;
}

.รายการถอนเงิน-item:hover {
  border-color: rgba(82, 245, 142, 0.65);
  background: rgba(24, 85, 48, 0.9);
  transform: translateX(3px);
}

.ข้อมูลผู้ถอน {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.รูปธนาคาร {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 4px;
  border: 2px solid rgba(215, 255, 79, 0.75);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(215, 255, 79, 0.22);
  object-fit: contain;
}

.ข้อมูลผู้ถอน strong,
.ข้อมูลผู้ถอน small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ข้อมูลผู้ถอน strong {
  color: #f4fff7;
}

.ข้อมูลผู้ถอน small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.ยอดถอน {
  flex-shrink: 0;
  text-align: right;
}

.จำนวนเงินถอน {
  color: var(--accent);
  font-size: 17px;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(215, 255, 79, 0.35);
}

.โอนสำเร็จ {
  display: block;
  margin-top: 3px;
  color: var(--success);
  font-size: 12px;
}

@keyframes รายการเข้า {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== เว็บใหญ่บริการ | ธีมม่วง-ชมพู นีออน ===== */
.เว็บใหญ่บริการ {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 22px 12px;
  box-sizing: border-box;
}

#เว็บใหญ่บริการ {
  position: relative;
  width: min(94vw, 1080px);
  overflow: hidden;
  border: 2px solid #c084fc;
  border-radius: 20px;
  background: linear-gradient(135deg, #16052d, #2b0a4b, #120220);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.45),
    0 0 14px rgba(192, 132, 252, 0.55),
    0 0 40px rgba(236, 72, 153, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* กรอบแสงด้านใน */
#เว็บใหญ่บริการ::after {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 2;
  border: 1px solid rgba(253, 164, 175, 0.55);
  border-radius: 14px;
  pointer-events: none;
}

/* แสงวิ่ง */
#เว็บใหญ่บริการ::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -30%;
  left: -60%;
  width: 26%;
  height: 170%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(18deg);
  animation: แสงวิ่งเว็บใหญ่ 4.8s ease-in-out infinite;
  pointer-events: none;
}

#เว็บใหญ่บริการ img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease, filter 0.45s ease;
}

#เว็บใหญ่บริการ:hover {
  transform: translateY(-5px);
  border-color: #f9a8d4;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(236, 72, 153, 0.65),
    0 0 55px rgba(168, 85, 247, 0.42);
}

#เว็บใหญ่บริการ:hover img {
  transform: scale(1.035);
  filter: brightness(1.08) saturate(1.15);
}

@keyframes แสงวิ่งเว็บใหญ่ {
  0%,
  60% {
    left: -60%;
  }
  100% {
    left: 135%;
  }
}

@media (max-width: 600px) {
  .เว็บใหญ่บริการ {
    padding: 14px 8px;
  }

  #เว็บใหญ่บริการ {
    width: 100%;
    border-radius: 14px;
  }

  #เว็บใหญ่บริการ::after {
    inset: 3px;
    border-radius: 10px;
  }

  #เว็บใหญ่บริการ:hover {
    transform: none;
  }
}

/* ===== แบนเนอร์เว็บใหญ่ | โทนดำ-ทองพรีเมียม ===== */
.แบนเนอร์เว็บใหญ่ {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 12px;
  box-sizing: border-box;
}

#แบนเนอร์เว็บใหญ่ {
  position: relative;
  width: min(94vw, 1080px);
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(#07120b, #07120b) padding-box,
    linear-gradient(135deg, #8a5a00, #ffe580, #c58b11, #fff1a8, #8a5a00) border-box;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.45),
    0 0 16px rgba(250, 204, 21, 0.28),
    inset 0 0 18px rgba(250, 204, 21, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* แสงทองวิ่งผ่านแบนเนอร์ */
#แบนเนอร์เว็บใหญ่::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -30%;
  left: -55%;
  width: 28%;
  height: 160%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 241, 168, 0.15),
    rgba(255, 255, 255, 0.65),
    rgba(255, 241, 168, 0.15),
    transparent
  );
  transform: rotate(16deg);
  animation: แสงทองวิ่ง 5s ease-in-out infinite;
  pointer-events: none;
}

/* เงาดำไล่ด้านล่าง ทำให้รูปดูมีมิติ */
#แบนเนอร์เว็บใหญ่::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.32),
    transparent 42%
  );
  pointer-events: none;
}

#แบนเนอร์เว็บใหญ่ img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease, filter 0.5s ease;
}

#แบนเนอร์เว็บใหญ่:hover {
  transform: translateY(-5px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(250, 204, 21, 0.6),
    0 0 55px rgba(180, 120, 0, 0.28),
    inset 0 0 22px rgba(255, 235, 145, 0.16);
}

#แบนเนอร์เว็บใหญ่:hover img {
  transform: scale(1.035);
  filter: brightness(1.08) contrast(1.04);
}

@keyframes แสงทองวิ่ง {
  0%,
  65% {
    left: -55%;
  }
  100% {
    left: 130%;
  }
}

@media (max-width: 600px) {
  .แบนเนอร์เว็บใหญ่ {
    padding: 13px 8px;
  }

  #แบนเนอร์เว็บใหญ่ {
    width: 100%;
    border-radius: 13px;
  }

  #แบนเนอร์เว็บใหญ่:hover {
    transform: none;
  }
}

.แบนเนอร์ทายผลล้านเดียวสุดล้ำ {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 18px 10px;
  box-sizing: border-box;
}

#แบนเนอร์ทายผลล้านเดียวสุดล้ำ {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  min-width: 0;
  padding: 3px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(125deg, #39ff88, #064e3b, #ffe79a, #d4a017);
  box-shadow: 0 10px 28px #0006, 0 0 20px #39ff8826;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#แบนเนอร์ทายผลล้านเดียวสุดล้ำ img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 19px;
}

#แบนเนอร์ทายผลล้านเดียวสุดล้ำ::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, transparent 35%, #fff4 50%, transparent 65%);
  transform: translateX(-150%);
  animation: แสงทายผล 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes แสงทายผล {
  0%, 65% { transform: translateX(-150%); }
  100% { transform: translateX(150%); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #แบนเนอร์ทายผลล้านเดียวสุดล้ำ:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px #0007, 0 0 24px #facc1545;
  }
}

@media (prefers-reduced-motion: reduce) {
  #แบนเนอร์ทายผลล้านเดียวสุดล้ำ::before { animation: none; }
}

.แบนเนอร์หวยออนไลน์นีออนสุดล้ำ {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 20px 12px;
  box-sizing: border-box;
}

#แบนเนอร์หวยออนไลน์นีออนสุดล้ำ {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  min-width: 0;
  padding: 3px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(120deg, #22d3ee, #4338ca, #e879f9, #22d3ee);
  background-size: 300% 300%;
  box-shadow: 0 12px 28px #0006, 0 0 18px #22d3ee40;
  animation: ขอบหวยนีออน 8s ease infinite;
  transition: box-shadow 0.3s ease;
}

#แบนเนอร์หวยออนไลน์นีออนสุดล้ำ img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
}

#แบนเนอร์หวยออนไลน์นีออนสุดล้ำ::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 17px;
  box-shadow: inset 0 0 0 1px #ffffff40, inset 0 0 14px #22d3ee30;
  pointer-events: none;
}

@keyframes ขอบหวยนีออน {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (hover: hover) {
  #แบนเนอร์หวยออนไลน์นีออนสุดล้ำ:hover {
    box-shadow: 0 14px 32px #0007, 0 0 24px #22d3ee66, 0 0 38px #e879f940;
  }
}

@media (max-width: 600px) {
  .แบนเนอร์หวยออนไลน์นีออนสุดล้ำ {
    padding: 12px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #แบนเนอร์หวยออนไลน์นีออนสุดล้ำ {
    animation: none;
    transition: none;
  }
}

.โปสเตอร์โบนัสไทม์หุ่นยนต์นีออนคู่ {
  box-sizing: border-box;
  width: min(94%, 1100px);
  margin: 30px auto;
  padding: 3px;
  position: relative;
  isolation: isolate;
  border-radius: 22px;
  background: linear-gradient(
    125deg,
    #fff1b8,
    #ffb700 30%,
    #ff6500 65%,
    #ffe7a0
  );
  box-shadow:
    0 16px 40px rgba(25, 12, 0, 0.3),
    0 0 22px rgba(255, 166, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* แสงนุ่มรอบกรอบ */
.โปสเตอร์โบนัสไทม์หุ่นยนต์นีออนคู่::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, #ffcc33, #ff6500);
  filter: blur(18px);
  opacity: 0.3;
  pointer-events: none;
}

#โปสเตอร์โบนัสไทม์หุ่นยนต์นีออนคู่ {
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  background: #171009;
}

/* เส้นไฮไลต์ด้านใน */
#โปสเตอร์โบนัสไทม์หุ่นยนต์นีออนคู่::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 210, 0.3);
  pointer-events: none;
}

#โปสเตอร์โบนัสไทม์หุ่นยนต์นีออนคู่ img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

@media (hover: hover) {
  .โปสเตอร์โบนัสไทม์หุ่นยนต์นีออนคู่:hover {
    transform: translateY(-4px);
    box-shadow:
      0 22px 48px rgba(25, 12, 0, 0.4),
      0 0 32px rgba(255, 166, 0, 0.4);
  }
}

@media (max-width: 600px) {
  .โปสเตอร์โบนัสไทม์หุ่นยนต์นีออนคู่ {
    margin: 20px auto;
    padding: 2px;
    border-radius: 16px;
  }

  #โปสเตอร์โบนัสไทม์หุ่นยนต์นีออนคู่ {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .โปสเตอร์โบนัสไทม์หุ่นยนต์นีออนคู่ {
    transition: none;
    transform: none;
  }
}

.แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง {
  width: min(94%, 1100px); /* กำหนดความกว้างสูงสุดของแบนเนอร์ */
  margin: 32px auto; /* จัดกึ่งกลางแบนเนอร์ */
  padding: 3px; /* ระยะห่างภายในแบนเนอร์ */
  position: relative; /* ทำให้สามารถวาง pseudo-element ได้ */
  margin-top: 50px; /* ระยะห่างด้านบนของแบนเนอร์ */
  isolation: isolate; /* ทำให้ pseudo-element ไม่ซ้อนกับเนื้อหาอื่น */
  border-radius: 24px; /* มุมโค้งของแบนเนอร์ */
  background: linear-gradient( /* พื้นหลังไล่เฉดสีแบบนีออน */
    120deg,
    #00f5ff,
    #176bff 35%,
    #8a2bff 68%,
    #ff2cb4
  );
  box-shadow:
    0 18px 45px rgba(0, 8, 35, 0.55),
    0 0 22px rgba(0, 245, 255, 0.55),
    0 0 45px rgba(137, 43, 255, 0.3);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* แสงฟุ้งรอบแบนเนอร์ */
.แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง::before {
  content: ""; /* สร้าง pseudo-element สำหรับแสงฟุ้ง */
  position: absolute;
  z-index: -1;
  inset: -10px;
  border-radius: inherit;
  background: linear-gradient(120deg, #00f5ff, #245cff, #a600ff, #ff25b8);
  filter: blur(24px);
  opacity: 0.5;
  pointer-events: none;
}

/* พื้นหลังกรอบด้านใน */
#แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง {
  position: relative;
  overflow: hidden;
  border-radius: 21px;
  background: #050817;
}

/* แสงวิ่งผ่านด้านบน */
#แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    rgba(120, 240, 255, 0.42),
    rgba(255, 255, 255, 0.04),
    transparent
  );
  transform: skewX(-20deg);
  animation: cyberLightRun 5s ease-in-out infinite;
}

/* เส้นแสงขอบใน */
#แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(188, 251, 255, 0.45),
    inset 0 0 18px rgba(0, 229, 255, 0.15);
}

#แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  transition: transform 0.5s ease, filter 0.5s ease;
}

@keyframes cyberLightRun {
  0%,
  60% {
    left: -60%;
  }
  100% {
    left: 125%;
  }
}

@media (hover: hover) {
  .แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
      0 25px 55px rgba(0, 8, 35, 0.7),
      0 0 30px rgba(0, 245, 255, 0.75),
      0 0 65px rgba(137, 43, 255, 0.5);
  }

  .แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง:hover img {
    transform: scale(1.025);
    filter: brightness(1.08) saturate(1.12);
  }
}

@media (max-width: 600px) {
  .แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง {
    margin: 30px auto;
    padding: 2px;
    border-radius: 16px;
  }

  #แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง::before {
    animation: none;
  }

  .แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง,
  #แบนเนอร์ฟุตบอลนีออนไซเบอร์ลีกดัง img {
    transition: none;
  }
}