@font-face {
  font-family: "DniproCity";
  src: url("/landing/fonts/DniproCity-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DniproCity";
  src: url("/landing/fonts/DniproCity-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: oklch(0.528 0.268 27); /* Racing Red #E00500 */
  --foreground: oklch(0.172 0.018 269); /* Shadow Grey #1C1C25 */
  --card: oklch(1 0 0);
  --border: oklch(0.862 0.008 264);
  --muted-foreground: #4d4e51;
  --shadow-card: 3px 3px 0 oklch(from var(--primary) 0.2 calc(c * 0.6) h);
  --shadow-card-hover: 6px 6px 0 oklch(from var(--primary) 0.2 calc(c * 0.6) h);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  height: 100%;
  font-family: "DniproCity", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--foreground);
}

body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  background-color: #1c1c25;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.card {
  position: relative;
  z-index: 1;
  background-color: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
  padding: 2.5rem 2rem;
  width: min(420px, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Image */
.image-placeholder {
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.image-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

/* Nav links */
nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1.5px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-card);
  color: var(--foreground);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  transition:
    box-shadow 250ms var(--ease-out),
    border-color 250ms var(--ease-out),
    transform 250ms var(--ease-out),
    color 150ms ease;
}

.link:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: oklch(0.812 0.008 264);
  transform: translate(-1.5px, -1.5px);
  color: var(--primary);
}

.link:active {
  transform: scale(0.98);
  transition-duration: 75ms;
}

.link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.link-arrow {
  opacity: 0.35;
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.link:hover .link-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Contact link — subtler style */
.link.link-secondary {
  border-style: dashed;
  font-weight: 400;
  color: var(--muted-foreground);
}

.link.link-secondary:hover {
  color: var(--foreground);
}

/* Red accent stripe on top of card */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background-color: var(--primary);
  border-radius: 0 0 2px 2px;
}
