/* ============================================================
   Domain Register Page — Premium Design (iOS Style)
   ============================================================ */

/* 防止移动端横向滚动 */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

.domain-page {
  overflow-x: hidden !important;
  overflow-y: visible; /* 允许垂直方向显示下拉菜单 */
  width: 100%;
  max-width: 100vw;
  position: relative;
}

.domain-page * {
  box-sizing: border-box;
}

/* 移动端键盘唤起时防止页面抖动和横向滚动 */
@media (max-width: 768px) {
  html {
    overflow-x: hidden !important;
    width: 100vw !important;
  }

  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
  }

  .domain-page {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
  }

  /* 防止输入框聚焦时页面缩放导致的布局问题 */
  input, select, textarea, button {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .dr-hero {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .dr-hero .container {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .dr-search-box {
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .dr-search-input-wrap {
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .dr-search-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important; /* 防止iOS自动缩放 */
  }

  .dr-search-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
}

.domain-page .container {
  max-width: 1280px; /* 保持标准容器最大宽度 */
  margin: 0 auto;
  padding: 0 22px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* 确保导航栏下拉菜单正常显示 */
.domain-page header {
  position: relative;
  z-index: 1000;
  overflow: visible !important; /* 确保下拉菜单可见 */
}

.domain-page header nav {
  overflow: visible !important; /* 确保导航栏内容可见 */
}

.domain-page .nav-links {
  overflow: visible !important; /* 确保导航链接区域可见 */
}

.domain-page .dropdown {
  position: relative !important;
  overflow: visible !important; /* 确保下拉菜单容器可见 */
}

.domain-page .dropdown-menu {
  z-index: 1001 !important;
  position: absolute !important;
}

/* 强制启用 hover 效果显示下拉菜单 */
.domain-page .nav-links .dropdown:hover .dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* 确保 mega-menu 也能正常显示 */
.domain-page .mega-dropdown:hover .mega-menu {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hero */
.dr-hero {
  background: linear-gradient(180deg, #fafbfc 0%, #f6f8fa 50%, #f0f3f7 100%);
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow-x: hidden; /* 只隐藏水平溢出 */
  overflow-y: visible; /* 允许垂直溢出（不影响header） */
  width: 100%;
  max-width: 100%;
  z-index: 1;
}

.dr-hero * {
  max-width: 100%;
}

/* 背景容器 */
.dr-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  z-index: 0;
}

/* 主渐变层 - 精致彩色光效 */
.dr-hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 100% 60% at 50% -5%, rgba(99,102,241,0.06) 0%, transparent 50%),
    radial-gradient(circle at 10% 20%, rgba(139,92,246,0.04) 0%, transparent 35%),
    radial-gradient(circle at 90% 75%, rgba(59,130,246,0.04) 0%, transparent 35%);
}

/* 动态光球 - 柔和彩色光晕 */
.dr-hero-bg-orbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  filter: blur(80px);
  opacity: 0.25;
}

.dr-orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  animation: dr-float 20s ease-in-out infinite;
}

.dr-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(79,70,229,0.08) 40%, transparent 70%);
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
  animation-duration: 28s;
}

.dr-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, rgba(124,58,237,0.06) 45%, transparent 70%);
  top: 28%;
  right: 10%;
  animation-delay: -9s;
  animation-duration: 32s;
}

.dr-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, rgba(37,99,235,0.05) 50%, transparent 70%);
  bottom: 20%;
  left: 15%;
  animation-delay: -18s;
  animation-duration: 30s;
}

@keyframes dr-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* 网格层 */
.dr-hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  opacity: 0.5;
  animation: dr-gridMove 40s linear infinite;
}

