/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 100vh;
  background-image: radial-gradient(circle at 0% 0%, #e0f2fe 0%, #fdf2ff 40%, #f5f5f7 100%);
  background-attachment: fixed;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Toast */
.toast {
  position: fixed !important;
  top: 80px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-100%) !important;
  padding: 8px 16px;
  border-radius: 15px;
  border: 3px solid #fff;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  z-index: 9999 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover;
  position: relative;
  max-width: 90vw;
  word-break: break-all;
}

.toast span {
  position: relative;
  z-index: 2;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Toast 类型背景叠加色 */
.toast.meituan-copy::before { content: ''; position: absolute; inset: 0; background: rgba(255, 77, 79, 0.6); border-radius: 12px; z-index: -1; }
.toast.taobao-copy::before { content: ''; position: absolute; inset: 0; background: rgba(255, 106, 0, 0.6); border-radius: 12px; z-index: -1; }
.toast.wechat-copy::before { content: ''; position: absolute; inset: 0; background: rgba(34, 197, 94, 0.6); border-radius: 12px; z-index: -1; }
.toast.jump::before { content: ''; position: absolute; inset: 0; background: rgba(30, 144, 255, 0.6); border-radius: 12px; z-index: -1; }
.toast.ticket-copy::before { content: ''; position: absolute; inset: 0; background: rgba(99, 102, 241, 0.6); border-radius: 12px; z-index: -1; }
.toast.dianping-copy::before { content: ''; position: absolute; inset: 0; background: rgba(255, 106, 0, 0.6); border-radius: 12px; z-index: -1; }
.toast.jd-copy::before { content: ''; position: absolute; inset: 0; background: rgba(239, 68, 68, 0.6); border-radius: 12px; z-index: -1; }

.loading {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Main card */
.main-container {
  width: 100%;
  max-width: 540px;
  background: url('http://aogod.top/dc/bj2.png') center/cover;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  padding: 18px 18px 20px;
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  margin-bottom: 20px;
  position: relative;
}

/* Header - 重新设计 */
.header {
  text-align: center;
  padding: 8px 8px 16px;
  position: relative;
}

/* 微信号和公众号的容器 */
.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* 统一的徽章样式 */
.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.header-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: 16px;
  z-index: -1;
}

.header-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.35);
}

.header-badge .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  flex-shrink: 0;
}

/* 主标题 */
.header h2 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
  position: relative;
}

.header h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: 20px;
  z-index: -1;
}

/* Link parser */
.link-parser {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.link-parser input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.6);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
  color: #fff;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  transition: all .22s ease;
}
.link-parser input::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
}
.link-parser input:focus {
  border-color: #0084ff;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(37,99,235,.16), 0 0 8px rgba(255,255,255,0.3);
}
.btn-group {
  display: flex;
  gap: 8px;
}
.btn {
  flex: 1;
  border-radius: 999px;
  border: none;
  padding: 11px 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  transition: all .18s ease;
}
.btn:disabled {
  opacity: .6;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15,23,42,.18);
}
.btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(15,23,42,.15);
}
.btn-pill {
  border-radius: 999px;
}
/* 顶部按钮使用津贴专区的动漫风格 */
.btn-paste, 
.btn-go, 
.btn-clear { 
  color:#fff; 
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-radius: 15px;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  position: relative;
  transform: translateY(0);
  transition: all 0.2s ease;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-paste span,
.btn-go span,
.btn-clear span {
  position: relative;
  z-index: 2;
}

.btn-paste::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 144, 255, 0.6); /* 蓝色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

.btn-go::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(34, 197, 94, 0.6); /* 绿色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

.btn-clear::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 77, 79, 0.6); /* 红色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

/* 移除通用悬停效果，避免覆盖特定按钮样式 */

/* 美团外卖领券区域按钮 - 红、黄、蓝 */
.btn-direct, 
.btn-meituan, 
.btn-copy { 
  color:#fff; 
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-radius: 15px;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  position: relative;
  transform: translateY(0);
  transition: all 0.2s ease;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-direct span,
.btn-meituan span,
.btn-copy span {
  position: relative;
  z-index: 2;
}

.btn-direct::before,
.btn-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 77, 79, 0.6); /* 红色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

.btn-meituan::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 214, 0, 0.6); /* 黄色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

.btn-meituan::before {
  background: rgba(255, 214, 0, 0.8); /* 黄色玻璃 */
}

