*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: url("/images/bg-main.webp") no-repeat center center fixed;
  background-size: cover;
  background-position: center;
  font-family: "Kanit", sans-serif;
  color: white;
}



.profile-card {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.profile-cover {
  width: 100%;
  aspect-ratio: 1000 / 300;
  overflow: hidden;
}
.profile-cover .cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-info {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  gap: 14px;
}
.profile-avatar {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #2ecc40;
  box-shadow: 0 0 12px rgba(46, 204, 64, 0.4);
  margin-top: -35px;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-text {
  flex: 1;
  min-width: 0;
}
.profile-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  text-shadow: 0 0 8px rgba(255, 100, 0, 0.5);
}
.profile-desc {
  font-size: 13px;
  color: #ccc;
  margin: 0;
  line-height: 1.4;
}

.cta-section {
  width: 100%;
  max-width: 600px;
  margin: 16px auto 0;
  padding: 20px;
  box-sizing: border-box;
}
.cta-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px 0;
  text-align: left;
  text-shadow: 0 0 8px rgba(255, 100, 0, 0.5);
}
.cta-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-btn {
  width: 100%;
  height: 60px;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
  animation: lineWiggle 1.5s infinite ease-in-out;
  box-sizing: border-box;
  padding: 0 14px;
}
.cta-btn span {
  flex: 1;
  text-align: center;
}
.cta-icon {
  height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
}
.line-btn {
  width: 100%;
  height: 60px;
  background: #fff;
  color: #006400;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 14px;
  transition: transform 0.2s ease;
}
.line-btn:hover {
  transform: scale(1.03);
}
.line-btn span {
  flex: 1;
  text-align: center;
}
.line-icon {
  height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
}
@keyframes lineWiggle {
  0%   { transform: translateX(0); }
  10%  { transform: translateX(-6px); }
  25%  { transform: translateX(6px); }
  40%  { transform: translateX(-6px); }
  55%  { transform: translateX(6px); }
  70%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}

.custom-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
  color: white !important;
  text-shadow: 0 0 10px rgba(255, 100, 0, 0.6);
  text-align: center;
}
.jackpot-win-section {
  width: 100%;
  max-width: 600px;
  margin: 4px auto 0;
  padding: 8px 16px;
  box-sizing: border-box;
}
.jackpot-win-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.win-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #0a3d0a 0%, #145214 40%, #1a6b1a 70%, rgba(26,107,26,0.6) 100%);
  border: 1px solid rgba(46,204,64,0.25);
  border-radius: 10px;
  padding: 10px 14px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.win-card.win-new {
  animation: winFadeLeft 0.6s ease both;
}
@keyframes winFadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
.win-game-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(46,204,64,0.3);
}
.win-card-info {
  flex: 1;
  min-width: 0;
}
.win-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.win-game-name {
  color: #ff8c00;
  font-weight: 700;
  font-size: 0.85rem;
}
.win-multi {
  font-weight: 800;
  font-size: 0.95rem;
  background: linear-gradient(180deg, #fff7a0 0%, #ffd700 40%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(184,134,11,0.5));
}
.win-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.win-user {
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
}
.win-detail {
  color: #90ee90;
  font-size: 0.78rem;
}
.win-detail strong {
  font-size: 0.9rem;
  font-weight: 800;
  background: linear-gradient(180deg, #ffb347 0%, #ff6600 50%, #cc3300 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(204,51,0,0.4));
}

.win-card:active {
  transform: scale(0.97);
}
.win-detail-box {
  text-align: center;
}
.win-pop-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 auto 8px;
  display: block;
  border: 2px solid rgba(255,140,0,0.4);
  box-shadow: 0 4px 16px rgba(255,140,0,0.2);
}
.win-pop-game {
  font-size: 20px;
  font-weight: 800;
  color: #ff8c00;
  margin: 0 0 14px;
  text-shadow: 0 0 10px rgba(255,140,0,0.3);
}
.win-pop-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.win-pop-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
}
.win-pop-label {
  color: #999;
  font-size: 13px;
  font-weight: 500;
}
.win-pop-val {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.win-pop-prize {
  font-weight: 800;
  font-size: 16px;
  background: linear-gradient(180deg, #ffb347 0%, #ff6600 50%, #cc3300 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.win-pop-multi {
  font-weight: 800;
  font-size: 16px;
  background: linear-gradient(180deg, #fff7a0 0%, #ffd700 40%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.withdrawal-section {
  width: 100%;
  max-width: 600px;
  margin: 16px auto 0;
  padding: 20px;
  box-sizing: border-box;
}
.live-counter {
  text-align: center;
  font-size: 16px;
  color: #ccc;
  margin-bottom: 16px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}
.live-count-number {
  font-size: 24px;
  font-weight: 700;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}
.player-counter-section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 8px 16px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}
.register-cta-section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 4px 16px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}
.deposit-section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 12px 16px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}
.deposit-section .section-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFD700;
  margin: 0 0 8px 0;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}
