/* Exness返佣网 - 现代科技风格 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #1e293b;
  line-height: 1.6;
  font-size: 14px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.85;
}

.w1200 {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 */
.header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.header .w1200 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  min-width: 200px;
  display: flex;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: #555;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: #1e40af;
  font-weight: 600;
}

.header-btns {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #1e40af;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 71, 42, 0.2);
}

.btn.primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

/* 页面区块 */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.section-desc {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin-bottom: 40px;
}

/* 卡片 */
.card {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.3);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.card-content {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

/* 网格布局 */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* 表格 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

th, td {
  border: 1px solid #eee;
  padding: 12px;
  text-align: left;
}

th {
  background: #f9f9f9;
  font-weight: 600;
}

/* 英雄区 */
.hero {
  padding: 100px 0 120px;
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%);
  opacity: 0.6;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Ccircle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.4"/%3E%3C/svg%3E');
  opacity: 0.2;
}

.hero .w1200 {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 32px;
  font-weight: 500;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-btns .btn {
  padding: 14px 32px;
  font-size: 16px;
  border-width: 2px;
}

.hero-btns .btn.primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
}

.hero-btns .btn.primary:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(251, 191, 36, 0.6);
}

.hero-btns .btn:not(.primary) {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.hero-btns .btn:not(.primary):hover {
  background: rgba(255,255,255,0.1);
}

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

/* 特性列表 */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
}

.feature-item {
  text-align: center;
  padding: 32px 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #fff;
  border: 2px solid transparent;
}

.feature-item:hover {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #3b82f6;
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.2);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.feature-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

/* 页脚 */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 32px;
  margin-top: 100px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 32px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.footer-section li:hover {
  transform: translateX(4px);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

.footer-bottom p {
  margin-bottom: 8px;
}

/* 响应式 */
@media (max-width: 1240px) {
  .w1200 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .features, .footer-content, .rebate-box {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
  
  .nav {
    display: none;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .rebate-value {
    font-size: 28px;
  }
}

/* 高亮信息 */
.highlight {
  background: #f9f9f9;
  border-left: 3px solid #333;
  padding: 16px;
  margin: 16px 0;
  border-radius: 8px;
}

.warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
  padding: 24px 28px;
  margin: 28px 0;
  border-radius: 16px;
  color: #78350f;
  font-size: 15px;
  line-height: 1.8;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

/* 表单 */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #333;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

/* 返佣数据展示 */
.rebate-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.rebate-item {
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  background: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.rebate-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  border-radius: 4px 4px 0 0;
}

.rebate-item:hover {
  border-color: #3b82f6;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.25);
}

.rebate-item:hover::before {
  transform: scaleX(1);
}

.rebate-label {
  color: #888;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rebate-value {
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: -1px;
}

.rebate-item small {
  color: #999;
  font-size: 14px;
  font-weight: 500;
}

/* FAQ */
.faq-item {
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  background: #fff;
}

.faq-item:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
  transform: translateX(6px);
  background: linear-gradient(135deg, #fff 0%, #eff6ff 100%);
}

.faq-question {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
}

.faq-answer {
  color: #666;
  line-height: 1.8;
  font-size: 14px;
}

/* 图片占位符和错误处理 */
img.error-placeholder {
  border: 1px dashed #ddd;
  background: #f5f5f5;
}

/* 文章内容图片样式 */
.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 4px;
}

.article-content img[src*="placeholder.svg"] {
  border: 1px dashed #ddd;
  background: #fafafa;
}

/* 额外的现代化元素 */

/* 渐变文字效果 */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* 玻璃态效果 */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
}

/* 脉冲动画 */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* 闪光效果 */
@keyframes shine {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 3s infinite;
}

/* 悬浮阴影 */
.hover-shadow {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-shadow:hover {
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
  transform: translateY(-8px);
}

/* 数据统计卡片增强 */
.stat-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.stat-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 48px rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
}

.stat-value {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 标签样式 */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.badge.gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.badge.purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

/* 分隔线 */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
  margin: 40px 0;
}

/* 改进表格样式 */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

th {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #fff;
  font-weight: 600;
  padding: 16px;
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

td {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 16px;
  transition: background 0.3s ease;
}

tr:hover td {
  background: #eff6ff;
}

tr:last-child td {
  border-bottom: none;
}
