html {
  min-height: 100vh;
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background: #f7f2e8;
  color: #161a22;
}

a {
  color: #6f4f13;
}

a:hover {
  color: #3f2d0b;
}

.main-nav {
  background: rgba(11, 14, 22, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.main-nav .navbar-brand {
  letter-spacing: 0.14rem;
}

.page-shell {
  flex: 1 0 auto;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(122, 81, 8, 0.16);
  border-radius: 2rem;
  background: #fffaf1;
  box-shadow: 0 1.5rem 4rem rgba(64, 48, 20, 0.13);
  color: #111827;
}

.hero-panel::after {
  position: absolute;
  inset: -7rem -6rem auto auto;
  width: 22rem;
  height: 22rem;
  content: "";
  border-radius: 50%;
  background: rgba(198, 154, 70, 0.17);
  filter: blur(2.5rem);
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  color: #74500c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  color: #111827;
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 0.98;
}

.hero-copy p {
  max-width: 720px;
  color: #3f4756;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-actions .btn-outline-light {
  border-color: #111827;
  color: #111827;
}

.hero-actions .btn-outline-light:hover,
.hero-actions .btn-outline-light:focus {
  background: #111827;
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.glass-card {
  align-self: end;
  padding: 1.5rem;
  border: 1px solid rgba(122, 81, 8, 0.14);
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 1rem 2.5rem rgba(64, 48, 20, 0.1);
}

.hero-card span,
.hero-card small {
  display: block;
  color: #3f4756;
  font-weight: 600;
}

.hero-card strong {
  display: block;
  margin: 0.25rem 0 0.5rem;
  color: #111827;
  font-size: 1.35rem;
}

.hero-card .text-warning {
  color: #8a4b00 !important;
}

.status-dot {
  width: 0.85rem;
  height: 0.85rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #dc3545;
  box-shadow: 0 0 0 0.35rem rgba(220, 53, 69, 0.16);
}

.status-dot.ok {
  background: #47d16c;
  box-shadow: 0 0 0 0.35rem rgba(71, 209, 108, 0.16);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-card,
.content-panel,
.auction-card {
  border: 1px solid rgba(20, 24, 33, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1rem 3rem rgba(15, 19, 31, 0.09);
  backdrop-filter: blur(16px);
}

.stat-card {
  padding: 1.25rem;
  border-radius: 1.25rem;
}

.stat-card span,
.stat-card small {
  color: #434b5a;
  font-weight: 650;
}

.stat-card strong {
  display: block;
  margin: 0.35rem 0;
  color: #111827;
  font-size: 2rem;
}

.content-panel {
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 1.5rem;
}

.toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.mode-tabs {
  display: flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: #eef0f4;
}

.mode-tab {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: #313847;
  font-weight: 700;
  text-decoration: none;
}

.mode-tab.active {
  background: #111827;
  color: #fff;
  box-shadow: 0 0.75rem 1.5rem rgba(17, 24, 39, 0.22);
}

.luxe-input .input-group-text,
.luxe-input .form-control,
.luxe-select {
  border-color: #cfd4dc;
  background-color: #fff;
  color: #111827;
}

.luxe-input .form-control::placeholder {
  color: #5d6676;
  opacity: 1;
}

.filter-form {
  display: flex;
  flex: 1;
  gap: 0.75rem;
  justify-content: flex-end;
}

.luxe-input {
  max-width: 360px;
}

.luxe-select {
  max-width: 220px;
}

.auction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.auction-card {
  overflow: hidden;
  border-radius: 1.35rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.auction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.5rem 3.5rem rgba(15, 19, 31, 0.16);
}

.image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f0f1f4;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.auction-card:hover .image-wrap img {
  transform: scale(1.04);
}

.site-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 14, 22, 0.76);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.auction-body {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.2rem;
}

.brand-row {
  display: flex;
  justify-content: space-between;
  color: #684908;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.auction-body h2 {
      color: #111827;
  min-height: 3.6rem;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.price-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(17, 24, 39, 0.12);
}

.price-list dt {
  color: #3f4756;
  font-weight: 700;
}

.price-list dd {
  margin: 0;
  color: #151a24;
  font-weight: 800;
  text-align: right;
}

.price-list .accent {
  color: #7a5108;
  font-size: 1.1rem;
}

.meta {
  color: #3f4756;
  font-size: 0.9rem;
  font-weight: 650;
}

.history-strip {
  display: grid;
  gap: 0.4rem;
  margin-top: auto;
  padding: 0.85rem;
  border-radius: 1rem;
  background: #efe8d8;
  color: #242b37;
  font-size: 0.86rem;
  font-weight: 600;
}

.history-strip i {
  color: #74500c;
}

.empty-state {
  padding: 4rem 1rem;
  color: #3f4756;
  text-align: center;
}

.empty-state h2 {
  color: #111827;
}

.empty-state i {
  color: #7a5108;
  font-size: 3rem;
}

.footer {
  position: static;
  flex-shrink: 0;
  padding: 2rem 0;
  margin-top: auto;
  background: #111827;
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.5;
  white-space: normal;
}

.alert-info {
  background: #e8f2ff;
  color: #12345a;
}

@media (max-width: 1200px) {
  .auction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-panel,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .toolbar,
  .filter-form {
    align-items: stretch;
    flex-direction: column;
  }

  .luxe-input,
  .luxe-select {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .hero-panel,
  .stats-grid,
  .auction-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .mode-tabs {
    flex-direction: column;
  }
}