@keyframes dr-gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}
.dr-hero-content {
  position: relative;
  z-index: 10;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.dr-hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 20px;
  padding: 6px 16px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.dr-hero h1 {
  font-size: 56px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 20px;
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.dr-hero > .container > .dr-hero-content > p {
  font-size: 19px;
  color: #475569;
  margin: 0 0 48px;
  line-height: 1.6;
}

/* Search box */
.dr-search-box {
  max-width: 650px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
}
.dr-search-input-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 6px 6px 6px 22px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  box-sizing: border-box;
}
.dr-search-input-wrap:focus-within {
  background: #ffffff;
  border: 1px solid #8b5cf6;
  box-shadow: 0 8px 30px rgba(139,92,246,0.25), 0 0 0 4px rgba(139,92,246,0.1);
  transform: translateY(-2px);
}
.dr-search-icon {
  flex-shrink: 0;
  color: #94a3b8;
  transition: color 0.3s;
}
.dr-search-input-wrap:focus-within .dr-search-icon {
  color: #6366f1;
}
.dr-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 17px;
  color: #1e293b;
  padding: 16px 14px;
  font-family: inherit;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.dr-search-input::placeholder {
  color: #94a3b8;
}
.dr-search-input:-webkit-autofill,
.dr-search-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #1e293b !important;
  caret-color: #1e293b;
  transition: background-color 5000s ease-in-out 0s;
}
.dr-search-btn {
  flex-shrink: 0;
  padding: 14px 36px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  white-space: nowrap;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}
.dr-search-btn:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  box-shadow: 0 6px 20px rgba(99,102,241,0.4);
  transform: translateY(-2px);
}
.dr-search-btn:active { transform: translateY(0) scale(0.98); }
.dr-search-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 12px rgba(99,102,241,0.2);
}

/* Hero tags */
.dr-hero-tags {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 10px;
}
.dr-hero-tags span {
  font-size: 14px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.dr-hero-tags span:hover {
  background: rgba(255,255,255,0.8);
  border-color: rgba(99,102,241,0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #6366f1;
}
.dr-hero-tags span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16,185,129,0.6);
  animation: dr-pulse 2s ease-in-out infinite;
}
@keyframes dr-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* 底部渐变过渡 - 浅色到浅灰的自然过渡 */
.dr-hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top,
    #f5f5f7 0%,
    rgba(245,245,247,0.95) 20%,
    rgba(242,244,248,0.8) 40%,
    rgba(240,243,248,0.6) 60%,
    rgba(238,242,248,0.35) 80%,
    transparent 100%);
  pointer-events: none;
  z-index: 5;
}

/* 移除搜索框光晕 */
.dr-search-box::before {
  display: none;
}

/* ============================================================
   Search Results
   ============================================================ */
.dr-results {
  padding: 40px 0 48px;
  background: #f5f5f7;
}
.dr-results-wrap {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
  animation: dr-slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0,0,0,0.04);
}
.dr-results-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #8b5cf6, #667eea);
  border-radius: 20px 20px 0 0;
  z-index: 1;
}
@keyframes dr-slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.dr-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.dr-results-head h3 {
  font-size: 17px;
  font-weight: 500;
  color: #6e6e73;
  margin: 0;
  line-height: 1.4;
}
.dr-results-head h3 strong {
  font-weight: 700;
  color: var(--text);
}
.dr-res-name {
  font-weight: 700;
  color: #8b5cf6;
  font-size: 18px;
}
.dr-results-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.04);
  color: #86868b;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.dr-results-close:hover { background: rgba(0,0,0,0.08); color: #1d1d1f; }

/* Loading */
.dr-result-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 0;
  color: #86868b;
  font-size: 15px;
}
.dr-spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(139,92,246,0.2);
  border-top-color: #8b5cf6;
  border-radius: 50%;
  animation: dr-spin 0.65s linear infinite;
}
@keyframes dr-spin { to { transform: rotate(360deg); } }

