:root {
  --green: #0d5c49;
  --green-dark: #083d31;
  --green-soft: #eaf4f0;
  --ink: #18201d;
  --muted: #65706b;
  --line: #dfe6e2;
  --bg: #f5f7f6;
  --white: #ffffff;
  --danger: #9f2d2d;
  --success: #0b6b4f;
  --shadow: 0 18px 45px rgba(21, 52, 41, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(13,92,73,.10), transparent 28%),
    var(--bg);
  color: var(--ink);
}

.page-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 36px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 34px;
}

.eyebrow,
.mini-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
}

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: .98;
  letter-spacing: -.04em;
}

.lead {
  margin: 18px 0 0;
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--muted);
  max-width: 690px;
}

.golf-mark {
  width: 90px;
  height: 90px;
  flex: 0 0 auto;
  border-radius: 28px;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  font-size: 48px;
  box-shadow: var(--shadow);
}

.auction-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--white);
  border: 1px solid rgba(13, 92, 73, .08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.golfer-photo-wrap {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #dfece7, #f7faf8);
  overflow: hidden;
}

.golfer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body,
.bid-card {
  padding: 28px;
}

h2 {
  margin: 0 0 12px;
  font-size: 30px;
  letter-spacing: -.03em;
}

.muted {
  color: var(--muted);
  line-height: 1.65;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 18px;
}

.current-bid {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  margin-top: 8px;
}

.next-bid {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 26px 0;
}

label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}

input {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #cbd6d1;
  background: white;
  border-radius: 12px;
  min-height: 48px;
  padding: 11px 13px;
  font: inherit;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(13,92,73,.10);
}

.money-input {
  position: relative;
}

.money-input span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-36%);
  color: var(--muted);
  font-weight: 700;
}

.money-input input {
  padding-left: 30px;
}

button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  min-height: 52px;
  background: var(--green);
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, opacity .15s ease;
}

button:hover { background: var(--green-dark); }
button:active { transform: translateY(1px); }
button:disabled { opacity: .55; cursor: not-allowed; }

.form-message {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.form-message.error { color: var(--danger); }
.form-message.success { color: var(--success); }

.close-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.close-info strong {
  color: var(--ink);
  text-align: right;
}

.fine-print {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  max-width: 850px;
  margin: 22px auto 0;
  text-align: center;
}

@media (max-width: 820px) {
  .page-shell { padding-top: 26px; }
  .hero { align-items: flex-start; }
  .golf-mark { width: 70px; height: 70px; font-size: 36px; border-radius: 20px; }
  .auction-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .page-shell { width: min(100% - 20px, 1100px); }
  .hero { gap: 12px; }
  .golf-mark { width: 58px; height: 58px; font-size: 30px; }
  .card-body, .bid-card { padding: 21px; }
  .close-info { align-items: flex-start; flex-direction: column; gap: 6px; }
  .close-info strong { text-align: left; }
}