.deposit-feed {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,215,0,0.2);
  background: rgba(10, 10, 30, 0.75);
}
.deposit-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.deposit-table thead th {
  padding: 8px 4px;
  background: rgba(255,215,0,0.12);
  border-bottom: 2px solid rgba(255,215,0,0.4);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deposit-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background 0.3s ease;
}
.deposit-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.04);
}
.deposit-table tbody tr:last-child { border-bottom: none; }
.deposit-table tbody tr.deposit-new {
  animation: depositSlideIn 0.4s ease;
  background: rgba(46,204,64,0.1);
}
@keyframes depositSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.deposit-table td {
  padding: 6px 4px;
  font-size: 0.75rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deposit-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2ecc40;
  font-weight: 600;
  font-size: 0.75rem;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2ecc40;
  display: inline-block;
  box-shadow: 0 0 5px rgba(46,204,64,0.7);
}
.deposit-phone {
  color: #7ec8e3;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
}
.deposit-time { color: #c4a6ff; font-size: 0.75rem; font-weight: 500; }
.deposit-amount {
  color: #FFD700;
  font-weight: 700;
  font-size: 0.85rem;
  text-shadow: 0 0 6px rgba(255,215,0,0.3);
}

.withdrawal-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFD700;
  margin: 0 0 14px 0;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}
.withdrawal-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wd-card {
  background: rgba(20, 20, 30, 0.9);
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 215, 0, 0.15);
  animation: wdFadeIn 0.5s ease;
}
@keyframes wdFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.wd-bank-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.wd-bank-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: contain;
}
.wd-bank-name {
  font-size: 14px;
  font-weight: 600;
  color: #FFD700;
}
.wd-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.wd-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wd-user-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.wd-user-meta {
  font-size: 11px;
  color: #888;
}
.wd-amount-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.wd-amount {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.wd-status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}
.wd-status.done {
  color: #2ecc40;
}
.wd-status.pending {
  color: #FFD700;
}

.game-section {
  width: 100%;
  max-width: 600px;
  margin: 16px auto 0;
  padding: 20px;
  box-sizing: border-box;
}
.game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.game-card {
  background: rgba(20, 20, 35, 0.9);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease;
}
.game-card:hover {
  transform: scale(1.03);
}
.game-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.game-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hot-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.game-info {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.game-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.game-online {
  font-size: 11px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 4px;
}
.green-dot {
  width: 6px;
  height: 6px;
  background: #2ecc40;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.game-count {
  color: #fff;
  font-weight: 600;
}
.game-cta-btn {
  margin-top: 16px;
}

.slide-section {
  max-width: 600px;
  margin: 16px auto 0;
  padding: 20px;
  box-sizing: border-box;
}
.slide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.slide-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
.bonus-slider {
  overflow: hidden;
  border-radius: 10px;
}
.bonus-track {
  display: flex;
  transition: transform 0.5s ease;
}
.bonus-pair {
  min-width: 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.bonus-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.countdown-section {
  width: 100%;
  max-width: 600px;
  margin: 16px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
}
.countdown-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 100, 0, 0.1));
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
}
.countdown-label {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 4px;
}
.prize-pool {
  font-size: 32px;
  font-weight: 700;
  color: #FFD700;
  text-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
  animation: prizeGlow 2s ease-in-out infinite alternate;
}
@keyframes prizeGlow {
  from { text-shadow: 0 0 8px rgba(255, 215, 0, 0.3); }
  to { text-shadow: 0 0 20px rgba(255, 215, 0, 0.7); }
}
.countdown-timer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.countdown-timer-label {
  font-size: 13px;
  color: #aaa;
}
.countdown-timer {
  font-size: 20px;
  font-weight: 700;
  color: #ff4444;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.jackpot-clock {
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}
.jackpot-clock span {
  color: #FFD700;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@keyframes jackpotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes jackpotGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(255,0,0,0.3); border-color: #ff4444; }
  50% { box-shadow: 0 0 20px rgba(255,0,0,0.6); border-color: #ff6666; }
}
@keyframes timerBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.countdown-box.urgent {
  animation: jackpotPulse 1s ease infinite, jackpotGlow 1.5s ease infinite;
  border: 2px solid #ff4444;
}
.countdown-box.urgent .countdown-timer {
  animation: timerBlink 0.8s ease infinite;
}
.countdown-box.urgent .countdown-label {
  color: #ff4444;
}
.jackpot-alert {
  display: none;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #ff4444;
  margin-top: 6px;
  animation: timerBlink 1s ease infinite;
}
.countdown-box.urgent .jackpot-alert {
  display: block;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(0,0,0,0.95) 30%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.sticky-cta.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  height: 56px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid #FFD700;
  animation: lineWiggle 1.5s infinite ease-in-out, stickyGlow 2s ease-in-out infinite;
}
@keyframes stickyGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(255,215,0,0.5); }
  50% { box-shadow: 0 0 25px rgba(255,215,0,0.9), 0 0 50px rgba(255,165,0,0.4); }
}
.sticky-cta-btn .cta-icon {
  height: 32px;
  border-radius: 6px;
}
.deposit-bottom-btn {
  margin-top: 14px;
  background: linear-gradient(135deg, #FFD700, #FFA500) !important;
  color: #000 !important;
  border: 2px solid #FFD700;
  animation: depositBtnPulse 2s ease-in-out infinite, lineWiggle 1.5s infinite ease-in-out !important;
}
@keyframes depositBtnPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255,215,0,0.4); }
  50% { box-shadow: 0 0 20px rgba(255,215,0,0.8), 0 0 40px rgba(255,165,0,0.3); }
}

