html {
  font-size: 16px;
  position: relative;
  height: 100%;
}

body {
  height: 100%;
  background: 
    radial-gradient(circle at 0% 0%, rgba(0, 98, 255, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(0, 212, 255, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(98, 54, 255, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(155, 102, 255, 0.4) 0%, transparent 50%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

/* 首页样式 */
.landing-page {
  background: linear-gradient(135deg, #f6f9fc 0%, #eef5fe 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}

.landing-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 98, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(98, 54, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(155, 102, 255, 0.1) 0%, transparent 40%);
  z-index: 0;
}

/* 自定义颜色变量 */
:root {
  --primary-gradient: linear-gradient(45deg, #0062ff, #00d4ff);
  --secondary-gradient: linear-gradient(45deg, #6236ff, #9b66ff);
  --success-gradient: linear-gradient(45deg, #00b09b, #96c93d);
  --warning-gradient: linear-gradient(45deg, #ff8f00, #ffbd45);
  --info-gradient: linear-gradient(45deg, #2b5876, #4e4376);
  --danger-gradient: linear-gradient(45deg, #ff416c, #ff4b2b);
  --cool-gradient: linear-gradient(45deg, #544a7d, #ffd452);
  --ocean-gradient: linear-gradient(45deg, #1a2980, #26d0ce);
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
      background-position: 200% 50%;
  }
  100% {
      background-position: -200% 50%;
  }
}

.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255,255,255,0.95) 0%, rgba(240,249,255,0.9) 100%);
}

/* 添加背景动画效果 */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(33,147,176,0.1) 0%, rgba(109,213,237,0.1) 100%);
  animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.mega-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mega-title small {
  font-size: 1.5rem;
  color: #6c757d;
}

.highlight {
  color: #2193b0;
  font-weight: 600;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2193b0;
}

.stat-label {
  color: #6c757d;
  font-size: 1rem;
}

/* 浮动硬币动画 */
.floating-coins {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.coin {
  position: absolute;
  width: 60px;
  height: 60px;
  animation: float-enhanced 6s ease-in-out infinite;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

.coin-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.coin-2 {
  top: 60%;
  right: 15%;
  animation-delay: -2s;
}

.coin-3 {
  top: 40%;
  right: 25%;
  animation-delay: -4s;
}

@keyframes float-enhanced {
  0% {
      transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
      transform: translateY(-20px) rotate(10deg) scale(1.1);
  }
  100% {
      transform: translateY(0px) rotate(0deg) scale(1);
  }
}

/* 特性卡片增强 */
.feature-card {
  height: 100%;
  padding: 2.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.3);
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.8));
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(33,147,176,0.15);
  background: rgba(255,255,255,0.95);
}

.feature-title {
  margin: 1.5rem 0;
  color: #2193b0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.feature-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li:before {
  content: "✓";
  color: #2193b0;
  position: absolute;
  left: 0;
}

/* 支持的链部分 */
.chain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.chain-item {
  background: linear-gradient(145deg, #ffffff, #f8f9fc);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,98,255,0.1);
}

.chain-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(33,147,176,0.1), rgba(109,213,237,0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chain-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(33,147,176,0.15);
}

.chain-item:hover::before {
  opacity: 1;
}

.chain-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.chain-item span {
  display: block;
  color: #495057;
  font-weight: 500;
}

/* CTA 部分 */
.cta-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.8) 100%);
  border-radius: 0 0 2rem 2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .mega-title {
      font-size: 2.5rem;
  }
  
  .hero-stats {
      flex-direction: column;
      gap: 1.5rem;
  }
  
  .coin {
      width: 40px;
      height: 40px;
  }
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--ocean-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.icon-wrapper::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  50% { transform: translateX(100%) rotate(45deg); }
  100% { transform: translateX(-100%) rotate(45deg); }
}

.icon-wrapper i {
  font-size: 24px;
  color: white;
}

.stat-card {
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(33,147,176,0.1);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(33,147,176,0.05), rgba(109,213,237,0.05));
  animation: pulse-stat 2s infinite;
}

@keyframes pulse-stat {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2193b0;
  position: relative;
  z-index: 1;
}

/* 支付页面样式 */
.payment-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.payment-card {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.payment-header {
  margin-bottom: 2rem;
}

.payment-currency, .payment-amount {
  color: #2193b0;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.qr-wrapper {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/*.qr-hover {
  transform: scale(1.02);
}
*/
.qr-code {
  max-width: 200px;
  border: 8px solid rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.chain-info {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #2193b0;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.wallet-address {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #2193b0;
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  font-family: monospace;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.payment-details {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.detail-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.detail-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.purchase-options {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.exchange-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.exchange-logo {
  height: 20px;
  margin-right: 0.5rem;
}

/* 动画效果 */
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.pulse-button {
  position: relative;
  overflow: hidden;
  background: var(--primary-gradient);
  border: none;
  animation: pulse-enhanced 2s infinite;
}

.pulse-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
  animation: shine 2s infinite;
}

@keyframes pulse-enhanced {
  0% {
      transform: scale(1);
      box-shadow: 0 5px 15px rgba(33,147,176,0.2);
  }
  50% {
      transform: scale(1.05);
      box-shadow: 0 8px 25px rgba(33,147,176,0.4);
  }
  100% {
      transform: scale(1);
      box-shadow: 0 5px 15px rgba(33,147,176,0.2);
  }
}

/* 错误页面样式 */
.error-container {
  text-align: center;
  padding: 3rem;
}

.error-container i {
  font-size: 5rem;
  color: #dc3545;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .payment-container {
      margin: 1rem auto;
  }
  
  .payment-card {
      padding: 1rem;
  }
  
  .exchange-links {
      flex-direction: column;
  }
}

/* 导航栏样式 */
.navbar {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1000;
  position: sticky;
  top: 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.brand-text {
  background: var(--ocean-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.nav-link:hover {
  color: rgba(0, 0, 0, 1);
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

/* 页面景 */
.payment-bg {
  background: 
    radial-gradient(circle at 0% 0%, rgba(0, 98, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(98, 54, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(155, 102, 255, 0.2) 0%, transparent 50%);
  background-attachment: fixed;
}

/* 页脚样式 */
.footer {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  position: relative;
  z-index: 1;
}

.footer .row {
  margin: 0;
  padding: 2rem 0;
}

.footer .container {
  padding: 1rem 15px;
}

.footer h5 {
  background: var(--ocean-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #2193b0 !important;
}

.footer .list-unstyled {
  margin-bottom: 0;
}

.footer .list-unstyled li {
  margin-bottom: 0.5rem;
}

.footer .list-unstyled li:last-child {
  margin-bottom: 0;
}

/* 指南页面样式 */
.guide-container,
.exchange-guide-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.guide-steps,
.step-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.step-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fc);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  border: 1px solid rgba(0,98,255,0.1);
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--ocean-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 1rem;
}

.platform-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.platform-buttons .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

.guide-tips {
  background: rgba(255, 193, 7, 0.1);
  padding: 2rem;
  border-radius: 1rem;
}

.guide-tips ul {
  list-style: none;
  padding: 0;
}

.guide-tips li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.guide-tips li:before {
  content: "•";
  color: #ffc107;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.qr-code {
  max-width: 200px;
  margin: 1rem auto;
  display: block;
}

/* 交易所指南页面特定样式 */
.exchange-header img {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.registration-steps,
.purchase-steps {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* 模态框美化 */
.modal-content {
  border: none;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,255,255,0.98));
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid rgba(33,147,176,0.1);
  padding: 1.5rem;
  background: var(--ocean-gradient);
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 600;
}

.modal-body {
  padding: 2rem;
}

.modal.fade .modal-dialog {
  transform: scale(0.95) translateY(-30px);
  transition: all 0.3s ease-in-out;
}

.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

/* 支付页面增强 */
.payment-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(33,147,176,0.1);
}

.payment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--ocean-gradient);
}

.payment-header {
  position: relative;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(33,147,176,0.1);
}

.payment-amount {
  font-size: 2.5rem;
  background: var(--ocean-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2s infinite;
}

.qr-wrapper {
  position: relative;
  background: linear-gradient(145deg, #ffffff, #f5f7fa);
  box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
}

.qr-code {
  transition: all 0.3s ease;
}

.qr-wrapper:hover .qr-code {
  transform: scale(1.02);
}

.chain-info {
  background: linear-gradient(145deg, rgba(33,147,176,0.1), rgba(109,213,237,0.1));
  border: 1px solid rgba(33,147,176,0.1);
}

.wallet-address {
  background: linear-gradient(145deg, rgba(33,147,176,0.1), rgba(109,213,237,0.1));
  border: 1px solid rgba(33,147,176,0.1);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* 导航栏增强 */
.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--ocean-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* 按钮样式增强 */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%) rotate(45deg);
}

.btn:hover::before {
  animation: btn-shine 0.5s forwards;
}

@keyframes btn-shine {
  to {
      transform: translateX(100%) rotate(45deg);
  }
}

/* 卡片悬停效果增强 */
.feature-card, .chain-item, .stat-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover, .chain-item:hover, .stat-card:hover {
  transform: translateY(-10px) scale(1.02);
}

/* 加载动画 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #2193b0;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 为旧版浏览器提供降级方案 */
@supports not (backdrop-filter: blur(10px)) {
  .navbar, .footer {
    background: rgba(255, 255, 255, 0.95) !important;
  }
}

/* 页脚链接样式增强 */
.footer .list-unstyled a {
  color: rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}

.footer .list-unstyled a:hover {
  color: rgba(0, 0, 0, 0.9) !important;
  text-decoration: none;
}

/* 页脚文本样式 */
.footer .text-muted {
  color: rgba(0, 0, 0, 0.7) !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* 倒计时样式增强 */
.countdown-timer {
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* 警告提示样式增强 */
.alert-warning {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 灵动岛通知样式 */
.dynamic-island {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 24px;
    border-radius: 20px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    justify-content: center;
}

.dynamic-island.show {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.dynamic-island i {
    font-size: 18px;
}

.dynamic-island.success {
    background: rgba(40, 167, 69, 0.95);
}

.dynamic-island.error {
    background: rgba(220, 53, 69, 0.95);
}

.dynamic-island.info {
    background: rgba(0, 0, 0, 0.95);
}

/* 动画效果 */
@keyframes island-expand {
    0% { transform: translateX(-50%) scale(0.8); opacity: 0; }
    20% { transform: translateX(-50%) scale(1.1); }
    40% { transform: translateX(-50%) scale(0.95); }
    60% { transform: translateX(-50%) scale(1.03); }
    80% { transform: translateX(-50%) scale(0.97); }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

@keyframes island-shrink {
    0% { transform: translateX(-50%) scale(1); opacity: 1; }
    100% { transform: translateX(-50%) scale(0.8); opacity: 0; }
}

/* 移动端模态框优化 */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0;
        position: fixed;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }

    .modal-content {
        border-radius: 1.5rem 1.5rem 0 0;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal.fade .modal-dialog {
        transform: translateY(100%);
        transition: transform 0.3s ease-out;
    }

    .modal.show .modal-dialog {
        transform: translateY(0);
    }

    .modal-header {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .modal-body {
        padding: 1rem;
    }

    /* 优化步骤卡片在移动端的显示 */
    .step-cards {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .step-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }

    /* 优化平台按钮在移动端的显示 */
    .platform-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .platform-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
    }
}

/* 模态框滑动动画 */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}