* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(145deg, #f0f5fe 0%, #e9f0fa 100%);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  color: #1a2c3e;
}

/* main card container */
.host-card {
  max-width: 1100px;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(0px);
  border-radius: 3rem;
  box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25), 0 8px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.host-card:hover {
  transform: translateY(-3px);
}

/* header area with subdomain badge */
.subdomain-header {
  background: #0f172a;
  padding: 1.8rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.subdomain-header::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.host-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.host-icon {
  background: #3b82f6;
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.3);
}

.host-name {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #ffffff, #cbd5e6);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.subdomain-badge {
  background: rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1.2rem;
  border-radius: 60px;
  border: 1px solid rgba(59, 130, 246, 0.5);
  font-weight: 500;
  font-size: 0.9rem;
  color: #e2e8f0;
  font-family: monospace;
}

.subdomain-badge span {
  color: #60a5fa;
  font-weight: 700;
}

/* main content */
.main-content {
  padding: 2.8rem 2.5rem 2rem;
}

.greeting {
  margin-bottom: 2rem;
}

.greeting h1 {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(130deg, #0f2b3d, #1e4a76);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.greeting p {
  font-size: 1.1rem;
  color: #2c4c6e;
  border-left: 4px solid #3b82f6;
  padding-left: 1rem;
  margin-top: 0.75rem;
  font-weight: 400;
}

.domain-info {
  background: #f8fafc;
  border-radius: 2rem;
  padding: 1.5rem;
  margin: 1.8rem 0;
  border: 1px solid #e2edff;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.info-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1rem;
}

.info-label {
  font-weight: 700;
  color: #1e293b;
  background: #eef3ff;
  padding: 0.25rem 0.75rem;
  border-radius: 40px;
}

.info-value {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-weight: 500;
  color: #0c4e6e;
  background: white;
  padding: 0.25rem 0.9rem;
  border-radius: 40px;
  border: 1px solid #cbdff2;
}

.action-note {
  background: #eef2ff;
  border-radius: 1.5rem;
  padding: 1.2rem 1.6rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.action-note p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #1e293b;
}

.copy-btn {
  background: #1e293b;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  color: white;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.copy-btn:hover {
  background: #0f172a;
  transform: scale(0.97);
}

/* creator credit section */
.creator-credit {
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 2px dashed #cbd5e1;
  text-align: center;
}

.creator-tag {
  background: linear-gradient(120deg, #f1f5f9, #ffffff);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.7rem 1.8rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid #e0e7ff;
}

.creator-tag span {
  background: #3b82f6;
  color: white;
  padding: 0.2rem 0.9rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.footer-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #5b6e8c;
  text-align: center;
}

/* dynamic subdomain display */
.dynamic-sub {
  font-weight: 800;
  background: #0f172a;
  padding: 0.2rem 0.8rem;
  border-radius: 30px;
  color: #b9e2ff;
}

/* extra note styling */
.dynamic-note-added,
.subdomain-active-note {
  width: 100%;
  margin-top: 0.5rem;
}

@media (max-width: 680px) {
  .main-content {
    padding: 1.8rem;
  }
  .greeting h1 {
    font-size: 1.8rem;
  }
  .subdomain-header {
    padding: 1.2rem 1.5rem;
  }
  .host-name {
    font-size: 1.3rem;
  }
  .domain-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .info-item {
    width: 100%;
  }
}