.toast-notif {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 998;
  width: calc(100% - 32px);
  max-width: 360px;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.toast-notif.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-notif.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
}
.toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(46, 204, 64, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.toast-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.toast-text {
  font-size: 13px;
  color: #fff;
  line-height: 1.4;
}
.toast-text strong {
  color: #FFD700;
}
.toast-amount {
  color: #2ecc40;
  font-weight: 700;
}
.toast-meta {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.popup-box {
  width: calc(100% - 32px);
  max-width: 380px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 16px;
  padding: 24px 20px 28px;
  box-sizing: border-box;
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.1), opacity 0.25s ease;
  border: 1px solid rgba(255,215,0,0.3);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  position: relative;
}
.popup-overlay.active .popup-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #aaa;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.popup-close:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.popup-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFD700;
  text-align: center;
  margin: 0 0 4px;
  text-shadow: 0 0 12px rgba(255,215,0,0.3);
}
.popup-subtitle {
  font-size: 14px;
  color: #ccc;
  text-align: center;
  margin: 0 0 16px;
  font-weight: 400;
}
.popup-phone-input {
  width: 100%;
  height: 52px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 2px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
  font-family: "Inter", "Kanit", sans-serif;
}
.popup-phone-input::placeholder {
  color: #666;
  font-size: 16px;
  letter-spacing: 0;
}
.popup-phone-input:focus {
  border-color: #FFD700;
  box-shadow: 0 0 8px rgba(255,215,0,0.2);
}
.popup-phone-input.error {
  border-color: #ff4444;
  box-shadow: 0 0 8px rgba(255,68,68,0.3);
}
.popup-error-msg {
  color: #ff4444;
  font-size: 12px;
  text-align: center;
  margin: 6px 0 0;
  min-height: 16px;
}
.popup-submit-btn {
  width: 100%;
  height: 52px;
  margin-top: 12px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: "Kanit", sans-serif;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(255,215,0,0.3);
}
.popup-submit-btn:active {
  transform: scale(0.97);
}
.popup-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.popup-countdown-section {
  text-align: center;
  margin-top: 16px;
}
.popup-countdown-text {
  font-size: 15px;
  color: #ccc;
}
.popup-countdown-number {
  font-size: 28px;
  font-weight: 700;
  color: #FFD700;
  display: block;
  margin: 4px 0;
}
.popup-success-icon {
  font-size: 52px;
  display: block;
  text-align: center;
  margin-bottom: 10px;
}
.popup-buttons {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.popup-backup-section {
  margin-top: 16px;
  display: none;
}
.popup-backup-section.show {
  display: block;
}
.popup-backup-title {
  font-size: 15px;
  color: #FFD700;
  text-align: center;
  margin: 0 0 14px;
  line-height: 1.6;
  font-weight: 600;
}
.popup-backup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 14px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  box-sizing: border-box;
  transition: transform 0.15s;
}
.popup-backup-btn:active {
  transform: scale(0.97);
}
.popup-backup-btn.primary {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
}
.popup-backup-btn.line {
  background: #06c755;
  color: #fff;
}
.popup-backup-btn .btn-icon {
  height: 24px;
  width: 24px;
  object-fit: contain;
  border-radius: 4px;
}
.popup-status-msg {
  font-size: 18px;
  text-align: center;
  margin-top: 12px;
  color: #2ecc40;
  font-weight: 700;
}
@keyframes popupPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.popup-submit-btn.sending {
  animation: popupPulse 1s ease-in-out infinite;
  background: linear-gradient(135deg, #aaa, #888);
}