:root {
  --navy: #0b1d2e;
  --panel: #112a42;
  --teal: #5fd3d0;
  --brass: #c9a227;
  --text: #d6e4ee;
  --muted: #7f9bb0;
}

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

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(95, 211, 208, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 211, 208, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  min-height: 100vh;
  padding: 40px 24px;
}

header {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.4);
}

.brand {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--brass);
  text-transform: uppercase;
}

h1 {
  font-size: 2.2rem;
  font-weight: 300;
  margin-top: 8px;
  letter-spacing: 0.04em;
}

h1 span {
  color: var(--teal);
  font-weight: 600;
}

.subtitle {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.95rem;
}

.grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px 24px;
  background: linear-gradient(160deg, var(--panel), #0c2033);
  border: 1px solid rgba(95, 211, 208, 0.25);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

/* Corner brackets give an instrument-panel feel */
.tile::before,
.tile::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--brass);
  border-style: solid;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.tile::before {
  top: 6px;
  left: 6px;
  border-width: 2px 0 0 2px;
}

.tile::after {
  bottom: 6px;
  right: 6px;
  border-width: 0 2px 2px 0;
}

.tile:hover,
.tile:focus-visible {
  border-color: var(--brass);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 18px rgba(201, 162, 39, 0.15);
  outline: none;
}

.tile:hover::before,
.tile:hover::after {
  opacity: 1;
}

.icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px dashed rgba(95, 211, 208, 0.4);
  margin-bottom: 18px;
  color: var(--teal);
}

.icon svg {
  display: block;
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile:hover .icon {
  color: var(--brass);
}

.tile h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.code {
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}

footer {
  max-width: 1100px;
  margin: 48px auto 0;
  text-align: center;
  font-family: "Courier New", Consolas, monospace;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

footer p {
  margin: revert;
}

.copyright a {
  color: var(--teal);
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }
}