/* Error */
.dr-result-error {
  text-align: center;
  padding: 40px 0;
}
.dr-status-text {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.dr-status-sub {
  display: block;
  font-size: 13px;
  color: #86868b;
  margin-top: 4px;
}

/* ============================================================
   Suggestions Card Grid
   ============================================================ */
.dr-suggestions {
  padding: 24px 32px 32px;
}
.dr-sug-label {
  font-size: 14px;
  color: #6e6e73;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.dr-sug-label strong { color: var(--text); font-weight: 600; }
.dr-sug-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(48,209,88,0.1);
  border-radius: 50%;
  flex-shrink: 0;
}
.dr-sug-check svg { width: 13px; height: 13px; }
.dr-sug-empty {
  text-align: center;
  color: #86868b;
  padding: 40px 0;
  font-size: 15px;
}
.dr-sug-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* Card */
.dr-sug-card {
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 16px;
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  cursor: default;
  overflow: hidden;
}
.dr-sug-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, transparent);
  transition: background 0.35s;
  border-radius: 16px 16px 0 0;
}
.dr-sug-card:hover {
  border-color: #d1d1d6;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-4px);
}
.dr-sug-card:hover::before {
  background: linear-gradient(90deg, #667eea, #8b5cf6);
}
.dr-sug-card.dr-sug-featured {
  border-color: rgba(139,92,246,0.2);
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
  box-shadow: 0 2px 16px rgba(139,92,246,0.08);
}
.dr-sug-card.dr-sug-featured::before {
  background: linear-gradient(90deg, #667eea, #8b5cf6, #667eea);
}
.dr-sug-card.dr-sug-featured:hover {
  box-shadow: 0 12px 36px rgba(139,92,246,0.16);
  border-color: rgba(139,92,246,0.3);
}

/* Tag */
.dr-sug-tag {
  position: absolute;
  top: -1px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 3px 9px 4px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Domain name */
.dr-sug-domain {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 500;
  line-height: 1.3;
  word-break: break-all;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dr-sug-domain .dr-tld { color: #8b5cf6; font-weight: 700; }
.dr-sug-domain .dr-tld.is-hot { font-weight: 800; font-size: 17px; }

/* Status */
.dr-sug-status {
  font-size: 12px;
  color: #30d158;
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: rgba(48,209,88,0.08);
  border-radius: 12px;
}
.dr-sug-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #30d158;
}

.dr-sug-status.dr-sug-checking {
  color: #007aff;
  background: rgba(0,122,255,0.08);
  animation: pulse 1.5s ease-in-out infinite;
}
.dr-sug-status.dr-sug-checking::before {
  background: #007aff;
}

.dr-sug-status.dr-sug-unavailable {
  color: #ff3b30;
  background: rgba(255,59,48,0.08);
}
.dr-sug-status.dr-sug-unavailable::before {
  background: #ff3b30;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Price */
.dr-sug-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.2;
}
.dr-sug-price small {
  font-size: 13px;
  font-weight: 400;
  color: #86868b;
}
.dr-sug-renew {
  font-size: 11px;
  color: #aeaeb2;
  margin-bottom: 16px;
}

/* Button */
.dr-sug-btn {
  width: 100%;
  padding: 10px 0;
  background: #30d158;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  letter-spacing: 0.2px;
}
.dr-sug-btn:hover {
  background: #28b84c;
  box-shadow: 0 3px 12px rgba(48,209,88,0.3);
  transform: translateY(-1px);
}
.dr-sug-btn:active { transform: translateY(0); }
.dr-sug-card.dr-sug-featured .dr-sug-btn {
  background: linear-gradient(135deg, #0071e3, #005bb5);
}
.dr-sug-card.dr-sug-featured .dr-sug-btn:hover {
  box-shadow: 0 3px 12px rgba(0,113,227,0.35);
}

/* ============================================================
   Pagination
   ============================================================ */
.dr-pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 0;
  margin-top: 24px;
  border-top: 1px solid #e8e8ed;
  gap: 16px;
  flex-wrap: wrap;
}

.dr-pagination-info {
  font-size: 14px;
  color: #6e6e73;
}

.dr-pagination-buttons {
  display: flex;
  gap: 12px;
}

.dr-page-btn {
  padding: 10px 24px;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  letter-spacing: 0.2px;
}

.dr-page-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,113,227,0.2);
}

.dr-page-btn:active {
  transform: translateY(0);
}

.dr-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.dr-page-next {
  background: linear-gradient(135deg, #0071e3, #005bb5);
  color: #fff;
  border: none;
}

.dr-page-next:hover {
  background: linear-gradient(135deg, #005bb5, #004494);
  box-shadow: 0 4px 16px rgba(0,113,227,0.3);
}

@media (max-width: 768px) {
  .dr-pagination {
    flex-direction: column;
    text-align: center;
  }

  .dr-pagination-buttons {
    width: 100%;
    justify-content: center;
  }

  .dr-page-btn {
    flex: 1;
    min-width: 100px;
  }
}

/* ============================================================
   Single Domain Result
   ============================================================ */
.dr-single-result {
  padding: 32px;
}

.dr-single-info {
  background: linear-gradient(135deg, #f5f5f7 0%, #fafafa 100%);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 24px;
  border: 1px solid #e8e8ed;
}

.dr-single-domain {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  word-break: break-all;
  line-height: 1.3;
}

.dr-single-domain .dr-tld {
  color: var(--primary);
}

.dr-single-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.dr-single-status.available {
  background: rgba(48,209,88,0.12);
  color: #30d158;
}

.dr-single-status.unavailable {
  background: rgba(255,59,48,0.12);
  color: #ff3b30;
}

.dr-single-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.dr-single-price-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.dr-single-price-item {
  flex: 1;
  min-width: 140px;
}

.dr-single-price-label {
  font-size: 12px;
  color: #86868b;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dr-single-price-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.dr-single-price-value small {
  font-size: 13px;
  font-weight: 400;
  color: #86868b;
}

.dr-result-years {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  background: #fafafa;
  border-radius: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dr-result-years label {
  font-size: 14px;
  font-weight: 500;
  color: #6e6e73;
  margin: 0;
}

.dr-result-years select {
  padding: 8px 32px 8px 14px;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236e6e73' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.dr-result-years select:hover {
  border-color: #86868b;
}

.dr-result-years select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.1);
}

.dr-result-total {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  margin-left: auto;
}

.dr-result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dr-btn-register,
.dr-btn-transfer {
  flex: 1;
  min-width: 160px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.dr-btn-register {
  background: linear-gradient(135deg, #0071e3, #005bb5);
  color: #fff;
  border: none;
}

.dr-btn-register:hover {
  box-shadow: 0 6px 20px rgba(0,113,227,0.35);
  transform: translateY(-2px);
}

.dr-btn-transfer {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.dr-btn-transfer:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   TLD Pricing Section
   ============================================================ */
.dr-tld-section {
  padding: 88px 0;
  background: #fff;
}
.dr-tld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.dr-tld-card {
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.dr-tld-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, transparent);
  transition: background 0.35s;
  border-radius: 16px 16px 0 0;
}
.dr-tld-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
  border-color: #d1d1d6;
}
.dr-tld-card:hover::before {
  background: linear-gradient(90deg, #667eea, #8b5cf6);
}
.dr-tld-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.dr-tld-name span { color: #8b5cf6; }
.dr-tld-reg {
  font-size: 12px;
  color: #86868b;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dr-tld-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}
.dr-tld-price small {
  font-size: 12px;
  font-weight: 400;
  color: #86868b;
}
.dr-tld-renew {
  font-size: 11px;
  color: #aeaeb2;
  margin-top: 6px;
}

/* ============================================================
   Features
   ============================================================ */
.dr-features {
  padding: 88px 0;
  background: #f5f5f7;
}
.dr-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dr-feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid #e8e8ed;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.dr-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, transparent);
  transition: background 0.35s;
  border-radius: 18px 18px 0 0;
}
.dr-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.07);
  border-color: #d1d1d6;
}
.dr-feature-card:hover::before {
  background: linear-gradient(90deg, #667eea, #8b5cf6, #34d399);
}
.dr-feature-icon {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(139,92,246,0.05));
  border-radius: 16px;
}
.dr-feature-icon svg { stroke: #8b5cf6; }
.dr-feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
}
.dr-feature-card p {
  font-size: 13px;
  color: #6e6e73;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.dr-faq-section {
  padding: 88px 0;
  background: #fff;
}
.dr-faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.dr-faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.dr-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  transition: color 0.2s;
}
.dr-faq-q:hover { color: #8b5cf6; }
.dr-faq-arrow {
  flex-shrink: 0;
  color: #c7c7cc;
  transition: transform 0.3s, color 0.2s;
}
.dr-faq-q:hover .dr-faq-arrow { color: #8b5cf6; }
.dr-faq-item.active .dr-faq-arrow {
  transform: rotate(180deg);
  color: #8b5cf6;
}
.dr-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.dr-faq-item.active .dr-faq-a {
  max-height: 300px;
}
.dr-faq-a p {
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.7;
  margin: 0;
  padding-bottom: 22px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .dr-sug-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .dr-hero {
    min-height: auto;
    padding: 110px 0 70px;
  }
  .dr-hero h1 { font-size: 34px; letter-spacing: -0.5px; }
  .dr-hero > .container > .dr-hero-content > p { font-size: 15px; }
  .dr-search-input-wrap {
    flex-direction: column;
    padding: 8px;
    gap: 0;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08) !important;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  }
  .dr-search-input-wrap:focus-within {
    border: 1px solid #8b5cf6 !important;
    box-shadow: 0 8px 30px rgba(139,92,246,0.25), 0 0 0 4px rgba(139,92,246,0.1) !important;
    transform: none !important;
  }
  .dr-search-icon { display: none; }
  .dr-search-input { width: 100%; padding: 14px; font-size: 16px; }
  .dr-search-btn { width: 100%; border-radius: 10px; padding: 14px; }
  .dr-hero-tags { gap: 14px; }
  .dr-hero-tags span { font-size: 12px; }
  .dr-results-wrap { border-radius: 16px; }
  .dr-suggestions { padding: 20px; }
  .dr-sug-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dr-sug-card { padding: 18px 12px 14px; }
  .dr-sug-domain { font-size: 14px; min-height: 36px; }
  .dr-sug-price { font-size: 20px; }
  .dr-sug-tag { font-size: 9px; padding: 2px 7px 3px; }
  .dr-tld-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dr-tld-card { padding: 18px 14px; }
  .dr-tld-name { font-size: 22px; }
  .dr-tld-price { font-size: 20px; }
  .dr-features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dr-feature-card { padding: 24px 14px; border-radius: 14px; }
  .dr-feature-icon { width: 52px; height: 52px; border-radius: 12px; }
  .dr-feature-icon svg { width: 36px; height: 36px; }

  /* 减少板块间距 */
  .dr-tld-section,
  .dr-features,
  .dr-faq-section {
    padding: 50px 0;
  }

  .dr-results {
    padding: 30px 0 40px;
  }
}
@media (max-width: 480px) {
  .dr-hero h1 { font-size: 28px; }
  .dr-sug-grid { grid-template-columns: 1fr 1fr; }
  .dr-tld-grid { grid-template-columns: 1fr 1fr; }
  .dr-features-grid { grid-template-columns: 1fr; }

  /* 进一步减少板块间距 */
  .dr-tld-section,
  .dr-features,
  .dr-faq-section {
    padding: 40px 0;
  }

  .dr-results {
    padding: 24px 0 32px;
  }
}

/* ============================================================
   Checkout Panel
   ============================================================ */
.dr-checkout {
  display: none;
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  margin-top: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  animation: slideUp 0.4s ease;
}
.dr-checkout.show { display: block; }

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

.dr-checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8ed;
}
.dr-checkout-title {
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
}
.dr-checkout-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f7;
  border: none;
  font-size: 18px;
  color: #6e6e73;
  cursor: pointer;
  transition: all 0.2s;
}
.dr-checkout-close:hover {
  background: #e8e8ed;
  color: #1d1d1f;
}

.dr-checkout-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
}

/* Checkout Form */
.dr-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dr-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dr-form-label {
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
}
.dr-form-label .required {
  color: #ff3b30;
  margin-left: 2px;
}
.dr-form-input,
.dr-form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  background: #fff;
  transition: all 0.2s;
}
.dr-form-input:focus,
.dr-form-select:focus {
  outline: none;
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgba(0,113,227,0.1);
}
.dr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dr-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}
.dr-form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}
.dr-form-checkbox label {
  font-size: 13px;
  color: #6e6e73;
  line-height: 1.5;
  cursor: pointer;
}
.dr-form-checkbox a {
  color: #0071e3;
  text-decoration: none;
}
.dr-form-checkbox a:hover {
  text-decoration: underline;
}

