/* 消费分红专区页面样式 */

/* 英雄区域样式 */
.dividend-hero {
  background: var(--gradient-dark);
  padding: 120px 0 80px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dividend-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--blockchain-pattern);
  opacity: 0.1;
  z-index: 1;
}

.dividend-hero .container {
  position: relative;
  z-index: 2;
}

.dividend-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dividend-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

/* 理论阐释模块样式 */
.theory-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.theory-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--blockchain-pattern);
  opacity: 0.03;
  z-index: 0;
}

.theory-section .container {
  position: relative;
  z-index: 1;
}

.theory-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.theory-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theory-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.theory-card:hover {
  transform: translateY(-10px);
}

.theory-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.card-icon i {
  font-size: 2rem;
  color: var(--white);
}

.theory-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.theory-card p {
  color: var(--light-text);
  line-height: 1.6;
}

/* 资金流向图表样式 */
.flow-animation {
  margin-top: 80px;
  text-align: center;
}

.flow-animation h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.flow-animation h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.flow-chart {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color);
}

/* 机制详解模块样式 */
.mechanism-section {
  padding: 100px 0;
  background: var(--background-color);
  position: relative;
}

.mechanism-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--data-visualization);
  opacity: 0.03;
  z-index: 0;
}

.mechanism-section .container {
  position: relative;
  z-index: 1;
}

.tabs-container {
  margin-top: 50px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color);
  overflow: hidden;
}

.tabs-header {
  display: flex;
  background: var(--background-color);
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  padding: 20px;
  border: none;
  background: none;
  font-size: 1.1rem;
  color: var(--light-text);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.tab-btn.active {
  background: var(--white);
  color: var(--primary-color);
  font-weight: bold;
}

.tab-btn.active::after {
  width: 100%;
}

.tabs-content {
  padding: 40px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.tab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.tab-card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: transform 0.3s ease;
}

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

/* 消费者权益标签页样式 */
.example-box {
  margin: 20px 0;
  padding: 20px;
  background: var(--background-color);
  border-radius: 10px;
}

.example-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.example-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.example-arrow {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.example-note {
  margin-top: 15px;
  font-style: italic;
  color: var(--light-text);
  text-align: center;
}

/* 计算器样式 */
.calculator {
  padding: 20px;
  background: var(--background-color);
  border-radius: 10px;
}

.calculator-input {
  margin-bottom: 20px;
}

.calculator-input label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-color);
  font-weight: 500;
}

.calculator-input input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.calculator-input input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--shadow-color);
  outline: none;
}

.calculator-result {
  text-align: center;
  margin-bottom: 20px;
}

.result-range {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.result-note {
  font-size: 0.9rem;
  color: var(--light-text);
}

/* NFT图表样式 */
.nft-chart {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.nft-info {
  background: var(--background-color);
  padding: 15px;
  border-radius: 10px;
}

.nft-info p {
  margin: 5px 0;
  color: var(--light-text);
}

/* NFT分红规则样式 */
.nft-dividend-rules {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rule-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rule-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.rule-content h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.rule-content p {
  color: var(--light-text);
}

/* 安全特性样式 */
.security-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.security-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.security-content h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.security-content p {
  color: var(--light-text);
}

/* 钱包绑定样式 */
.wallet-binding {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.binding-step {
  display: flex;
  align-items: center;
  gap: 15px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.step-content h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.step-content p {
  color: var(--light-text);
}

/* 操作指南模块样式 */
.guide-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.guide-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--blockchain-pattern);
  opacity: 0.03;
  z-index: 0;
}

.guide-section .container {
  position: relative;
  z-index: 1;
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  flex-wrap: wrap;
}

.step-item {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.3s ease;
}

.step-item:hover {
  transform: translateY(-10px);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.step-icon i {
  font-size: 2rem;
  color: var(--white);
}

.step-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.step-item p {
  color: var(--light-text);
  line-height: 1.6;
}

.step-connector {
  flex: 0 0 50px;
  text-align: center;
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* 税后提现说明样式 */
.tax-info {
  margin-top: 80px;
  text-align: center;
}

.tax-info h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.tax-info h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.tax-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--background-color);
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.tax-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.tax-content p {
  color: var(--light-text);
  line-height: 1.6;
  text-align: left;
}

/* 响应式样式 */
@media (max-width: 1200px) {
  .theory-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tab-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dividend-hero {
    padding: 100px 0 60px;
  }
  
  .dividend-hero h1 {
    font-size: 2.5rem;
  }
  
  .theory-cards {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .step-connector {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  
  .tax-details {
    flex-direction: column;
    text-align: center;
  }
  
  .tax-content p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .dividend-hero h1 {
    font-size: 2rem;
  }
  
  .dividend-hero p {
    font-size: 1rem;
  }
  
  .tabs-header {
    flex-direction: column;
  }
  
  .tab-btn {
    padding: 15px;
  }
  
  .tabs-content {
    padding: 20px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
} 