.btn-code { 
  color:#fff; 
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-radius: 15px;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  position: relative;
  transform: translateY(0);
  transition: all 0.2s ease;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-code span {
  position: relative;
  z-index: 2;
}

.btn-code::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 144, 255, 0.6); /* 蓝色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

/* 美团外卖津贴专区按钮样式 - 使用用户指定的背景图 */
.btn-subsidy1, 
.btn-subsidy2, 
.btn-subsidy3, 
.btn-subsidy4, 
.btn-subsidy5, 
.btn-subsidy6, 
.btn-subsidy7, 
.btn-subsidy8 { 
  color:#fff; 
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-radius: 15px;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  position: relative;
  transform: translateY(0);
  transition: all 0.2s ease;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 第一排：红、红、黄、黄 */
.btn-subsidy1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 77, 79, 0.6); /* 红色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

.btn-subsidy2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 77, 79, 0.6); /* 红色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

.btn-subsidy3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 214, 0, 0.6); /* 黄色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

.btn-subsidy4::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 214, 0, 0.6); /* 黄色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

/* 第二排：蓝、蓝、绿、绿 */
.btn-subsidy5::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 144, 255, 0.6); /* 蓝色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

.btn-subsidy6::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 144, 255, 0.6); /* 蓝色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

.btn-subsidy7::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(34, 197, 94, 0.6); /* 绿色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

.btn-subsidy8::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(34, 197, 94, 0.6); /* 绿色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

.btn-subsidy1 span,
.btn-subsidy2 span,
.btn-subsidy3 span,
.btn-subsidy4 span,
.btn-subsidy5 span,
.btn-subsidy6 span,
.btn-subsidy7 span,
.btn-subsidy8 span {
  position: relative;
  z-index: 2;
}

/* 京东外卖按钮样式 */
.btn-jd { 
  color:#fff; 
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-radius: 15px;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  position: relative;
  transform: translateY(0);
  transition: all 0.2s ease;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-jd span {
  position: relative;
  z-index: 2;
}

.btn-jd::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(239, 68, 68, 0.6); /* 红色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

/* 淘宝闪购按钮样式 */
.btn-taobao { 
  color:#fff; 
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-radius: 15px;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  position: relative;
  transform: translateY(0);
  transition: all 0.2s ease;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-taobao span {
  position: relative;
  z-index: 2;
}

.btn-taobao::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 106, 0, 0.6); /* 橙色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

/* 支付宝红包按钮样式 */
.btn-alipay-red { 
  color:#fff; 
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-radius: 15px;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  position: relative;
  transform: translateY(0);
  transition: all 0.2s ease;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-alipay-red span {
  position: relative;
  z-index: 2;
}

.btn-alipay-red::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(239, 68, 68, 0.6); /* 红色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

/* 支付宝碰一碰按钮样式 */
.btn-bump-blue { 
  color:#fff; 
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-radius: 15px;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  position: relative;
  transform: translateY(0);
  transition: all 0.2s ease;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-bump-blue span {
  position: relative;
  z-index: 2;
}

.btn-bump-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 144, 255, 0.6); /* 蓝色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

/* 小工具按钮样式 */
.btn-flow { 
  color:#fff; 
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-radius: 15px;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  position: relative;
  transform: translateY(0);
  transition: all 0.2s ease;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-flow span {
  position: relative;
  z-index: 2;
}

.btn-flow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.6); /* 紫色半透明叠加 */
  border-radius: 12px;
  z-index: -1; /* 放在背景下面，让背景图显示 */
}

/* 出行打车按钮样式 - 强制优先级 */
.btn-didi { 
  color:#fff !important; 
  border: 3px solid #fff !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
  border-radius: 15px !important;
  font-weight: bold !important;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000 !important;
  position: relative !important;
  transform: translateY(0) !important;
  transition: all 0.2s ease !important;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.btn-didi span {
  position: relative !important;
  z-index: 2 !important;
}

.btn-didi::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(255, 106, 0, 0.6) !important; /* 橙色半透明叠加 */
  border-radius: 12px !important;
  z-index: -1 !important; /* 放在背景下面，让背景图显示 */
}

.btn-t3 { 
  color:#fff !important; 
  border: 3px solid #fff !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
  border-radius: 15px !important;
  font-weight: bold !important;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000 !important;
  position: relative !important;
  transform: translateY(0) !important;
  transition: all 0.2s ease !important;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.btn-t3 span {
  position: relative !important;
  z-index: 2 !important;
}

.btn-t3::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(255, 214, 0, 0.6) !important; /* 黄色半透明叠加 */
  border-radius: 12px !important;
  z-index: -1 !important; /* 放在背景下面，让背景图显示 */
}

.btn-hxz { 
  color:#fff !important; 
  border: 3px solid #fff !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
  border-radius: 15px !important;
  font-weight: bold !important;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000 !important;
  position: relative !important;
  transform: translateY(0) !important;
  transition: all 0.2s ease !important;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.btn-hxz span {
  position: relative !important;
  z-index: 2 !important;
}

.btn-hxz::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(99, 102, 241, 0.6) !important; /* 紫色半透明叠加 */
  border-radius: 12px !important;
  z-index: -1 !important; /* 放在背景下面，让背景图显示 */
}

.btn-tc { 
  color:#fff !important; 
  border: 3px solid #fff !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
  border-radius: 15px !important;
  font-weight: bold !important;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000 !important;
  position: relative !important;
  transform: translateY(0) !important;
  transition: all 0.2s ease !important;
  /* 玻璃效果背景 */
  background: url('http://aogod.top/dc/bj.png') center/cover !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.btn-tc span {
  position: relative !important;
  z-index: 2 !important;
}

.btn-tc::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(30, 144, 255, 0.6) !important; /* 蓝色半透明叠加 */
  border-radius: 12px !important;
  z-index: -1 !important; /* 放在背景下面，让背景图显示 */
}

.input-note {
  font-size: 12px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Panels */
.coupon-modules {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.coupon-panel {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(226,232,240,0.95);
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.coupon-panel-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid rgba(226,232,240,0.95);
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.coupon-panel-content::before {
  display: none; /* 始终不显示遮罩 */
}

.coupon-panel-content.expanded {
  max-height: 2000px;
}

.coupon-panel-inner {
  padding: 12px 14px 14px;
  position: relative;
  z-index: 2;
}
.coupon-panel-header {
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 5;
}
.coupon-panel-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
}
.coupon-panel-title-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0084ff;
}
.panel-icon {
  font-size: 16px;
  color: #6b7280;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
}
.panel-icon.expanded {
  transform: rotate(180deg) translateZ(0);
  color: #0084ff;
}

/* Coupon card */
/* 展开内容区域的小卡片半透明，让背景图显示 */
.coupon-card {
  border: none;
  background: rgba(255, 255, 255, 0.5);
  padding: 13px 13px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* 给每个小卡片之间添加间距 */
.coupon-card + .coupon-card {
  margin-top: 15px;
}

/* 移除小卡片的独立遮罩，使用父容器背景 */
.coupon-card::before,
.coupon-card::after {
  display: none;
}

.coupon-card > * {
  position: relative;
  z-index: 2;
}

/* 津贴按钮样式保持不变 */
.btn-subsidy1, 
.btn-subsidy2, 
.btn-subsidy3, 
.btn-subsidy4, 
.btn-subsidy5, 
.btn-subsidy6, 
.btn-subsidy7, 
.btn-subsidy8 { 
  position: relative;
  z-index: 10;
}

.coupon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,rgba(14,165,233,.12),rgba(99,102,241,.08));
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.coupon-card:hover::before {
  opacity: 1;
}
.coupon-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
}
.coupon-text {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: 13px;
  color: #fff;
  font-weight: bold;
  word-break: break-all;
  min-height: 42px;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.note {
  margin-top: 6px;
  font-size: 11px;
  color: #fff;
  font-weight: bold;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Service group */
.service-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-group .btn {
  flex: 1 1 calc(50% - 4px);
  font-size: 13px;
  padding-inline: 10px;
}

/* WeChat tip banner (small) */
.wechat-tip {
  display: none;
  margin-bottom: 10px;
  padding: 8px 11px;
  border-radius: 18px;
  background: rgba(15,23,42,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  font-size: 12px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
}
.wechat-tip span.icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg,#22c55e,#16a34a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}
.wechat-tip strong {
  font-weight: 700;
  color: #fff;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
}
.wechat-tip small {
  opacity: .9;
  color: #fff;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
}

/* Footer with disclaimer */
.footer {
  width: 100%;
  max-width: 540px;
  background: url('http://aogod.top/dc/bj.png') center/cover;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 10px;
  position: relative;
}
.disclaimer-section {
  text-align: left;
  padding: 0 0 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 15px;
}
.disclaimer-section p {
  font-size: 13px;
  line-height: 1.6;
  color: #fff;
  font-weight: bold;
  margin-bottom: 8px;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
}
.disclaimer-section p:first-child {
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  font-size: 14px;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
}
.footer-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 15px auto;
  width: 80%;
}
.copyright-section {
  text-align: center;
  font-size: 12px;
  color: #666;
  padding-top: 5px;
}
.copyright-section p {
  margin-bottom: 4px;
  font-weight: bold;
  color: #fff;
  text-shadow: 
    -0.5px 0 #000,
    0.5px 0 #000,
    0 -0.5px #000,
    0 0.5px #000;
}

/* Responsive */
@media (max-width: 400px) {
  body {
    padding: 12px;
  }
  .main-container {
    padding-inline: 14px;
  }
  .coupon-panel-inner {
    padding-inline: 10px;
  }
  .footer {
    padding: 15px;
  }
}

/* 出行二维码样式 */
.taxi-qrcode .qr-img { width:160px; height:160px; border-radius:12px; }
.taxi-qrcode .taxi-close { background:#fff; border:1px solid #e5e7eb; color:#111; }

/* 关闭按钮样式 */
.btn-close {
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #ddd !important;
  font-weight: normal !important;
  text-shadow: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.btn-close:hover {
  background: #f8f9fa !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* 其他按钮悬停效果 */
.btn-jd:hover,
.btn-taobao:hover,
.btn-alipay-red:hover,
.btn-bump-blue:hover,
.btn-flow:hover,
.btn-didi:hover,
.btn-t3:hover,
.btn-hxz:hover,
.btn-tc:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}