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

body {
  font-family: 'Microsoft YaHei', sans-serif;
  background-color: #f0f5ff;
  color: #333;
  line-height: 1.6;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  background-color: #fff;
  border-bottom: 1px solid #e8f0fe;
}

.top-nav-left, .top-nav-right {
  display: flex;
  gap: 16px;
}

.nav-link {
  color: #666;
  text-decoration: none;
  font-size: 13px;
}

.nav-link:hover {
  color: #1a73e8;
}

.user-credits {
  font-size: 13px;
  color: #1a73e8;
}

.user-credits strong {
  color: #ff6b35;
  font-weight: 600;
}

.header-section {
  background-color: #fff;
  padding: 35px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.logo-area {
  text-align: center;
  margin-bottom: 25px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logo-icon {
  font-size: 40px;
  font-weight: bold;
  color: #1a73e8;
  letter-spacing: -1px;
}

.logo-text {
  font-size: 32px;
  font-weight: bold;
  color: #1a73e8;
}

.logo-subtitle {
  font-size: 14px;
  color: #999;
  margin-top: 6px;
}

.search-area {
  width: 100%;
  max-width: 620px;
  margin-bottom: 25px;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #f5f7fa;
  border-radius: 25px;
  padding: 4px 4px 4px 20px;
  border: 1px solid #e0e0e0;
}

.search-icon {
  font-size: 14px;
  margin-right: 10px;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px;
  font-size: 14px;
  outline: none;
}

.search-btn {
  background-color: #1a73e8;
  color: #fff;
  border: none;
  padding: 10px 32px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-btn:hover {
  background-color: #1557b0;
}

.search-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.tag {
  font-size: 12px;
  color: #999;
}

.tag-link {
  font-size: 12px;
  color: #1a73e8;
  text-decoration: none;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab {
  display: inline-block;
  padding: 7px 20px;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  background-color: #f5f7fa;
  color: #666;
  transition: all 0.3s;
  text-decoration: none;
}

.tab:hover {
  background-color: #e8f0fe;
  color: #1a73e8;
}

.tab.active {
  background-color: #1a73e8;
  color: #fff;
}

.tab .count {
  font-size: 12px;
  margin-left: 3px;
}

.domain-list-section {
  padding: 20px;
}

.table-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
}

.domain-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.domain-table thead {
  background-color: #f8fafc;
}

.domain-table th {
  padding: 12px 8px;
  text-align: center;
  font-weight: 500;
  color: #666;
  border-bottom: 1px solid #eef2f7;
  font-size: 12px;
  white-space: nowrap;
}

.domain-table th:nth-child(1) { width: 12%; }
.domain-table th:nth-child(2) { width: 5%; }
.domain-table th:nth-child(3) { width: 5%; }
.domain-table th:nth-child(4) { width: 5%; }
.domain-table th:nth-child(5) { width: 5%; }
.domain-table th:nth-child(6) { width: 6%; }
.domain-table th:nth-child(7) { width: 6%; }
.domain-table th:nth-child(8) { width: 6%; }
.domain-table th:nth-child(9) { width: 6%; }
.domain-table th:nth-child(10) { width: 6%; }
.domain-table th:nth-child(11) { width: 6%; }
.domain-table th:nth-child(12) { width: 6%; }
.domain-table th:nth-child(13) { width: 6%; }
.domain-table th:nth-child(14) { width: 8%; }
.domain-table th:nth-child(15) { width: 7%; }
.domain-table th:nth-child(16) { width: 5%; }
.domain-table th:nth-child(17) { width: 5%; }

.domain-table td {
  padding: 14px 8px;
  border-bottom: 1px solid #f0f4f8;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weight-img {
  height: 20px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.domain-table tbody tr {
  transition: background-color 0.2s;
}

.domain-table tbody tr:hover {
  background-color: #f8fafc;
}

.domain-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.domain-name {
  font-weight: 500;
  color: #333;
  font-size: 13px;
}

.weight-icons {
  display: flex;
  gap: 3px;
}

.weight-icons .icon {
  font-size: 10px;
}

.history-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
}

.history-badge.no {
  background-color: #fff3e0;
  color: #ff9800;
}

.history-badge.yes {
  background-color: #e8f5e9;
  color: #4caf50;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}

.status-badge.available {
  background-color: #e8f5e9;
  color: #4caf50;
}

.status-badge.registered {
  background-color: #ffebee;
  color: #f44336;
}

.status-badge.unknown {
  background-color: #fff3e0;
  color: #ff9800;
}

.weight-value {
  font-weight: 600;
  color: #1a73e8;
}

.score-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 11px;
  background-color: #fff3e0;
  color: #ff9800;
}

.score-badge.high {
  background-color: #ffebee;
  color: #f44336;
}

.price {
  font-weight: 600;
  color: #ff9800;
}

.price.high {
  color: #f44336;
}

.buy-btn {
  background-color: #ff6b35;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.buy-btn:hover {
  background-color: #ff8c5a;
  transform: scale(1.05);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-icon {
  font-size: 18px;
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
}

.modal-body {
  padding: 20px;
}

.domain-display {
  background-color: #f5f7fa;
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  margin-bottom: 20px;
}

.domain-display span {
  font-size: 18px;
  font-weight: 600;
  color: #1a73e8;
}

.contact-info {
  margin-bottom: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f4f8;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 13px;
  color: #666;
}

.info-value {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.info-value.wechat {
  color: #07c160;
}

.info-link {
  font-size: 13px;
  color: #1a73e8;
  text-decoration: none;
}

.info-link.phone {
  color: #ff6b35;
}

.contact-btn {
  background-color: #07c160;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.contact-btn:hover {
  background-color: #06ad56;
}

.modal-tips {
  background-color: #fff8e1;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #9e6a03;
  line-height: 1.5;
}

.tip-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.modal-footer {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid #f0f4f8;
}

.modal-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.close-btn {
  background-color: #f0f2f5;
  color: #666;
}

.close-btn:hover {
  background-color: #e0e2e5;
}

.contact-btn-primary {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  color: #fff;
}

.contact-btn-primary:hover {
  opacity: 0.9;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.page-btn {
  padding: 6px 14px;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  color: #666;
  transition: all 0.3s;
}

.page-btn:hover {
  border-color: #1a73e8;
  color: #1a73e8;
}

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

.page-btn.disabled:hover {
  border-color: #ddd;
  color: #666;
}

.pagination a {
  text-decoration: none;
  color: inherit;
}

.pagination a:hover {
  text-decoration: none;
}

.page-num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #666;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.page-num:hover {
  background-color: #f0f4f8;
}

.page-num.active {
  background-color: #1a73e8;
  color: #fff;
}

.footer-section {
  background-color: #fff;
  padding: 20px 0;
  margin-top: 30px;
  border-top: 1px solid #eef2f7;
}

.footer-content {
  text-align: center;
  padding: 0 20px;
}

.footer-main {
  margin-bottom: 10px;
}

.footer-main span {
  font-size: 12px;
  color: #999;
}

.footer-link {
  font-size: 12px;
  color: #1a73e8;
  text-decoration: none;
  margin-left: 15px;
}

.footer-legal {
  font-size: 11px;
  color: #bbb;
  line-height: 1.6;
}

.header {
  background-color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo a {
  font-size: 24px;
  font-weight: bold;
  color: #1a73e8;
  text-decoration: none;
}

.nav ul {
  list-style: none;
  display: flex;
}

.nav ul li {
  margin-left: 25px;
}

.nav ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
}

.nav ul li a:hover,
.nav ul li a.active {
  color: #1a73e8;
}

.user-info {
  display: flex;
  align-items: center;
}

.user-info span {
  margin-right: 15px;
  color: #1a73e8;
}

.user-info a {
  color: #333;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s;
  font-size: 14px;
}

.user-info a:hover {
  color: #1a73e8;
}

.user-info .btn-primary {
  background-color: #1a73e8;
  padding: 8px 20px;
  border-radius: 4px;
  color: #fff;
}

.user-info .btn-primary:hover {
  background-color: #1557b0;
  color: #fff;
}

.main {
  padding: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn-primary {
  background-color: #1a73e8;
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #1557b0;
}

.btn-secondary {
  background-color: #95a5a6;
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #7f8c8d;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
}

.query-form {
  max-width: 600px;
  margin: 0 auto 40px;
}

.query-form form {
  display: flex;
  flex-direction: column;
}

.query-form input {
  padding: 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 15px;
}

.query-form .hint {
  color: #999;
  font-size: 14px;
  margin-top: -10px;
  margin-bottom: 15px;
}

.result-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.result-card h2 {
  margin-bottom: 20px;
}

.whois-info pre {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 4px;
  overflow-x: auto;
}

.whois-info table,
.history-section table,
.seo-section table,
.baidu-section table {
  width: 100%;
  border-collapse: collapse;
}

.whois-info th,
.whois-info td,
.history-section th,
.history-section td,
.seo-section th,
.seo-section td,
.baidu-section th,
.baidu-section td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.whois-info th,
.history-section th,
.seo-section th,
.baidu-section th {
  background-color: #f8f9fa;
  width: 150px;
}

.history-section,
.seo-section,
.baidu-section {
  margin-top: 30px;
}

.history-section h3,
.seo-section h3,
.baidu-section h3 {
  margin-bottom: 15px;
  color: #333;
}

.seo-stats, .baidu-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-item {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.stat-item .stat-value {
  font-size: 32px;
  font-weight: bold;
  color: #1a73e8;
  display: block;
}

.stat-item .stat-label {
  color: #666;
}

.auth-form {
  max-width: 400px;
  margin: 0 auto;
}

.auth-form form {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.auth-form .form-group input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.auth-form p {
  margin-top: 20px;
  text-align: center;
}

.profile-card {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 0 auto;
}

.profile-info h2 {
  margin-bottom: 20px;
}

.profile-info p {
  margin-bottom: 10px;
}

.profile-stats {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.stat-box {
  background-color: #f8f9fa;
  padding: 20px 40px;
  border-radius: 8px;
  text-align: center;
}

.stat-box .stat-num {
  font-size: 32px;
  font-weight: bold;
  color: #1a73e8;
  display: block;
}

.stat-box .stat-text {
  color: #666;
}

.profile-actions {
  margin-top: 30px;
}

.profile-actions a {
  margin-right: 15px;
}

.recharge-form {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 0 auto;
}

.recharge-options h3, .custom-amount h3 {
  margin-bottom: 20px;
}

.option-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.option-item {
  flex: 1;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.3s;
}

.option-item input[type="radio"] {
  display: none;
}

.option-item input[type="radio"]:checked + span {
  color: #1a73e8;
}

.option-item input[type="radio"]:checked {
  border-color: #1a73e8;
}

.custom-amount input {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 200px;
}

.about-content, .contact-content {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-content h2, .contact-content h2 {
  margin: 30px 0 15px;
}

.about-content ul {
  list-style: none;
  padding-left: 20px;
}

.about-content ul li {
  padding: 8px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 8px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.contact-form .form-group textarea {
  height: 150px;
}

.footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 60px;
}