/* 极简重置与活力橙主题变量 */
:root {
  --electric-orange: #FF5200;
  --neon-orange: #FF7B00;
  --deep-orange: #FF3D00;
  --black: #1A1A1A;
  --white: #FFFFFF;
  --glow: 0 0 15px rgba(255, 123, 0, 0.7);
}
body{
  color: var(--white);
}
.navigationBar{
  background: var(--black);
}
.earn_new{
  margin-top: 64px;
  height: calc(100% - 64px);
  overflow: auto;
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--deep-orange), var(--electric-orange));
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  z-index: -1;
}

/* 3D浮动内容卡片 */
.data-show-box {
  background: rgba(26, 26, 26, 0.85);
  border-radius: 20px;
  padding: 1rem;
  width: 90%;
  max-width: 600px;
  margin: auto 0;
  box-shadow: -10px 25px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 123, 0, 0.3);
  backdrop-filter: blur(5px);
  box-sizing: border-box;
}

/* 霓虹文字效果 */
.in-msg {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  text-align: center;
}

/* 邀请码-科幻风格 */
.invite-now-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 20px;
  border-radius: 10px;
  margin: 25px 0;
  border-left: 3px solid var(--electric-orange);
  position: relative;
  overflow: hidden;
}

.invite-now-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 123, 0, 0.2), transparent);
  transition: all 0.6s;
}

.invite-now-text:hover::before {
  left: 100%;
}
.popup-invite-link:not(.popup-tablet-fullscreen) {
  height: auto!important;
  width: 90%!important;
  left: 5%!important;
  top: 5%;
  margin: 0 auto;
  background: rgba(26, 26, 26, 0.98);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(255,123,0,0.18), 0 1.5px 8px rgba(0,0,0,0.18);
  border: 1.5px solid var(--electric-orange);
  padding: 0;
  animation: popup-fade-in 0.25s;
}

@keyframes popup-fade-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.popup-invite-link .home-tips-box {
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  position: relative;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.popup-invite-link .home-tips-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--electric-orange);
  text-align: center;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

.popup-invite-link .invite-link-content {
  color: #fff;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.2rem;
  word-break: break-all;
}

.popup-invite-link .invite-link-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.popup-invite-link .invite-link-url {
  color: var(--neon-orange);
  font-size: 1rem;
  background: rgba(255,255,255,0.07);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  word-break: break-all;
  max-width: 60vw;
  overflow-x: auto;
}

.popup-invite-link .invite-link-copy-btn {
  background: var(--electric-orange);
  color: var(--black);
  padding: 0.4rem 1.1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  outline: none;
  box-shadow: 0 2px 8px rgba(255,123,0,0.08);
}

.popup-invite-link .invite-link-copy-btn:hover {
  background: var(--white);
  color: var(--electric-orange);
}

.popup-invite-link-close {
  position: absolute;
  top: 0.7rem;
  right: 1.1rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
  font-weight: bold;
  line-height: 1;
  opacity: 0.85;
}
.popup-invite-link-close:hover {
  color: var(--electric-orange);
  opacity: 1;
}
.inviteCode {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--neon-orange);
  text-shadow: 0 0 10px rgba(255, 123, 0, 0.5);
}

.c-b {
  background: var(--electric-orange);
  color: var(--black);
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}

.c-b:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.hand {
  width: 24px; /* 增大尺寸 */
  height: 24px;
  margin-left: 8px;
  background: var(--white);
  border-radius: 100%;
  filter: drop-shadow(0 0 2px rgba(255,123,0,0.5)); /* 添加发光效果 */
  animation: point 1.5s infinite;
}

/* 社交媒体按钮-全息效果 */
.invite-btn-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem; /* 缩小间距 */
  margin: 25px 0;
}

.invite-now-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--card-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,123,0,0.2);
}
.invite-now-btn img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.invite-now-btn:nth-child(1) {
  animation: bounce 1.5s ease-in-out infinite;
}
.invite-now-btn:nth-child(2) {
  animation: bounce 1.5s ease-in-out infinite 0.25s;
}
.invite-now-btn:nth-child(3) {
  animation: bounce 1.5s ease-in-out infinite 0.5s;
}
.invite-now-btn:nth-child(4) {
  animation: bounce 1.5s ease-in-out infinite 0.75s;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  50% {
    transform: translateY(-8px) scale(1);
    box-shadow: 0 8px 16px rgba(255,95,0,0.2);
  }
}

.task-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  padding: 0 5%;
  margin: 4rem auto 0;
  max-width: 1200px;
}

.task-item {
  background: rgba(26, 26, 26, 0.8);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.5s;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 123, 0, 0.2);
}

.task-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #ff9500;
}

.task-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(255, 123, 0, 0.5));
}

.task-money {
  font-size: 28px;
  font-weight: 700;
  margin: 15px 0;
  background: linear-gradient(90deg, var(--electric-orange), var(--neon-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.task-money .unit {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.task-esc {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(255, 123, 0, 0.1);
  color: var(--neon-orange);
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 123, 0, 0.3);
}

/* 主要CTA按钮-能量脉冲效果 */
.invite-now-btn2 {
  background: linear-gradient(90deg, var(--electric-orange), var(--neon-orange));
  color: var(--black);
  padding: 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  width: 90%;
  max-width: 500px;
  margin: 1rem auto;
  display: block;
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
  box-shadow: 0 10px 20px rgba(255, 82, 0, 0.3);
}

.invite-now-btn2::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: all 0.7s;
}

.invite-now-btn2:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 82, 0, 0.5), var(--glow);
}

.invite-now-btn2:hover::before {
  left: 100%;
}

@keyframes point {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 123, 0, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(255, 123, 0, 0); }
}