body {
  margin: 0;
  font-family: "IBM Plex Mono", sans-serif;
  background: #111;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(12, 10, 8, 0.28), rgba(12, 10, 8, 0.28)),
    url("control-panel.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: blur(1px) contrast(1.05) brightness(0.98);
  transform: scale(1.02);
  z-index: -1;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 60px auto;
  padding: 25px;
  border-radius: 18px;
  background-color: #f9e190;
  background-image: url("https://www.transparenttextures.com/patterns/green-dust-and-scratches.png");
  border: 34px solid #f6bc35;
  box-shadow:
    0 0 18px rgba(246, 189, 54, 0.865),
    0 28px 60px rgba(0, 0, 0, 0.45),
    inset 0 2px 6px rgba(255, 255, 255, 0.25),
    inset 0 -6px 10px rgba(0, 0, 0, 0.2);
}

h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Share Tech Mono", monospace;
  font-size: 24px;
  letter-spacing: 9px;
  text-transform: uppercase;
  color: #3a2f10;
  margin: 0 0 25px 0;
}

h1::before {
  content: "";
  flex: 1;
  height: 1px;
  background: #b8922f;
  opacity: 0.7;
  margin-right: 15px;
}

h1::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #b8922f;
  opacity: 0.7;
  margin-left: 15px;
}

select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  letter-spacing: 1px;
  color: #3a2f10;
  background-color: #f6f0da;
  border: 3px solid #d5a630;
  cursor: pointer;
  outline: none;
  appearance: none;

  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.4),
    inset 0 -2px 5px rgba(0, 0, 0, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.15);

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;

  background-image:
    linear-gradient(45deg, transparent 50%, #3a2f10 50%),
    linear-gradient(135deg, #3a2f10 50%, transparent 50%);

  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);

  background-size: 6px 6px;
  background-repeat: no-repeat;
}

select:hover {
  border-color: #f6bc35;
  box-shadow:
    0 0 12px rgba(246, 188, 53, 0.18),
    inset 0 2px 3px rgba(255, 255, 255, 0.4),
    inset 0 -2px 5px rgba(0, 0, 0, 0.08);
}

select:focus {
  border-color: #ffd15c;
  box-shadow:
    0 0 18px rgba(246, 188, 53, 0.28),
    inset 0 2px 3px rgba(255, 255, 255, 0.4),
    inset 0 -2px 5px rgba(0, 0, 0, 0.08);
}

select:active {
  transform: translateY(1px);
}

.city {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 10px;
  margin: 8px 0;
  border-bottom: 1px dashed rgba(58, 47, 16, 0.25);
  transition: all 0.25s ease;
  border-radius: 10px;
}

.city:hover {
  background: rgba(184, 146, 47, 0.08);
  transform: translateX(4px);
}

.city h2 {
  margin: 0;
  font-size: 28px;
  font-family: "Share Tech Mono", monospace;
  font-weight: 700;
  letter-spacing: 4px;
  color: #3a2f10;
}

.city-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.city-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.timezone {
  font-size: 12px;
  letter-spacing: 2px;
  color: #b8922f;
  font-family: "Share Tech Mono", monospace;
}

.date {
  font-size: 13px;
  opacity: 0.75;
  color: #3a2f10;
}

.time {
  font-family: "Share Tech Mono", monospace;
  font-size: 82px;
  font-weight: bold;
  color: #f4f1e8;
  background: #0d0e10;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow:
    inset 0 0 14px rgba(0, 0, 0, 0.95),
    0 10px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  letter-spacing: 2px;
}

.seconds {
  font-size: 0.95em;
  color: #f6bc35;
  margin-left: 2px;
  display: inline-block;
  text-shadow:
    0 0 5px rgba(246, 188, 53, 0.55),
    0 0 12px rgba(246, 188, 53, 0.25);
  opacity: 0.95;
}

.milliseconds {
  font-size: 0.26em;
  font-weight: 400;
  color: rgba(249, 246, 239, 0.74);
  margin-left: 4px;
  letter-spacing: 1px;
  position: relative;
  top: -2px;
}
.all-cities {
  text-align: center;
  margin-top: 24px;
}

.all-cities a {
  display: inline-block;
  padding: 10px 16px;
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  color: #3a2f10;
  border: 2px solid #d5a630;
  border-radius: 8px;
  background: rgba(246, 240, 218, 0.45);

  transition:
    all 0.25s ease,
    transform 0.2s ease;
}

.all-cities a:hover {
  background: rgba(246, 188, 53, 0.15);
  border-color: #f6bc35;
  box-shadow: 0 0 12px rgba(246, 188, 53, 0.45);
  transform: translateY(-1px);
}

.all-cities a:active {
  transform: translateY(1px);
}

footer {
  text-align: center;
  margin-top: 25px;
  font-size: 12px;
  opacity: 0.6;
  color: #4f462b;
}
footer a {
  color: #a07304;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

footer a:hover {
  color: #3a2f10;
  text-decoration: underline;
}
