:root {
  --red: #c41212;
  --red-deep: #7a0a0a;
  --ink: #0a0a0a;
  --paper: #f2ece4;
  --muted: #a89f94;
  --line: rgba(242, 236, 228, 0.12);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--paper);
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(196, 18, 18, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(122, 10, 10, 0.35), transparent 50%),
    linear-gradient(165deg, #1a0505 0%, var(--ink) 45%, #120808 100%);
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
  opacity: 0.5;
}

.stage {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: rise 0.7s ease-out both;
}

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

.brand {
  text-align: center;
}

.brand-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 4.5rem);
  letter-spacing: 0.06em;
  line-height: 0.9;
  color: var(--red);
  text-shadow: 0 0 40px rgba(196, 18, 18, 0.4);
  animation: brand-pulse 3.5s ease-in-out infinite;
}

@keyframes brand-pulse {
  0%,
  100% {
    text-shadow: 0 0 28px rgba(196, 18, 18, 0.35);
  }
  50% {
    text-shadow: 0 0 52px rgba(196, 18, 18, 0.55);
  }
}

.brand-sub {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cover {
  margin: 0;
  position: relative;
}

.cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--red);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 24px 48px rgba(0, 0, 0, 0.55);
  animation: cover-in 0.9s 0.15s ease-out both;
}

@keyframes cover-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.meta {
  text-align: center;
  animation: rise 0.7s 0.25s ease-out both;
}

.issue-num {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.75rem;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1;
}

.issue-title {
  margin: 0.4rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

.issue-author,
.issue-date {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.actions {
  animation: rise 0.7s 0.35s ease-out both;
}

.btn {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  color: var(--paper);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-download {
  background: var(--red);
  border-color: var(--red-deep);
}

.btn-download:hover {
  background: #e01818;
}

@media (min-width: 720px) {
  .stage {
    max-width: 520px;
    padding-top: 2.5rem;
  }
}
