/* ==========================================================================
   Daniel.tf — shared subpage theme
   Matches the homepage: dark glass, aurora background, violet/teal accents.
   ========================================================================== */

:root {
  --bg: #05060c;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4fb;
  --text-soft: rgba(238, 238, 255, 0.72);
  --text-muted: rgba(226, 226, 245, 0.52);
  --violet: #9f91ff;
  --violet-strong: #7c6cf0;
  --teal: #5eead4;
  --rose: #fb7185;
  --radius-lg: 22px;
  --radius-md: 13px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 1.5rem 3rem;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: rgba(159, 145, 255, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: #0b0c16;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* Ambient backdrop */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  will-change: transform;
}

.orb-one {
  top: -30rem;
  left: 50%;
  width: 48rem;
  height: 48rem;
  margin-left: -30rem;
  background: radial-gradient(circle, rgba(116, 96, 245, 0.55), transparent 68%);
  animation: drift 22s ease-in-out infinite;
}

.orb-two {
  right: -16rem;
  bottom: -20rem;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle, rgba(0, 190, 150, 0.28), transparent 68%);
  animation: drift 28s ease-in-out infinite reverse;
}

.orb-three {
  bottom: 8%;
  left: -16rem;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(56, 132, 255, 0.24), transparent 68%);
  animation: drift 34s ease-in-out infinite;
  animation-delay: -8s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 25%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(
    ellipse 75% 60% at 50% 25%,
    #000 0%,
    transparent 78%
  );
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2.5rem, 1.75rem, 0) scale(1.08);
  }
}

/* Top bar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 6, 12, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  border-radius: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--violet) 0%, #5b8def 60%, var(--teal) 130%);
  color: #0a0918;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 18px -6px rgba(124, 108, 240, 0.8);
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.brand-dot {
  color: var(--violet);
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 550;
  text-decoration: none;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.topbar-link svg {
  width: 0.85rem;
  height: 0.85rem;
}

.topbar-link:hover {
  transform: translateX(-2px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

/* Page layout */
.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding-top: clamp(7rem, 14vh, 9rem);
}

.page-head {
  margin-bottom: 2.25rem;
  text-align: center;
  animation: rise 0.8s var(--ease) backwards;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(159, 145, 255, 0.26);
  border-radius: var(--radius-pill);
  background: rgba(159, 145, 255, 0.08);
  color: #cec7ff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.eyebrow .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--violet);
}

.page-title {
  font-size: clamp(2.4rem, 7vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ffffff 10%, #ded9ff 52%, #a99cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-sub {
  max-width: 32rem;
  margin: 1rem auto 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Panels */
.panel {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(10, 12, 23, 0.58);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 30px 80px -40px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  animation: rise 0.8s var(--ease) 0.08s backwards;
}

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

.panel::before {
  content: "";
  position: absolute;
  top: -8rem;
  left: -6rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 145, 255, 0.13), transparent 68%);
  pointer-events: none;
}

.panel--teal::before {
  right: -6rem;
  left: auto;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12), transparent 68%);
}

.panel + .panel {
  margin-top: 1rem;
  animation-delay: 0.16s;
}

.panel-head {
  margin-bottom: 1.25rem;
}

