@font-face {
  font-family: 'PP Right Serif Mono';
  src: url('fonts/PPRightSerifMono-Regular.woff2') format('woff2'),
       url('fonts/PPRightSerifMono-Regular.woff') format('woff'),
       url('fonts/PPRightSerifMono-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Right Serif Mono';
  src: url('fonts/PPRightSerifMono-Dark.woff2') format('woff2'),
       url('fonts/PPRightSerifMono-Dark.woff') format('woff'),
       url('fonts/PPRightSerifMono-Dark.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Right Grotesk Text';
  src: url('fonts/PPRightGroteskText-Regular.woff2') format('woff2'),
       url('fonts/PPRightGroteskText-Regular.woff') format('woff'),
       url('fonts/PPRightGroteskText-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Right Grotesk Text';
  src: url('fonts/PPRightGroteskText-CompactMedium.woff2') format('woff2'),
       url('fonts/PPRightGroteskText-CompactMedium.woff') format('woff'),
       url('fonts/PPRightGroteskText-CompactMedium.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Scroll reveal animation */
[data-reveal] {
  opacity: 0.75;
  transform: translateY(1rem);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Glow effects */
.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgb(var(--color-accent) / 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgb(var(--color-accent) / 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Logo shadow */
.logo svg {
  border-radius: 12px;
  box-shadow: 0 0 40px rgb(var(--color-accent) / 0.15),
              0 0 80px rgb(var(--color-accent) / 0.05);
}

/* Accent button shadow */
.btn-accent-shadow {
  box-shadow: 0 2px 12px rgb(var(--color-accent) / 0.25);
}
.btn-accent-shadow:hover {
  box-shadow: 0 4px 20px rgb(var(--color-accent) / 0.35);
}

/* Changelog timeline dot glow */
.dot-accent-glow {
  box-shadow: 0 0 12px rgb(var(--color-accent) / 0.4);
}

/* Accent color picker */
.accent-picker {
  display: flex;
  align-items: center;
  gap: 4px;
}

.accent-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.15s;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.accent-dot.active {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Marquee mask */
.marquee-mask {
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

/* Screenshot image fill */
.screenshot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Changelog release body prose */
.release-body h3 {
  border-bottom: 1px solid rgba(30, 30, 28, 0.5);
  padding-bottom: 0.5rem;
}

.release-body ul:last-child {
  margin-bottom: 0;
}
