@font-face {
  font-family: 'AppFont';
  src: url('../../font/font.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #0A67E9;
  --blue-dark: #0a5fe0;
  --blue-deep: #0957d0;
  --ink: #0b1220;
  --card: #ffffff;
  --shadow: 0 18px 36px rgba(5, 25, 70, 0.18);
  --border: rgba(255, 255, 255, 0.7);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: start center;
  background: var(--blue);
  color: #fff;
}

html,
body,
body * {
  font-family: 'AppFont' !important;
}

button,
input,
select,
textarea {
  font-family: 'AppFont' !important;
}

.screen {
  width: min(420px, 100%);
  min-height: 100vh;
  background: var(--blue);
  background-image: url("../wallpaper.png");
  background-size: cover;
  background-position: center;
  padding: 26px 18px 48px;
  position: relative;
  overflow: hidden;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 102, 230, 0.96), rgba(12, 110, 246, 0.84) 40%, rgba(12, 110, 246, 0.35));
  z-index: 0;
}

.screen > * {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.back-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  padding: 0;
  text-decoration: none;
}

.back-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.title {
  font-size: 20px;
  letter-spacing: 1.6px;
}

.nav {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.nav a {
  text-decoration: none;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 6px 14px;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
}

.nav a.active {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}

.card {
  background: var(--card);
  color: var(--ink);
  border-radius: 18px;
  padding: 18px 16px 20px;
  box-shadow: var(--shadow);
  line-height: 1.5;
}

.section {
  margin-bottom: 16px;
}

.section h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.section p {
  margin: 0;
  font-size: 14px;
}

.date-pill {
  width: fit-content;
  margin: 0 0 14px;
  padding: 8px 16px;
  border-radius: 14px;
  border: 2px solid var(--border);
  font-size: 14px;
  color: #fff;
  background: transparent;
  letter-spacing: 0.6px;
}

@media (max-width: 420px) {
  .screen {
    padding: 22px 16px 40px;
  }

  .title {
    font-size: 18px;
  }
}

