/* ========================================
   WHOIS查询页面样式
   ======================================== */

.whois-page {
  padding-top: 70px;
  min-height: 100vh;
  background: #f8fafc;
}

/* Hero Section */
.whois-hero {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #10B981 0%, #0EA5E9 50%, #6366F1 100%);
  overflow: hidden;
}

.whois-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.whois-hero .hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.whois-hero .hero-circle-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -50px;
  animation: whois-float 8s ease-in-out infinite;
}

.whois-hero .hero-circle-2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: 10%;
  animation: whois-float 10s ease-in-out infinite reverse;
}

@keyframes whois-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.whois-hero .container {
  position: relative;
  z-index: 2;
}

.whois-hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.whois-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.whois-hero-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.whois-hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

/* Search Box */
.whois-search-box {
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  display: flex;
  gap: 8px;
}

.whois-search-input {
  flex: 1;
  height: 52px;
  padding: 0 20px;
  border: none;
  font-size: 16px;
  background: transparent;
  outline: none;
}

.whois-search-input::placeholder {
  color: #94a3b8;
}

.whois-search-btn {
  height: 52px;
  padding: 0 32px;
  background: linear-gradient(135deg, #10B981, #0EA5E9);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whois-search-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(16,185,129,0.3);
}

/* Breadcrumb */
.whois-breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: #64748b;
}

.whois-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.whois-breadcrumb a:hover {
  color: #10B981;
}

/* Result Section */
.whois-content {
  padding: 0 0 60px;
}

.whois-result-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-bottom: 24px;
  overflow: hidden;
}

.whois-result-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whois-result-header .iconify {
  font-size: 24px;
  color: #10B981;
}

.whois-result-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.whois-result-domain {
  font-size: 14px;
  color: #64748b;
  margin-left: auto;
}

.whois-result-domain span {
  color: #10B981;
  font-weight: 600;
}

.whois-result-body {
  padding: 24px;
}

.whois-result-content {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #334155;
  max-height: 500px;
  overflow-y: auto;
  word-break: break-all;
}

.whois-result-content::-webkit-scrollbar {
  width: 6px;
}

.whois-result-content::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 3px;
}

.whois-result-content::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 3px;
}

.whois-error {
  text-align: center;
  padding: 40px;
  color: #ef4444;
}

.whois-error .iconify {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Help Section */
.whois-help-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
}

.whois-help-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whois-help-header .iconify {
  font-size: 24px;
  color: #0EA5E9;
}

.whois-help-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.whois-help-body {
  padding: 24px;
}

.whois-help-section {
  margin-bottom: 24px;
}

.whois-help-section:last-child {
  margin-bottom: 0;
}

.whois-help-section h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whois-help-section h4::before {
  content: '';
  width: 4px;
  height: 16px;
  background: linear-gradient(135deg, #10B981, #0EA5E9);
  border-radius: 2px;
}

.whois-help-section p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 12px;
}

.whois-help-section p:last-child {
  margin-bottom: 0;
}

.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.status-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 13px;
}

.status-item code {
  flex-shrink: 0;
  padding: 2px 8px;
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(14,165,233,0.1));
  border-radius: 4px;
  font-family: 'Consolas', monospace;
  color: #0EA5E9;
  font-weight: 500;
}

.status-item span {
  color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
  .whois-hero {
    padding: 60px 0 40px;
  }
  
  .whois-search-box {
    flex-direction: column;
    padding: 12px;
  }
  
  .whois-search-input {
    height: 48px;
  }
  
  .whois-search-btn {
    width: 100%;
    justify-content: center;
  }
  
  .status-list {
    grid-template-columns: 1fr;
  }
  
  .whois-result-header {
    flex-wrap: wrap;
  }
  
  .whois-result-domain {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }
}



