* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: #ffffff;
  background: linear-gradient(135deg, #0D0E14 0%, #1a1d29 100%);
  min-height: 100vh;
  padding-top: 70px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 29, 41, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left, .nav-center, .nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #177CFF 0%, #4E38D8 100%);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(23, 124, 255, 0.4);
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #177CFF;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.lang-btn:hover {
  border-color: #177CFF;
  color: #177CFF;
}

.connect-btn {
  background: linear-gradient(135deg, #177CFF 0%, #4E38D8 100%);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(23, 124, 255, 0.3);
}

.connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 124, 255, 0.4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(26, 29, 41, 0.98);
  backdrop-filter: blur(20px);
  padding: 1rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.mobile-link:hover {
  background: rgba(23, 124, 255, 0.1);
  color: #177CFF;
}

.mobile-lang-btn, .mobile-connect-btn {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 15px;
}

.mobile-connect-btn {
  background: linear-gradient(135deg, #177CFF 0%, #4E38D8 100%);
  border: none;
}

.banner {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.banner-content {
  background: linear-gradient(135deg, rgba(23, 124, 255, 0.15) 0%, rgba(78, 56, 216, 0.15) 100%);
  border: 1px solid rgba(23, 124, 255, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.banner-icon {
  font-size: 32px;
}

.banner-text h3 {
  font-size: 18px;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.banner-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.card {
  background: rgba(26, 29, 41, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.asset-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
}

.value-green {
  color: #10b981;
}

.token-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 2rem;
  padding-right: 0.5rem;
}

.token-list::-webkit-scrollbar {
  width: 6px;
}

.token-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.token-list::-webkit-scrollbar-thumb {
  background: rgba(23, 124, 255, 0.5);
  border-radius: 3px;
}

.token-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  transition: all 0.3s;
}

.token-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.token-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.token-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.token-info {
  flex: 1;
}

.token-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.token-balance {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.token-value {
  font-size: 16px;
  font-weight: 600;
  color: #10b981;
}

.yield-info {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.yield-rate {
  margin-bottom: 1rem;
}

.yield-number {
  font-size: 48px;
  font-weight: 700;
  color: #10b981;
}

.yield-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.yield-calculation {
  font-size: 16px;
  color: #10b981;
  font-weight: 600;
}

.progress-section {
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #177CFF 0%, #4E38D8 100%);
  border-radius: 4px;
  width: 0%;
  transition: width 0.5s;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.register-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #177CFF 0%, #4E38D8 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(23, 124, 255, 0.3);
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 124, 255, 0.4);
}

.register-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.tier-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tier-header {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(23, 124, 255, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #177CFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
}

.tier-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.tier-best {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.05) 100%);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.activity-card {
  margin-top: 2rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.activity-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 13px;
  animation: fadeInUp 0.5s ease-out;
}

.activity-address {
  color: #177CFF;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.activity-details {
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: space-between;
}

.activity-amount {
  color: #10b981;
  font-weight: 600;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: rgba(26, 29, 41, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
}

.rules-content {
  max-width: 700px;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #ffffff;
}

.wallet-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.wallet-option {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.wallet-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(23, 124, 255, 0.5);
}

.wallet-option.selected {
  background: rgba(23, 124, 255, 0.15);
  border-color: #177CFF;
}

.wallet-logo {
  margin-bottom: 1rem;
}

.wallet-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 12px;
  background: linear-gradient(135deg, #177CFF 0%, #4E38D8 100%);
}

.tp-icon {
  background: linear-gradient(135deg, #2980fe 0%, #1e5bc6 100%);
}

.okx-icon {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.phantom-icon {
  background: linear-gradient(135deg, #ab9ff2 0%, #6f5ce6 100%);
}

.solflare-icon {
  background: linear-gradient(135deg, #fc8d4d 0%, #f77737 100%);
}

.tronlink-icon {
  background: linear-gradient(135deg, #eb8f00 0%, #d97e0a 100%);
}

.imtoken-icon {
  background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
}

.wallet-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.wallet-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.confirm-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #177CFF 0%, #4E38D8 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.confirm-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 124, 255, 0.4);
}

.confirm-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.rules-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.rules-text h3 {
  font-size: 18px;
  margin: 1.5rem 0 1rem;
  color: #ffffff;
}

.rules-text p {
  margin-bottom: 1rem;
  font-size: 14px;
}

.rules-text ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.rules-text li {
  margin-bottom: 0.5rem;
  font-size: 14px;
}

.highlight-box {
  background: rgba(23, 124, 255, 0.1);
  border-left: 4px solid #177CFF;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.warning-box {
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

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

@media (max-width: 768px) {
  .nav-center, .nav-right {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .asset-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .wallet-options {
    grid-template-columns: 1fr;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .main-content {
    padding: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .yield-number {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 16px;
  }

  .nav-container {
    padding: 0.75rem 1rem;
  }

  .card {
    padding: 1rem;
  }

  .stat-value {
    font-size: 24px;
  }

  .yield-number {
    font-size: 32px;
  }

  .modal-content {
    padding: 1.5rem;
  }
}
