/* ===== Domain Page Dark Theme ===== */

/* ----- Banner ----- */
.banner-domain {
  background-color: #0A0E1A;
  background-image: linear-gradient(135deg, #0a0e1a 0%, #131a2e 50%, #0d1525 100%);
  position: relative;
  overflow: visible;
  z-index: 1;
}
.banner-domain::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(59,130,246,0.12) 0%, transparent 50%),
                    radial-gradient(circle at 20% 30%, rgba(99,102,241,0.08) 0%, transparent 40%);
  z-index: 0;
}
.banner-domain .section-content { position: relative; z-index: 2; padding-top: 60px; }
.banner-domain h1 { font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: 2px; }
.banner-subtitle { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 36px; line-height: 1.6; }

/* ----- Search Box ----- */
.domain-search-box {
  display: flex;
  align-items: stretch;
  max-width: 680px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(59,130,246,0.15);
}
.domain-search-input-wrap {
  display: flex;
  align-items: stretch;
  flex: 1;
  background: rgba(15,23,42,0.9);
  border: 1px solid #1E293B;
  border-right: none;
  border-radius: 6px 0 0 6px;
}
.domain-search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #E2E8F0;
  font-size: 15px;
  padding: 0 20px;
  height: 52px;
}
.domain-search-input-wrap input::placeholder { color: #475569; }

/* Suffix Selector */
.domain-suffix-select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  border-left: 1px solid #1E293B;
  cursor: pointer;
  color: #94A3B8;
  font-size: 15px;
  user-select: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.domain-suffix-select:hover { color: #3B82F6; }
.domain-suffix-select .icon-bottom { font-size: 10px; }
.domain-suffix-select .suffix-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid #1E293B;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 100;
  min-width: 120px;
  max-height: 280px;
  overflow-y: auto;
}
.domain-suffix-select .suffix-dropdown.show { display: block; }
.domain-suffix-select .suffix-item {
  padding: 10px 18px;
  font-size: 14px;
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.2s ease;
}
.domain-suffix-select .suffix-item:hover { color: #3B82F6; background: rgba(59,130,246,0.08); }
.domain-suffix-select .suffix-item.active { color: #3B82F6; font-weight: 600; }

/* Search Button */
.domain-search-btn {
  padding: 0 36px;
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.domain-search-btn:hover { opacity: 0.9; }
.domain-search-btn:active { opacity: 0.8; }

/* Hot Tags */
.domain-hot-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.hot-tag-label { font-size: 13px; color: #64748B; }
.domain-hot-tags .hot-tag {
  font-size: 13px;
  color: #94A3B8;
  padding: 4px 12px;
  border-radius: 3px;
  background: rgba(30,41,59,0.6);
  border: 1px solid #1E293B;
  text-decoration: none;
  transition: all 0.2s ease;
}
.domain-hot-tags .hot-tag:hover {
  color: #3B82F6;
  border-color: rgba(59,130,246,0.4);
  background: rgba(59,130,246,0.08);
}

/* ----- Price Section ----- */
.domain-price-section { background-color: #0A0E1A; padding: 60px 0; }
.domain-price-section .section-title h2 { color: #E2E8F0; font-size: 28px; font-weight: 700; }
.domain-price-section .section-desc { color: #64748B; font-size: 14px; margin-top: 8px; }

.domain-price-item {
  position: relative;
  border-radius: 8px !important;
  border: 1px solid #1E293B !important;
  background: #ffffff !important;
  transition: all 0.3s ease;
}
.domain-price-item:hover {
  border-color: rgba(59,130,246,0.4) !important;
  box-shadow: 0 4px 20px rgba(59,130,246,0.10);
  transform: translateY(-2px);
}
.domain-price-item.hot {
  border-color: rgba(59,130,246,0.5) !important;
  background: linear-gradient(180deg, rgba(59,130,246,0.06) 0%, #0F172A 100%) !important;
}
.domain-price-item.hot::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, #6366F1);
  border-radius: 8px 8px 0 0;
}
.hot-badge {
  position: absolute;
  top: -1px;
  right: 16px;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 0 0 4px 4px;
  line-height: 1.6;
}
.domain-price-item h5 { color: #3B82F6; font-size: 22px; font-weight: 700; }
.domain-price-item .title-desc { color: #64748B; font-size: 13px; margin: 4px 0 16px; }
.domain-price-item .money { color: #3B82F6; font-size: 14px; }
.domain-price-item .price-unit { color: #64748B; font-size: 12px; }
.domain-price-item .btn {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  padding: 6px 20px;
}
.domain-price-item .btn:hover { opacity: 0.9; }
.domain-price-item.more { display: flex; align-items: center; justify-content: center; }
.domain-price-item.more a { color: #64748B; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.domain-price-item.more a:hover { color: #3B82F6; }

/* ----- Advantage Section ----- */
.domain-advantage-section { background-color: #0B1120; padding: 60px 0; }
.domain-advantage-section .section-title h2 { color: #E2E8F0; font-size: 28px; font-weight: 700; }
.domain-advantage-section .section-desc { color: #64748B; font-size: 14px; margin-top: 8px; }

.domain-adv-card {
  background: #ffffff !important;
  border: 1px solid #1E293B !important;
  border-radius: 8px !important;
  padding: 32px !important;
  transition: all 0.3s ease;
}
.domain-adv-card:hover {
  border-color: rgba(59,130,246,0.3) !important;
  box-shadow: 0 4px 20px rgba(59,130,246,0.08);
}
.domain-adv-card .adv-icon { margin-right: 24px; flex-shrink: 0; }
.domain-adv-card .adv-icon img { width: 64px !important; height: 64px !important; margin-right: 0 !important; }
.domain-adv-card .adv-icon svg { width: 56px; height: 56px; display: block; }
.domain-adv-card h4 { color: #E2E8F0; font-size: 17px; font-weight: 600; }
.domain-adv-card .mt-15 { color: #64748B; font-size: 14px; line-height: 1.7; }

/* ----- Help Section ----- */
.domain-help-section { background-color: #0A0E1A; padding: 60px 0; }
.domain-help-section .section-title h2 { color: #E2E8F0; font-size: 28px; font-weight: 700; }
.domain-help-section .section-desc { color: #64748B; font-size: 14px; margin-top: 8px; }

.domain-help-card {
  background: #ffffff !important;
  border: 1px solid #1E293B !important;
  border-radius: 8px !important;
  padding: 28px !important;
  transition: all 0.3s ease;
}
.domain-help-card:hover {
  border-color: rgba(59,130,246,0.3) !important;
}
.domain-help-card h4 { color: #E2E8F0; font-size: 16px; font-weight: 600; }
.domain-help-card .help-head a { color: #3B82F6; font-size: 13px; text-decoration: none; }
.domain-help-card .font-el1 a { color: #64748B; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.domain-help-card .font-el1 a:hover { color: #3B82F6; }

/* ----- Override old styles ----- */
.product-banner { height: auto !important; padding: 40px 0 60px !important; }
.section-title { text-align: center; margin-bottom: 12px; }

/* ----- Responsive ----- */
@media (max-width: 991px) {
  .domain-search-box { flex-direction: column; max-width: 100%; }
  .domain-search-input-wrap { border-radius: 6px 6px 0 0; border-right: 1px solid #1E293B; }
  .domain-search-btn { border-radius: 0 0 6px 6px; padding: 14px; width: 100%; }
  .domain-suffix-select { border-left: none; border-top: 1px solid #1E293B; }
}
@media (max-width: 767px) {
  .banner-domain h1 { font-size: 28px; }
  .banner-subtitle { font-size: 14px; }
  .domain-hot-tags { flex-wrap: wrap; }
  .domain-adv-card { min-width: 100% !important; flex-direction: column !important; text-align: center; }
  .domain-adv-card .adv-icon { margin-right: 0 !important; margin-bottom: 16px; }
}

/* Fix: No white blocks in header */
header,
.nav-shadow {
  background-color: #0A0E1A !important;
}

.nav-left,
.nav-right,
.nav-icon,
.nav-icon a,
.nav-menu {
  background-color: transparent !important;
}

/* Ensure html element is also dark to prevent white showing through */
html {
  background-color: #0A0E1A !important;
}

/* Ensure dropdown menus are dark */
.nav-cont-menu,
.nav-content,
.nav-item-box {
  background-color: #ffffff !important;
}

.nav-item-box:hover {
  background-color: rgba(59, 130, 246, 0.08) !important;
}