/* Checkout Summary */
.dr-checkout-summary {
  background: #f5f5f7;
  border-radius: 14px;
  padding: 24px;
  align-self: flex-start;
}
.dr-summary-title {
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 20px;
}
.dr-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e8e8ed;
}
.dr-summary-item:last-child {
  border-bottom: none;
}
.dr-summary-label {
  font-size: 14px;
  color: #6e6e73;
}
.dr-summary-value {
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
}
.dr-summary-domain {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  word-break: break-word;
}
.dr-summary-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid #d2d2d7;
}
.dr-summary-total .dr-summary-label {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
}
.dr-summary-total .dr-summary-value {
  font-size: 24px;
  font-weight: 700;
  color: #0071e3;
}
.dr-checkout-btn {
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.dr-checkout-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0,113,227,0.3);
}
.dr-checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   Payment Dialog
   ============================================================ */
.dr-pay-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}
.dr-pay-overlay.show { display: flex; align-items: center; justify-content: center; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dr-pay-dialog {
  background: #fff;
  border-radius: 20px;
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.dr-pay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid #e8e8ed;
}
.dr-pay-title {
  font-size: 22px;
  font-weight: 600;
  color: #1d1d1f;
}
.dr-pay-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f7;
  border: none;
  font-size: 18px;
  color: #6e6e73;
  cursor: pointer;
  transition: all 0.2s;
}
.dr-pay-close:hover {
  background: #e8e8ed;
  color: #1d1d1f;
}

