/* DevZ · midnight blue / ice cyan */
:root {
  --bg: #080f1c;
  --surface: #101c2e;
  --ink: #f2f6ff;
  --muted: #a6b6cf;
  --line: #293a52;
  --accent: #89dcff;
}
body { background: var(--bg); }
.hero, .about-intro { position: relative; isolation: isolate; }
.hero::before, .about-intro::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -30px 0 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 90% 15%, #477dff24, transparent 53%),
    radial-gradient(ellipse at 60% 90%, #51d5ef12, transparent 58%);
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 74%);
}
h1 em {
  background: linear-gradient(110deg, #a7b7ff 5%, #89dcff 72%, #b3f0ee);
  color: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.button { border-radius: 9px; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.button:hover { background: #192d46; border-color: #658bbb; }
.button.primary { background: var(--accent); color: #091526; border-color: transparent; }
.button.primary:hover { background: #b4eaff; box-shadow: 0 6px 24px #71cfff26; }
.language-switch { background: #101d30; border-radius: 8px; }
.language-switch a { border-radius: 5px; }
.tag { background: #1b2d46; color: #bdcfea; }
.upstream { color: #91a6c4; }
.about-lead a { text-decoration-color: #5a8db4; }
.text-link { border-color: #507f9d; }
.project, .social-card { position: relative; border-radius: 14px; }
.project:hover { border-color: #608bb5; }
.project-art { background: linear-gradient(120deg, #172d4e, #1d2445); }
.project-art.minecraft { background: linear-gradient(120deg, #153449, #173236); }
.project-art .art-top { color: #c4d5f0; }
.project-art .art-subtitle { color: #b2c7e0; }
.row-thumbnail { background: #14253b; }
.render-thumbnail { color: var(--accent); background: #14283c; border-color: #30516b; }
.featured-game-icon.mcx360-icon {
  background: #142e39;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
}
.tag.coming-soon { color: #b7eaff; background: #183b51; border: 1px solid #315a72; }
@media (max-width: 900px) {
  .featured-game-icon.mcx360-icon { border-radius: 15px; }
}
.connection {
  background: radial-gradient(ellipse at 100% 0, #3b74d521, transparent 70%), #102136;
  border-color: #304d70;
  border-radius: 16px;
}
.social-card { overflow: hidden; }
.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(300px circle at var(--spot-x, 50%) var(--spot-y, 50%), #89dcff17, transparent 70%);
  transition: opacity .25s;
}
.social-card > * { position: relative; }
.social-card:hover::before { opacity: 1; }
.social-mark { background: #1b2d46; }
.discord .social-mark { background: #242c4d; color: #c5caff; }
.youtube .social-mark { background: #3c2936; color: #ffa0a6; }
.kofi { background: #11283b; border-color: #325672; }
.kofi .social-mark { background: #1b3c53; color: #9ddfff; }

/* An original outlined arrow; the reference's grow/shrink behavior is re-created here. */
.devz-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 30px;
  height: 38px;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  color: #55a8ec;
  will-change: transform;
  transition: opacity .12s;
  display: none;
}
.devz-cursor svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 5px 4px;
  filter: drop-shadow(0 2px 3px #02081680);
  transition: transform .16s cubic-bezier(.2,.8,.2,1), color .16s;
}
.devz-cursor.is-visible { opacity: 1; }
.devz-cursor.is-hovering { color: #a4eaff; }
.devz-cursor.is-hovering svg { transform: scale(1.22) rotate(-5deg); }
.devz-cursor.is-pressed svg { transform: scale(.83) rotate(2deg); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .devz-cursor { display: block; }
  html.cursor-enhanced, html.cursor-enhanced body, html.cursor-enhanced body * { cursor: none !important; }
  .button:hover { transform: translateY(-2px) scale(1.025); }
  .row-thumbnail { transition: transform .2s, box-shadow .2s; }
  .row-thumbnail:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #0005; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .project:hover, .social-card:hover, .button:hover { transform: none; }
  .social-card::before { display: none; }
}