.panel-title {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.panel-sub {
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Prose */
.prose {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2 {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  color: var(--violet);
  font-weight: 550;
  text-decoration: none;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: #fff;
  text-decoration: underline;
}

.prose ul {
  padding-left: 1.1rem;
  list-style: none;
}

.prose li {
  position: relative;
  padding-left: 1.1rem;
  margin-top: 0.55rem;
}

.prose li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px rgba(159, 145, 255, 0.7);
}

.prose .lead {
  color: var(--text);
  font-size: 1.08rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, #8b7cff 0%, #6d5ce8 55%, #5b7cf0 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.24) inset,
    0 14px 34px -14px rgba(124, 108, 240, 0.9);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 20px 42px -14px rgba(124, 108, 240, 1);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.btn-soft {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-weight: 550;
}

.btn-soft:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
  color: #fff;
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Chips / tags */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(159, 145, 255, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(159, 145, 255, 0.1);
  color: #d5cfff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chip-teal {
  border-color: rgba(94, 234, 212, 0.28);
  background: rgba(94, 234, 212, 0.1);
  color: #b8fff3;
}

/* Game tile (games page) */
.game-tile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.game-icon {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  flex-shrink: 0;
  border: 1px solid rgba(159, 145, 255, 0.28);
  border-radius: 15px;
  background: rgba(159, 145, 255, 0.13);
  color: #cfc9ff;
  box-shadow: 0 10px 30px -14px rgba(124, 108, 240, 0.8);
}

.game-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.game-info {
  flex: 1;
  min-width: 12rem;
}

.game-info h2 {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.game-info p {
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.game-tile .btn {
  flex-shrink: 0;
}

/* At a glance (about page) */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.75rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.stat:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 145, 255, 0.35);
  box-shadow: 0 18px 40px -24px rgba(124, 108, 240, 0.9);
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: linear-gradient(150deg, #fff 10%, #cfc7ff 60%, #5eead4 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat-label {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 650;
}

.stat-note {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.quick-links a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.quick-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(94, 234, 212, 0.06);
}

.quick-links-label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.quick-links-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-label {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  transition:
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23b9b4d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: var(--border-strong);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(159, 145, 255, 0.6);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 4px rgba(159, 145, 255, 0.12);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.form-actions .btn {
  min-width: 9rem;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.form-note a {
  color: var(--violet);
  text-decoration: none;
  text-underline-offset: 3px;
}

.form-note a:hover {
  color: #fff;
  text-decoration: underline;
}

.form-status {
  min-height: 1.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-status.is-error {
  color: #fda4af;
}

.form-status.is-ok {
  color: var(--teal);
}

/* Honeypot — visually hidden but still fillable by bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Alerts */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(251, 113, 133, 0.3);
  border-radius: var(--radius-md);
  background: rgba(251, 113, 133, 0.09);
  color: #fecdd3;
  font-size: 0.88rem;
  line-height: 1.55;
}

.alert svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.alert p {
  margin: 0;
}

/* Validation */
.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: rgba(251, 113, 133, 0.55);
  background: rgba(251, 113, 133, 0.06);
}

.field.has-error input:focus,
.field.has-error textarea:focus,
.field.has-error select:focus {
  border-color: rgba(251, 113, 133, 0.7);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.14);
}

.field-error {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  color: #fda4af;
  font-size: 0.8rem;
  line-height: 1.45;
}

/* Share page */
.share-preview {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(94, 234, 212, 0.25);
  border-radius: var(--radius-md);
  background: rgba(94, 234, 212, 0.05);
  color: rgba(216, 255, 250, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.share-preview-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Result / success */
.result {
  padding: clamp(2rem, 6vw, 3rem);
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(140deg, #5eead4, #34d399);
  color: #04231d;
  box-shadow:
    0 0 0 8px rgba(94, 234, 212, 0.1),
    0 20px 50px -16px rgba(94, 234, 212, 0.7);
}

.success-icon svg {
  width: 2rem;
  height: 2rem;
}

.result h1,
.result h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #fff 20%, #bffcf2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.result p {
  max-width: 26rem;
  margin: 0.75rem auto 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.result .page-actions {
  justify-content: center;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* 404 */
.result .error-code {
  margin: 0 auto;
  font-size: clamp(5.5rem, 20vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(150deg, #ffffff 0%, #a99cff 45%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.result .error-url {
  display: inline-block;
  max-width: 100%;
  margin-top: 1rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  word-break: break-all;
}

/* Footer */
.credits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-muted);
  font-size: 0.82rem;
  animation: rise 0.8s var(--ease) 0.2s backwards;
}

.credits a {
  color: var(--violet);
  font-weight: 550;
  text-decoration: none;
  text-underline-offset: 3px;
}

.credits a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 560px) {
  body.page {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .topbar {
    padding: 0.8rem 1.1rem;
  }

  .topbar-link span {
    display: none;
  }

  .page-shell {
    padding-top: 6.5rem;
  }

  .page-head {
    margin-bottom: 1.75rem;
  }

  .game-tile .btn {
    width: 100%;
  }

  .form-actions .btn {
    width: 100%;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
