/* 币圈主题背景样式 */
.crypto-bg {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #2A2A2A 100%);
  position: relative;
  overflow: hidden;
}

.crypto-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 191, 255, 0.05) 0%, transparent 50%);
  animation: backgroundShift 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes backgroundShift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-10px, -10px) rotate(1deg); }
  50% { transform: translate(10px, -5px) rotate(-1deg); }
  75% { transform: translate(-5px, 10px) rotate(0.5deg); }
}

.crypto-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 215, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  animation: gridMove 30s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.crypto-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.crypto-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #FFD700;
  border-radius: 50%;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 1; 
  }
  50% { 
    transform: translateY(-20px) rotate(180deg); 
    opacity: 0.7; 
  }
}

.crypto-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.crypto-particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.crypto-particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.crypto-particle:nth-child(4) { left: 40%; animation-delay: 1s; }
.crypto-particle:nth-child(5) { left: 50%; animation-delay: 3s; }
.crypto-particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.crypto-particle:nth-child(7) { left: 70%; animation-delay: 2s; }
.crypto-particle:nth-child(8) { left: 80%; animation-delay: 4s; }
.crypto-particle:nth-child(9) { left: 90%; animation-delay: 1s; }
.crypto-particle:nth-child(10) { left: 95%; animation-delay: 3s; }

/* 币圈主题卡片样式 */
.crypto-card-modern {
  background: rgba(26, 26, 26, 0.95);
  border: 2px solid #FFD700;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.crypto-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.crypto-card-modern:hover::before {
  left: 100%;
}

.crypto-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(255, 215, 0, 0.2);
}

/* 币圈主题按钮样式 */
.btn-crypto-modern {
  background: linear-gradient(45deg, #FFD700, #FFA500);
  border: none;
  color: #0A0A0A;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 15px 30px;
  border-radius: 25px;
  box-shadow: 
    0 8px 25px rgba(255, 215, 0, 0.4),
    0 0 0 1px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-crypto-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-crypto-modern:hover::before {
  left: 100%;
}

.btn-crypto-modern:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 35px rgba(255, 215, 0, 0.6),
    0 0 0 2px rgba(255, 215, 0, 0.3);
}

/* 币圈主题输入框样式 */
.input-crypto-modern {
  background: rgba(42, 42, 42, 0.9);
  border: 2px solid #666666;
  color: #FFFFFF;
  border-radius: 15px;
  padding: 15px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.input-crypto-modern:focus {
  background: rgba(26, 26, 26, 0.95);
  border-color: #FFD700;
  box-shadow: 
    0 0 20px rgba(255, 215, 0, 0.3),
    0 0 0 1px rgba(255, 215, 0, 0.1);
  color: #FFFFFF;
  outline: none;
}

.input-crypto-modern::placeholder {
  color: #999999;
}

/* 币圈主题加载动画 */
.crypto-loading {
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  border-top-color: #FFD700;
  animation: cryptoSpin 1s ease-in-out infinite;
}

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

/* 币圈主题价格显示 */
.price-display-modern {
  font-size: 2.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  text-align: center;
  margin: 20px 0;
}

/* 币圈主题状态指示器 */
.status-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  animation: statusPulse 2s ease-in-out infinite;
}

.status-indicator.online {
  background: #00FF7F;
  box-shadow: 0 0 10px rgba(0, 255, 127, 0.5);
}

.status-indicator.offline {
  background: #FF4444;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