.dr-pay-body {
  padding: 28px;
}

.dr-pay-amount {
  text-align: center;
  margin-bottom: 28px;
}
.dr-pay-amount-label {
  font-size: 14px;
  color: #6e6e73;
  margin-bottom: 8px;
}
.dr-pay-amount-value {
  font-size: 36px;
  font-weight: 700;
  color: #0071e3;
}

.dr-pay-gateways {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.dr-pay-gateway {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 2px solid #e8e8ed;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.dr-pay-gateway:hover {
  border-color: #0071e3;
  background: #f5f9ff;
}
.dr-pay-gateway.active {
  border-color: #0071e3;
  background: #f5f9ff;
}
.dr-pay-gateway-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.dr-pay-gateway-name {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #1d1d1f;
}
.dr-pay-gateway-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d2d2d7;
  position: relative;
  transition: all 0.2s;
}
.dr-pay-gateway.active .dr-pay-gateway-check {
  border-color: #0071e3;
  background: #0071e3;
}
.dr-pay-gateway.active .dr-pay-gateway-check::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.dr-pay-qr {
  display: none;
  text-align: center;
  padding: 24px;
  background: #f5f5f7;
  border-radius: 12px;
  margin-bottom: 24px;
}
.dr-pay-qr.show { display: block; }
.dr-pay-qr-code {
  margin: 0 auto 16px;
}
.dr-pay-qr-text {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.6;
}

