:root {
  /* 币安配色系统 */
  --binance-gold: #F0B90B;
  --binance-gold-light: #FFD43B;
  --binance-gold-dark: #D49F0A;
  --binance-green: #0ECB81;
  --binance-red: #F6465D;
  --binance-blue: #1E90FF;
  --bg-dark: #0B0E11;
  --bg-card: #161A1E;
  --bg-card-hover: #1E2329;
  --text-primary: #EAECEF;
  --text-secondary: #848E9C;
  --text-muted: #5E6673;
  --border-color: #2B3139;
  --shadow-gold: 0 0 30px rgba(240, 185, 11, 0.25);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.6);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* {
  -webkit-tap-highlight-color: transparent;
}

.myapp {
  background: var(--bg-dark);
  min-height: 100vh;
}

/* Header 头部 - 币安风格 */
.header {
  background: linear-gradient(180deg, #161A1E 0%, #0B0E11 100%);
  border-bottom: 1px solid rgba(240, 185, 11, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  height: 60px;
}

.header .btn {
  width: 60px;
  height: 60px;
  line-height: 60px;
}

.header .btn .iconfont {
  font-size: 24px;
  color: var(--text-primary) !important;
}

.header-title {
  left: 120px;
  right: 120px;
  height: 60px;
}

.header-title .title {
  height: 60px;
  line-height: 60px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #F0B90B 0%, #FFD43B 50%, #F0B90B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 内容区域 */
.mycontent {
  padding-bottom: 90px;
  background: var(--bg-dark);
}

.mycontent-hasfooter {
  padding-bottom: 100px;
}

/* 卡片基础样式 - 币安风格 */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:active {
  transform: scale(0.98);
  border-color: rgba(240, 185, 11, 0.4);
  box-shadow: var(--shadow-gold);
}

.card-margin {
  margin: 16px;
}

/* 轮播图区域 */
.slider-panel {
  background: var(--bg-dark);
  margin: 0;
  padding: 0;
}

.slider {
  background: transparent;
  padding: 20px 16px;
  margin-bottom: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.slider-imgs {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tempWrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.slider-imgs li {
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.slider-imgs img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(240, 185, 11, 0.15);
  display: block;
  width: 100%;
}

.slider-pager {
  position: relative;
  z-index: 10;
}

.slider-pager ul {
  background: rgba(240, 185, 11, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 4px 12px;
}

.slider-pager ul::after {
  background: linear-gradient(90deg, #F0B90B 0%, #FFD43B 100%) !important;
}

/* 分类图标区域 - 币安金色渐变 */
.typeicon-group {
  padding: 24px 12px 20px;
}

.typeicon-group li {
  padding: 0 0 24px;
}

.typeicon-group li a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.typeicon-group li a:active {
  transform: scale(0.95);
}

.typeicon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: var(--radius-xl);
  margin-bottom: 12px;
  font-size: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(240, 185, 11, 0.15);
  position: relative;
  overflow: hidden;
}

.typeicon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  border-radius: var(--radius-xl);
}

/* 币安风格图标渐变 */
.typeicon-bg-red {
  background: linear-gradient(135deg, #F6465D 0%, #FF6B81 50%, #F6465D 100%);
  box-shadow: 0 8px 30px rgba(246, 70, 93, 0.4), 0 0 40px rgba(246, 70, 93, 0.15);
}

.typeicon-bg-purple {
  background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 50%, #8E2DE2 100%);
  box-shadow: 0 8px 30px rgba(142, 45, 226, 0.4), 0 0 40px rgba(142, 45, 226, 0.15);
}

.typeicon-bg-pink {
  background: linear-gradient(135deg, #F093FB 0%, #F5576C 50%, #F093FB 100%);
  box-shadow: 0 8px 30px rgba(245, 87, 108, 0.4), 0 0 40px rgba(245, 87, 108, 0.15);
}

.typeicon-bg-cyan {
  background: linear-gradient(135deg, #0ECB81 0%, #0FDF8F 50%, #0ECB81 100%);
  box-shadow: 0 8px 30px rgba(14, 203, 129, 0.4), 0 0 40px rgba(14, 203, 129, 0.15);
}

.typeicon-bg-orange {
  background: linear-gradient(135deg, #F0B90B 0%, #FFD43B 50%, #F0B90B 100%);
  box-shadow: 0 8px 30px rgba(240, 185, 11, 0.5), 0 0 40px rgba(240, 185, 11, 0.2);
}

.typeicon-bg-green {
  background: linear-gradient(135deg, #0ECB81 0%, #3AE29D 50%, #0ECB81 100%);
  box-shadow: 0 8px 30px rgba(14, 203, 129, 0.4), 0 0 40px rgba(14, 203, 129, 0.15);
}

.typeicon-bg-yellow {
  background: linear-gradient(135deg, #F0B90B 0%, #FFE066 50%, #F0B90B 100%);
  box-shadow: 0 8px 30px rgba(240, 185, 11, 0.5), 0 0 40px rgba(240, 185, 11, 0.2);
}

/* 公告区域 */
.kaka-notice {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #161A1E 0%, #1E2329 100%);
  border: 1px solid rgba(240, 185, 11, 0.2);
}

.kaka-notice .cell-hd img {
  height: 20px;
  filter: drop-shadow(0 0 8px rgba(240, 185, 11, 0.3));
}

.kaka-notice .cell-bd p {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

/* 热门回收区域 */
.hotcards {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.hotcards .panel-heading {
  padding: 24px 20px 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--binance-gold);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.08) 0%, transparent 100%);
}

.hotcards .panel-heading::after {
  display: none;
}

.hotcards .grids {
  padding: 8px 12px 16px;
}

.hotcards .grid {
  padding: 20px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  background: transparent;
}

.hotcards .grid:active {
  background: rgba(240, 185, 11, 0.08);
  transform: scale(0.96);
}

.hotcards .grid img {
  height: 40px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.hotcards .grid .title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.hotcards .grid .discount {
  font-size: 12px;
  color: var(--binance-green);
  font-weight: 700;
  margin-top: 6px;
  text-shadow: 0 0 10px rgba(14, 203, 129, 0.3);
}

.hotcards .panel-footer {
  padding: 12px 20px 20px;
  background: transparent;
  border-top: 1px solid var(--border-color);
}

.hotcards .panel-footer .cell {
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.12) 0%, rgba(255, 212, 59, 0.12) 100%);
  border: 1px solid rgba(240, 185, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 20px;
}

.hotcards .panel-footer .text-blue {
  color: var(--binance-gold);
  font-size: 15px;
  font-weight: 700;
}

/* 会员中心头部 - 币安金色主题 */
.gradient {
  background: linear-gradient(180deg, #161A1E 0%, #0B0E11 100%);
  padding: 0;
}

.account-profile {
  padding: 30px 24px;
}

.account-profile .cell-hd .avatar {
  width: 72px;
  height: 72px;
  border: 3px solid rgba(240, 185, 11, 0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 40px rgba(240, 185, 11, 0.25);
}

.account-profile .cell-bd h3 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.account-profile .cell-bd p {
  color: var(--text-secondary);
  font-size: 14px;
}

.account-profile .cell-ft span {
  color: var(--binance-gold);
  font-size: 14px;
  font-weight: 600;
}

.tui {
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.25) 0%, rgba(255, 212, 59, 0.25) 100%);
  border: 1px solid rgba(240, 185, 11, 0.4);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--binance-gold);
  backdrop-filter: blur(10px);
  font-weight: 600;
}

.account-realname {
  background: rgba(240, 185, 11, 0.12);
  border-top: 1px solid rgba(240, 185, 11, 0.2);
  backdrop-filter: blur(10px);
  font-size: 14px;
  padding: 16px 24px;
  color: var(--binance-gold);
  font-weight: 600;
}

/* 余额卡片 - 币安奢华金色 */
.card-gradient {
  background: transparent;
  padding: 0;
  margin: 20px 10px;
  position: relative;
  z-index: 10;
}

.card-gradient .card {
  margin: 0 0 10px 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #161A1E 0%, #1E2329 100%);
  border: 1px solid rgba(240, 185, 11, 0.35);
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(240, 185, 11, 0.2); */
}

.account-balance {
  padding: 28px 24px;
}

.account-balance .cell-hd h5 {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.account-balance .cell-hd p {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #F0B90B 0%, #FFD43B 50%, #F0B90B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.account-balance .cell-bd .btn {
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 24px;
  border: none;
}

.account-balance .cell-bd .btn-default {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.account-balance .cell-bd .btn-secondary {
  background: linear-gradient(135deg, #F0B90B 0%, #FFD43B 50%, #F0B90B 100%);
  color: #0B0E11;
  box-shadow: 0 8px 30px rgba(240, 185, 11, 0.5), 0 0 40px rgba(240, 185, 11, 0.25);
}

/* 功能入口区域 */
.account-deal {
  padding: 12px 0;
}

.account-deal .cell-bd {
  padding: 20px 0;
}

.account-deal .cell-bd .iconfont {
  width: 56px;
  height: 56px;
  line-height: 56px;
  border-radius: var(--radius-xl);
  font-size: 26px;
  margin-bottom: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.account-deal .cell-bd span {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* 列表项 */
.cell {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  background: transparent;
}

.cell:last-child {
  border-bottom: none;
}

.cell:active {
  background: rgba(240, 185, 11, 0.08);
}

.cell .cell-hd .iconfont {
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: var(--radius-md);
  font-size: 22px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
}

.cell .cell-bd {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 600;
}

.cell .cell-ft span {
  font-size: 13px;
  color: var(--text-muted);
}

/* 底部导航 - 币安金色 */
.myfooter {
  background: linear-gradient(180deg, rgba(22, 26, 30, 0.98) 0%, rgba(11, 14, 17, 0.99) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(240, 185, 11, 0.2);
  height: 80px;
  padding-top: 8px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.7);
}

.myfooter .tabs {
  background: transparent;
  height: 72px;
}

.myfooter .tab-item {
  padding: 10px 0 0;
  transition: all 0.3s ease;
  position: relative;
}

.myfooter .tab-item .icon {
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.myfooter .tab-item .icon .iconfont {
  font-size: 26px;
  color: var(--text-muted);
}

.myfooter .tab-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.myfooter .tab-item.active span {
  color: var(--binance-gold);
  font-weight: 700;
}

.myfooter .tab-item.active .iconfont-normal {
  display: none;
}

.myfooter .tab-item.active .iconfont-active {
  display: inline;
  background: linear-gradient(135deg, #F0B90B 0%, #FFD43B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(240, 185, 11, 0.6));
}

.myfooter .tab-item.active {
  animation: navPulse 0.6s ease;
}

@keyframes navPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.myfooter .tab-item::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 36px;
  height: 4px;
  background: linear-gradient(90deg, #F0B90B 0%, #FFD43B 100%);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(240, 185, 11, 0.7);
}

.myfooter .tab-item.active::before {
  transform: translateX(-50%) scale(1);
}

.myfooter .tab-item.active .icon {
  transform: translateY(-3px);
}

/* Footer 底部 */
.footer {
  padding: 40px 24px;
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 12px;
}

/* 按钮样式优化 */
.btn {
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary,
.btn-secondary {
  background: linear-gradient(135deg, #F0B90B 0%, #FFD43B 50%, #F0B90B 100%);
  border: none;
  color: #0B0E11 !important;
  /* box-shadow: 0 8px 30px rgba(240, 185, 11, 0.5), 0 0 40px rgba(240, 185, 11, 0.25); */
}

/* 表单优化 */
.form-control {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-control:focus {
  background: var(--bg-card-hover);
  border-color: var(--binance-gold);
  box-shadow: 0 0 0 4px rgba(240, 185, 11, 0.15), 0 0 30px rgba(240, 185, 11, 0.2);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* 弹窗优化 */
.modal:not(.matte) {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(240, 185, 11, 0.15);
}

/* 页面过渡动画 */
.mycontent > * {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 热门回收图标优化 */
.hotcards .grid .iconfont {
  font-size: 32px;
}

/* 分类图标添加悬浮效果 */
.typeicon-group li a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 列表项图标颜色优化 - 币安金色系 */
.cell .cell-hd .iconfont.text-orange {
  background: linear-gradient(135deg, #F0B90B 0%, #FFD43B 100%);
  color: #0B0E11;
  border: none;
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
}

.cell .cell-hd .iconfont.text-choc {
  background: linear-gradient(135deg, #F0B90B 0%, #FFD43B 100%);
  color: #0B0E11;
  border: none;
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
}

.cell .cell-hd .iconfont.text-purple {
  background: linear-gradient(135deg, #0ECB81 0%, #0FDF8F 100%);
  color: #0B0E11;
  border: none;
  box-shadow: 0 4px 15px rgba(14, 203, 129, 0.3);
}

/* 会员中心功能图标美化 */
.account-deal .cell-bd .iconfont.bg-red {
  background: linear-gradient(135deg, #F6465D 0%, #FF6B81 100%);
  color: #fff;
  border: none;
}

.account-deal .cell-bd .iconfont.bg-info {
  background: linear-gradient(135deg, #0ECB81 0%, #0FDF8F 100%);
  color: #0B0E11;
  border: none;
}

.account-deal .cell-bd .iconfont.bg-pink {
  background: linear-gradient(135deg, #F0B90B 0%, #FFD43B 100%);
  color: #0B0E11;
  border: none;
}

.account-deal .cell-bd .iconfont.bg-orange {
  background: linear-gradient(135deg, #F0B90B 0%, #FFD43B 100%);
  color: #0B0E11;
  border: none;
}

/* 滚动条美化 - 币安金色 */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #F0B90B 0%, #FFD43B 100%);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(240, 185, 11, 0.5);
}

/* 选中文字颜色 */
::selection {
  background: rgba(240, 185, 11, 0.25);
  color: var(--text-primary);
}

/* 登录页面美化 - 币安风格 */
.sign-form {
  padding: 40px 24px;
}

.logo-brand {
  margin-bottom: 50px !important;
}

.logo-brand img {
  filter: drop-shadow(0 0 20px rgba(240, 185, 11, 0.3));
}

.login-tabs {
  background: transparent;
  margin-bottom: 40px;
  border-bottom: none;
}

.login-tabs .tab-item span {
  padding: 14px 24px;
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 600;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.login-tabs .tab-item span.active {
  color: var(--binance-gold);
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.15) 0%, rgba(255, 212, 59, 0.15) 100%);
  border: 1px solid rgba(240, 185, 11, 0.4);
  font-weight: 700;
  box-shadow: 0 0 30px rgba(240, 185, 11, 0.15);
}

.sign-form-content .form-group {
  margin-bottom: 24px;
}

.sign-form-content .form-control {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px 24px;
  font-size: 15px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.sign-form-content .form-control:focus {
  background: var(--bg-card-hover);
  border-color: var(--binance-gold);
  box-shadow: 0 0 0 4px rgba(240, 185, 11, 0.15), 0 0 40px rgba(240, 185, 11, 0.2);
}

.sign-form-content .btn-secondary {
  width: 100%;
  border-radius: 16px;
  padding: 18px;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(135deg, #F0B90B 0%, #FFD43B 50%, #F0B90B 100%);
  border: none;
  color: #0B0E11;
  box-shadow: 0 12px 40px rgba(240, 185, 11, 0.5), 0 0 60px rgba(240, 185, 11, 0.25);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sign-form-content .btn-secondary:active {
  transform: scale(0.97);
  box-shadow: 0 6px 25px rgba(240, 185, 11, 0.4), 0 0 40px rgba(240, 185, 11, 0.2);
}

.sign-links {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
}

.sign-links a {
  color: var(--binance-gold);
  font-weight: 600;
}

.sign-links .sep {
  margin: 0 10px;
  color: var(--border-color);
}

.sign-other {
  margin-top: 50px;
}

.orline {
  border: none;
  border-top: 1px solid var(--border-color);
  margin-bottom: 35px;
}

.orline-title {
  color: var(--text-muted);
  font-size: 13px;
  padding: 0 20px;
  background: var(--bg-dark);
}

.sign-other .btn-primary {
  background: linear-gradient(135deg, #0ECB81 0%, #0FDF8F 100%);
  border: none;
  border-radius: 14px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #0B0E11;
  box-shadow: 0 8px 30px rgba(14, 203, 129, 0.4), 0 0 40px rgba(14, 203, 129, 0.2);
}

/* 增强的动画效果 - 币安金色发光 */
.typeicon {
  animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 30px rgba(240, 185, 11, 0.2);
  }
}

/* 卡片悬停发光效果 - 币安金色边框 */
.card {
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.35) 0%, transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::before {
  opacity: 1;
}
