body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(210, 105, 30, 0.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(124, 62, 28, 0.22), transparent 35%),
    linear-gradient(135deg, #0c0906, #15100b 45%, #090806);
  color: #f4eadc;
}

/* Top navigation */

.navbar {
  background:
    linear-gradient(90deg, #120c07, #24140b, #120c07);
  border-bottom: 1px solid #7a4a22;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.nav-logo {
  color: #f5b35c;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #e8d2b3;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  color: #ffcc7a;
}

/* Main page layouts */

.hero {
  min-height: 100vh;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page {
  min-height: 100vh;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.card {
  max-width: 800px;
  background:
    linear-gradient(145deg, rgba(38, 24, 14, 0.96), rgba(18, 13, 9, 0.98));
  border: 2px solid #8b5a2b;
  border-radius: 22px;
  padding: 40px;
  box-shadow:
    0 0 0 1px rgba(255, 203, 122, 0.12),
    0 0 35px rgba(210, 105, 30, 0.16),
    0 12px 40px rgba(0, 0, 0, 0.45);
}

.wide-card {
  width: 100%;
  max-width: 1100px;
}

.badge {
  display: inline-block;
  background: #2b170c;
  color: #ffbd69;
  border: 1px solid #9c642d;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 20px;
  box-shadow: inset 0 0 10px rgba(255, 179, 92, 0.08);
}

h1 {
  font-size: 48px;
  margin: 0 0 16px;
  color: #f5b35c;
  text-shadow: 0 0 18px rgba(245, 179, 92, 0.18);
}

h2 {
  color: #ffcc7a;
}

.subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #e8d2b3;
}

.last-updated {
  color: #b9966d;
  font-size: 14px;
  margin-top: 4px;
  margin-bottom: 18px;
}

/* Homepage stats */

.stats {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.stat-box {
  background:
    linear-gradient(145deg, #160f09, #24150b);
  border: 1px solid #7a4a22;
  border-radius: 14px;
  padding: 20px;
  flex: 1;
  min-width: 160px;
  box-shadow: inset 0 0 18px rgba(255, 190, 105, 0.04);
}

.stat-number {
  font-size: 32px;
  font-weight: bold;
  color: #ffe1a3;
}

.stat-label {
  color: #b9966d;
  margin-top: 6px;
}

/* Buttons */

.button {
  display: inline-block;
  background:
    linear-gradient(135deg, #d97706, #f5b35c);
  color: #160c05;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: bold;
  border: 1px solid #ffcf83;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
  cursor: pointer;
}

.button:hover {
  background:
    linear-gradient(135deg, #f5b35c, #ffd18a);
  color: #120804;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-button-row {
  margin-top: 24px;
}

.secondary-button {
  background: #24150b;
  color: #f4eadc;
  border: 1px solid #7a4a22;
  box-shadow: none;
}

.secondary-button:hover {
  background: #3a2110;
  color: #ffcc7a;
}

/* Info sections */

.info-section {
  background:
    linear-gradient(145deg, #130d08, #21140b);
  border: 1px solid #7a4a22;
  border-radius: 16px;
  padding: 24px;
  margin: 30px 0;
  box-shadow: inset 0 0 16px rgba(255, 184, 92, 0.04);
}

.info-section h2 {
  margin-top: 0;
  color: #f5b35c;
}

.info-section p {
  color: #e8d2b3;
  line-height: 1.6;
}

/* Tracker grid */

.tracker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.serial-card {
  background:
    linear-gradient(145deg, #15100b, #24150b);
  border: 1px solid #5d3920;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: inset 0 0 12px rgba(255, 190, 105, 0.03);
}

.serial-card:hover {
  transform: translateY(-3px);
  border-color: #d97706;
  box-shadow: 0 0 18px rgba(217, 119, 6, 0.16);
}

.serial-number {
  font-size: 24px;
  font-weight: bold;
  color: #ffe1a3;
}

.serial-status {
  margin-top: 8px;
  font-size: 14px;
}

.unknown {
  color: #9d8b78;
}

.confirmed {
  color: #ffcc7a;
}

.pending {
  color: #ffd36a;
}

.confirmed-card {
  border-color: #f5b35c;
  box-shadow:
    0 0 18px rgba(245, 179, 92, 0.22),
    inset 0 0 14px rgba(245, 179, 92, 0.05);
}

.pending-card {
  border-color: #ffd36a;
  box-shadow: 0 0 18px rgba(255, 211, 106, 0.15);
}

.serial-note {
  margin-top: 8px;
  font-size: 12px;
  color: #d8b98f;
}

/* Tracker stats */

.tracker-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.tracker-stat-box {
  background:
    linear-gradient(145deg, #160f09, #24150b);
  border: 1px solid #7a4a22;
  border-radius: 14px;
  padding: 18px;
  flex: 1;
  min-width: 150px;
}

/* Legend */

.legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e8d2b3;
  font-weight: bold;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.confirmed-dot {
  background: #f5b35c;
}

.pending-dot {
  background: #ffd36a;
}

.unknown-dot {
  background: #8b7a68;
}

/* Search */

.search-box {
  margin: 30px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-box label {
  font-weight: bold;
  color: #f4eadc;
}

.search-box input {
  max-width: 260px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #7a4a22;
  background: #130d08;
  color: #f4eadc;
  font-size: 16px;
}

.search-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.highlight-card {
  border-color: #ffffff;
  box-shadow: 0 0 26px rgba(255, 225, 163, 0.35);
  transform: scale(1.03);
}

/* Submit page */

.submit-box {
  background:
    linear-gradient(145deg, #130d08, #21140b);
  border: 1px solid #7a4a22;
  border-radius: 16px;
  padding: 28px;
  margin: 30px 0;
}

.submit-box h2 {
  margin-top: 0;
  color: #f5b35c;
}

.submit-box p {
  color: #e8d2b3;
  line-height: 1.6;
  margin-bottom: 24px;
}

.submit-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 30px 0;
}

.submit-form label {
  font-weight: bold;
  color: #f4eadc;
}

.submit-form input,
.submit-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #7a4a22;
  background: #130d08;
  color: #f4eadc;
  font-size: 16px;
}

.submit-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Recently confirmed */

.recent-card {
  background:
    linear-gradient(145deg, #130d08, #24150b);
  border: 1px solid #7a4a22;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.recent-number {
  font-size: 28px;
  font-weight: bold;
  color: #f5b35c;
}

.recent-details {
  color: #e8d2b3;
  margin-top: 4px;
}

/* Modal */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 5, 3, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
}

.hidden {
  display: none;
}

.modal-content {
  background:
    linear-gradient(145deg, #24150b, #120c07);
  border: 2px solid #8b5a2b;
  border-radius: 20px;
  padding: 28px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 203, 122, 0.12),
    0 0 32px rgba(217, 119, 6, 0.22);
}

.close-button {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #f4eadc;
  font-size: 32px;
  cursor: pointer;
}

.close-button:hover {
  color: #ffcc7a;
}

.modal-image {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  background: #100b07;
  border: 1px solid #7a4a22;
  border-radius: 14px;
  margin: 20px 0;
}

.modal-info p {
  color: #e8d2b3;
  line-height: 1.5;
}

.modal-info a {
  color: #ffcc7a;
}

.modal-submit-button {
  background:
    linear-gradient(135deg, #d97706, #f5b35c) !important;
  color: #160c05 !important;
  display: inline-block;
  margin-top: 14px;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
}

.modal-submit-button:hover {
  background:
    linear-gradient(135deg, #f5b35c, #ffd18a) !important;
  color: #120804 !important;
}

/* Footer */

.site-footer {
  border-top: 1px solid #7a4a22;
  padding: 24px;
  text-align: center;
  color: #b9966d;
  background:
    linear-gradient(90deg, #120c07, #1b1008, #120c07);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

/* Small screen tweaks */

@media (max-width: 600px) {
  h1 {
    font-size: 36px;
  }

  .card {
    padding: 26px;
  }

  .subtitle {
    font-size: 18px;
  }

  .tracker-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}
.confirmed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.confirmed-list-item {
  background:
    linear-gradient(145deg, #15100b, #24150b);
  border: 1px solid #8b5a2b;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.confirmed-list-number {
  color: #f5b35c;
  font-weight: bold;
  font-size: 20px;
}

.confirmed-list-details {
  color: #e8d2b3;
}

.confirmed-list-empty {
  color: #b9966d;
  font-style: italic;
}
