@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --navy:    #1b3055;
  --navy2:   #254070;
  --orange:  #e8621a;
  --orange2: #f0824a;
  --text:    #1b3055;
  --muted:   #6b7a99;
  --light:   #f2f5fb;
  --border:  #d8e0f0;
  --white:   #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  min-height: 100vh;
}

nav {
  background: var(--navy);
  padding: 0 48px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.nav-tag {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.hero {
  background: var(--navy);
  padding: 64px 48px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(42,77,138,0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-label {
  position: relative;
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  font-weight: 500;
}

.hero h1 {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.hero h1 span { color: #7daef5; }

.hero p {
  position: relative;
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  margin: 0 auto 36px;
  line-height: 1.75;
  font-weight: 300;
}

.search-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  z-index: 1;
}

.search-wrap input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--white);
  border: none;
  border-radius: 10px;
  color: var(--text);
  outline: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.search-wrap input::placeholder { color: #aab3cc; }
.search-wrap input:focus { box-shadow: 0 4px 24px rgba(0,0,0,0.22), 0 0 0 3px rgba(27,48,85,0.15); }

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.featured-section {
  max-width: 880px;
  margin: 56px auto 16px;
  padding: 0 24px;
}

.section-title {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}

.featured-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 12px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.featured-badge {
  display: inline-block;
  font-size: 0.67rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(27,48,85,0.07);
  border: 1px solid rgba(27,48,85,0.15);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.featured-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.featured-name span { color: var(--orange); }
.featured-meta { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.featured-right { text-align: right; flex-shrink: 0; }

.featured-price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.featured-price small {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}

.btn-buy {
  display: inline-block;
  margin-top: 14px;
  padding: 11px 26px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-buy:hover { background: var(--orange2); transform: translateY(-1px); }

.btn-bid {
  display: inline-block;
  margin-top: 10px;
  margin-left: 10px;
  padding: 11px 22px;
  background: transparent;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-bid:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: var(--white); }

.featured-right .btn-bid {
  color: var(--navy);
  border-color: var(--navy);
  margin-left: 8px;
}

.featured-right .btn-bid:hover { background: var(--navy); color: var(--white); }

.domains-section {
  max-width: 880px;
  margin: 36px auto 80px;
  padding: 0 24px;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 14px;
}

.domain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.domain-card:hover {
  border-color: #b0bfd8;
  box-shadow: 0 4px 16px rgba(27,48,85,0.08);
}

.domain-card-name { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.domain-card-cat { font-size: 0.7rem; color: var(--muted); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.8px; }
.domain-card-right { text-align: right; }
.domain-card-price { font-size: 1rem; font-weight: 700; color: var(--navy); }

.btn-small {
  display: inline-block;
  margin-top: 7px;
  padding: 5px 13px;
  background: transparent;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.btn-small:hover { background: var(--orange); color: var(--white); }

.btn-small-bid {
  display: inline-block;
  margin-top: 5px;
  margin-left: 4px;
  padding: 5px 11px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.73rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s;
}

.btn-small-bid:hover { border-color: var(--navy); color: var(--navy); }

.no-results { text-align: center; padding: 50px 20px; color: var(--muted); display: none; }
.no-results h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--text); font-weight: 600; }

footer {
  background: var(--navy);
  text-align: center;
  padding: 28px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* FORMS */
.checkout-wrap {
  max-width: 580px;
  margin: 52px auto 80px;
  padding: 0 24px;
}

.checkout-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(27,48,85,0.07);
}

.checkout-domain {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.checkout-domain span { color: var(--orange); }

.checkout-prijs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.checkout-prijs strong { color: var(--navy); font-size: 1.3rem; font-weight: 700; }

.form-section-title {
  font-size: 0.7rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 26px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.form-group { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

input[type=text],
input[type=email],
input[type=tel],
input[type=number],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus { border-color: var(--navy); }
textarea { resize: vertical; min-height: 90px; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  font-size: 0.85rem;
}

.field-note { font-size: 0.74rem; color: var(--muted); margin-top: 4px; }

.fout {
  background: #fff5f5;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 0.83rem;
  margin-bottom: 16px;
}

.succes {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.tab-bar {
  display: flex;
  margin-bottom: 26px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
}

.tab-btn {
  flex: 1;
  padding: 11px;
  background: transparent;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.tab-btn.active { background: var(--navy); color: var(--white); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.btn-checkout {
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.btn-checkout:hover { background: var(--orange2); }

.btn-submit-bid {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.btn-submit-bid:hover { background: var(--navy2); }

.mollie-badge { text-align: center; margin-top: 14px; font-size: 0.73rem; color: var(--muted); }

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  transition: color 0.2s;
}

.back-link:hover { color: var(--navy); }

/* THANKS */
.thanks-wrap { max-width: 480px; margin: 100px auto; padding: 0 24px; text-align: center; }
.thanks-icon { font-size: 3.5rem; display: block; margin-bottom: 20px; }
.thanks-wrap h1 { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.thanks-wrap p { color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.domain-highlight { display: inline-block; font-size: 1.2rem; font-weight: 700; color: var(--navy); background: var(--light); border: 1px solid var(--border); padding: 7px 18px; border-radius: 8px; margin-bottom: 20px; }

/* ADMIN */
.admin-wrap { max-width: 720px; margin: 52px auto 80px; padding: 0 24px; }
.admin-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 40px; box-shadow: 0 4px 24px rgba(27,48,85,0.07); margin-bottom: 24px; }
.admin-card h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--navy); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-label  { animation: fadeUp 0.45s ease both; }
.hero h1     { animation: fadeUp 0.45s ease 0.08s both; }
.hero p      { animation: fadeUp 0.45s ease 0.14s both; }
.search-wrap { animation: fadeUp 0.45s ease 0.2s both; }
.featured-card { animation: fadeUp 0.45s ease 0.1s both; }

@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .hero { padding: 48px 20px 68px; }
  .featured-card { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .featured-right { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .checkout-card { padding: 28px 20px; }
}
