* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

body {
  background: #05070d;
  color: #e5e7eb;
  overflow-x: hidden;
}

/* Background glow (silver theme) */
.bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, #cbd5e1, transparent 45%),
              radial-gradient(circle at 80% 30%, #94a3b8, transparent 45%),
              radial-gradient(circle at 50% 80%, #64748b, transparent 45%);
  filter: blur(130px);
  z-index: -1;
}

/* HERO */
.hero {
  text-align: center;
  padding: 60px 20px 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #e5e7eb, #94a3b8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  opacity: 0.7;
  margin-bottom: 30px;
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  position: relative;
  z-index: 100;
}

.brand {
  font-size: 20px;
  font-weight: 600;
}

/* Menu */
.menu {
  position: relative;
}

.menu-btn {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-btn span {
  height: 2px;
  width: 100%;
  background: white;
  border-radius: 2px;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  overflow: hidden;
  display: none;
  min-width: 200px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.dropdown a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: #e5e7eb;
}

.dropdown a:hover {
  background: rgba(148, 163, 184, 0.15);
}

/* SEARCH */
.search-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px auto;
  width: 90%;
  max-width: 600px;
}

input {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.05);
  color: white;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

input:focus {
  box-shadow: 0 0 15px rgba(148, 163, 184, 0.4);
}

input::placeholder {
  color: rgba(255,255,255,0.5);
}

/* BUTTON */
button {
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #e5e7eb, #94a3b8);
  color: #0f172a;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(148, 163, 184, 0.4);
}

/* RESULTS */
#results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 15px;
  padding: 30px;
  max-width: 1100px;
  margin: auto;
}

/* DOMAIN CARD */
.domain {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(15px);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.domain:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 50px rgba(148, 163, 184, 0.25);
}

.domain::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(120deg, #e5e7eb, #94a3b8, #64748b);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.domain strong {
  font-size: 18px;
}

.available {
  color: #22c55e;
  font-weight: 600;
}

.taken {
  color: #ef4444;
  font-weight: 600;
}

/* PRICE */
.price {
  font-size: 20px;
  font-weight: bold;
  color: #e5e7eb;
}

/* FEATURED */
.featured {
  padding: 60px 20px;
  text-align: center;
}

.featured h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.subtitle {
  opacity: 0.6;
  margin-bottom: 30px;
}

/* GRID */
.tld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

/* CARD */
.tld-card {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 25px;
  text-align: left;
  backdrop-filter: blur(15px);
  position: relative;
  transition: 0.3s;
}

.tld-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(148, 163, 184, 0.25);
}

.tag {
  display: inline-block;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.15);
  margin-bottom: 10px;
  color: #e5e7eb;
}

.tld-card h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.tld-card p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 20px;
}

.tld-card button {
  width: 100%;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  opacity: 0.5;
  color: #cbd5e1;
  }