.dr-pay-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px;
}
.dr-pay-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e8e8ed;
  border-top-color: #0071e3;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success State */
.dr-pay-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.dr-pay-success.show { display: block; }
.dr-pay-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #30d158 0%, #28a745 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dr-pay-success-icon svg {
  width: 48px;
  height: 48px;
  stroke: #fff;
  stroke-width: 3;
}
.dr-pay-success-title {
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
}
.dr-pay-success-text {
  font-size: 15px;
  color: #6e6e73;
  line-height: 1.6;
  margin-bottom: 24px;
}
.dr-pay-success-btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 980px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.dr-pay-success-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,113,227,0.3);
}

/* Responsive Checkout */
@media (max-width: 768px) {
  .dr-checkout { padding: 20px; border-radius: 16px; }
  .dr-checkout-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dr-checkout-form {
    order: -1;
  }
  .dr-checkout-summary {
    order: 0;
  }
  .dr-form-row {
    grid-template-columns: 1fr;
  }
  .dr-form-group {
    margin-bottom: 16px;
  }
  .dr-pay-dialog {
    width: 95%;
    max-height: 95vh;
  }
  .dr-pay-header,
  .dr-pay-body {
    padding: 20px;
  }
  .dr-pay-amount-value {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .dr-checkout { padding: 16px; border-radius: 12px; }
  .dr-checkout-body {
    gap: 16px;
  }
  .dr-form-group {
    margin-bottom: 14px;
  }
}

/* ============================================================
   Hero 移动端响应式 - 平板
   ============================================================ */
@media (max-width: 1024px) {
  .dr-hero {
    min-height: 520px;
    padding: 110px 0 70px;
  }
  .dr-hero-content {
    max-width: 640px;
  }
  .dr-hero h1 {
    font-size: 48px;
    letter-spacing: -1.2px;
  }
  .dr-hero > .container > .dr-hero-content > p {
    font-size: 17px;
    margin-bottom: 40px;
  }
  .dr-search-box {
    max-width: 580px;
  }
  .dr-hero-tags {
    gap: 16px;
  }
  .dr-hero-tags span {
    font-size: 13px;
    padding: 7px 14px;
  }
  .dr-hero-bottom-fade {
    height: 100px;
  }
}

/* 移动端 - 768px */
@media (max-width: 768px) {
  /* 确保页面不会横向滚动 */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
  }

  .domain-page {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
  }

  .domain-page * {
    max-width: 100% !important;
  }

  /* 修复移动端菜单显示问题 - 确保菜单可见且在最上层 */
  .mobile-menu {
    display: block !important;
    z-index: 10000 !important;
    position: fixed !important;
    top: 48px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .mobile-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mobile-menu-content {
    display: block !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    z-index: 10001 !important;
    position: relative !important;
    pointer-events: auto !important;
  }

  header {
    z-index: 9999 !important;
    position: sticky !important;
  }

  header nav {
    position: relative !important;
  }

  .dr-hero {
    min-height: 480px;
    padding: 120px 0 50px;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 1 !important;
    position: relative !important;
  }

  .dr-hero * {
    max-width: 100% !important;
  }

  .dr-hero-bg {
    z-index: 0 !important;
    width: 100%;
    left: 0;
    right: 0;
  }

  .dr-hero-content {
    padding: 0 24px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    z-index: 2 !important;
  }
  .dr-hero-label {
    font-size: 11px;
    letter-spacing: 2px;
    padding: 5px 14px;
    margin-bottom: 16px;
  }
  .dr-hero h1 {
    font-size: 36px;
    letter-spacing: -1px;
    margin-bottom: 16px;
  }
  .dr-hero > .container > .dr-hero-content > p {
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.5;
  }
  .dr-search-box {
    width: 100%;
    max-width: 100%;
    margin-bottom: 28px;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .dr-search-input-wrap {
    padding: 5px 5px 5px 18px;
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.08) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  }
  .dr-search-input-wrap:focus-within {
    border: 1px solid #8b5cf6 !important;
    box-shadow: 0 8px 30px rgba(139,92,246,0.25), 0 0 0 4px rgba(139,92,246,0.1) !important;
    transform: none !important;
  }
  .dr-search-input {
    font-size: 16px;
    padding: 14px 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .dr-search-btn {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 10px;
    white-space: nowrap;
  }
  .dr-hero-tags {
    gap: 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: center;
  }
  .dr-hero-tags span {
    font-size: 12px;
    padding: 7px 12px;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .dr-hero-tags span::before {
    width: 5px;
    height: 5px;
  }
  .dr-hero-bottom-fade {
    height: 90px;
  }
  /* 光球移动端优化 */
  .dr-orb-1 {
    width: 350px;
    height: 350px;
  }
  .dr-orb-2 {
    width: 280px;
    height: 280px;
  }
  .dr-orb-3 {
    width: 250px;
    height: 250px;
  }
}

/* 小屏手机 - 480px */
@media (max-width: 480px) {
  /* 强制防止横向滚动 */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .domain-page {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .domain-page * {
    max-width: 100% !important;
  }

  .domain-page .container {
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 确保移动端菜单在小屏幕上也能正常工作 */
  .mobile-menu {
    display: block !important;
    z-index: 10000 !important;
  }

  .mobile-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    z-index: 10001 !important;
  }

  .dr-hero {
    min-height: 420px;
    padding: 100px 0 40px;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .dr-hero-content {
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .dr-hero-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    margin-bottom: 12px;
  }
  .dr-hero h1 {
    font-size: 28px;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
    line-height: 1.2;
  }
  .dr-hero > .container > .dr-hero-content > p {
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
  }
  .dr-search-box {
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .dr-search-input-wrap {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.08) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  }
  .dr-search-input-wrap:focus-within {
    border: 1px solid #8b5cf6 !important;
    box-shadow: 0 8px 30px rgba(139,92,246,0.25), 0 0 0 4px rgba(139,92,246,0.1) !important;
    transform: none !important;
  }
  .dr-search-icon {
    display: none;
  }
  .dr-search-input {
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .dr-search-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 10px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .dr-hero-tags {
    gap: 8px;
  }
  .dr-hero-tags span {
    font-size: 12px;
    padding: 6px 14px;
  }
  .dr-hero-bottom-fade {
    height: 80px;
  }
  /* 光球进一步缩小 */
  .dr-orb-1 {
    width: 280px;
    height: 280px;
  }
  .dr-orb-2 {
    width: 220px;
    height: 220px;
  }
  .dr-orb-3 {
    width: 190px;
    height: 190px;
  }
}

/* 超小屏 - 360px */
@media (max-width: 360px) {
  .dr-hero {
    min-height: 380px;
    padding: 90px 0 35px;
  }
  .dr-hero-content {
    padding: 0 16px;
  }
  .dr-hero h1 {
    font-size: 24px;
    letter-spacing: -0.5px;
  }
  .dr-hero > .container > .dr-hero-content > p {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .dr-search-input-wrap {
    padding: 10px;
  }
  .dr-search-input {
    font-size: 14px;
    padding: 11px 14px;
  }
  .dr-search-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  .dr-hero-tags span {
    font-size: 11px;
    padding: 5px 12px;
  }
  .dr-hero-bottom-fade {
    height: 70px;
  }
  /* 光球最小化 */
  .dr-orb-1 {
    width: 220px;
    height: 220px;
  }
  .dr-orb-2 {
    width: 170px;
    height: 170px;
  }
  .dr-orb-3 {
    width: 140px;
    height: 140px;
  }
}
}

/* 超宽屏优化 - 1440px+ */
@media (min-width: 1440px) {
  .dr-hero {
    min-height: 680px;
    padding: 160px 0 120px;
  }
  .dr-hero-content {
    max-width: 800px;
  }
  .dr-hero-label {
    font-size: 13px;
    letter-spacing: 3px;
    padding: 7px 18px;
  }
  .dr-hero h1 {
    font-size: 64px;
    letter-spacing: -2px;
    margin-bottom: 24px;
  }
  .dr-hero > .container > .dr-hero-content > p {
    font-size: 21px;
    margin-bottom: 56px;
  }
  .dr-search-box {
    max-width: 720px;
    margin-bottom: 48px;
  }
  .dr-search-input-wrap {
    padding: 8px 8px 8px 24px;
    border-radius: 18px;
  }
  .dr-search-input {
    font-size: 18px;
    padding: 18px 16px;
  }
  .dr-search-btn {
    padding: 16px 40px;
    font-size: 16px;
    border-radius: 14px;
  }
  .dr-hero-tags {
    gap: 24px;
  }
  .dr-hero-tags span {
    font-size: 15px;
    padding: 9px 18px;
  }
}

