/* ---------- BULLETINS PAGE ---------- */

.bulletins-page-shell {
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 198, 160, 0.14), transparent 18%),
    linear-gradient(180deg, #1d1352 0%, #312062 36%, #6a3b83 58%, #392b74 76%, #1c1b55 100%);
}

.bulletins-page-shell .arcade-shell {
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

.bulletins-page-shell::before {
  background:
    radial-gradient(circle at 50% 6%, rgba(255, 197, 176, 0.24), transparent 20%),
    radial-gradient(circle at 18% 18%, rgba(123, 246, 255, 0.1), transparent 16%),
    radial-gradient(circle at 86% 12%, rgba(255, 121, 183, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%);
}

.bulletins-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  width: 100%;
  min-height: 100vh;
  padding: 18px clamp(16px, 4vw, 36px) 42px;
  background:
    linear-gradient(180deg, #1f1458 0%, #312060 18%, #6d3d89 54%, #402d79 74%, #1f2059 100%);
}

.bulletins-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 50% 42%, rgba(255, 177, 165, 0.14), transparent 18%);
  pointer-events: none;
  z-index: 1;
}

.bulletins-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(58, 48, 141, 0) 0%, #2c2b74 34%, #242364 68%, #1a1a52 100%);
  pointer-events: none;
  z-index: 0;
}

.bulletins-stage__stars {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(153, 255, 255, 0.95) 0 1px, transparent 1.8px),
    radial-gradient(circle at 16% 28%, rgba(255, 232, 167, 0.95) 0 1.2px, transparent 2px),
    radial-gradient(circle at 24% 19%, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.8px),
    radial-gradient(circle at 40% 26%, rgba(153, 255, 255, 0.82) 0 1.1px, transparent 2px),
    radial-gradient(circle at 58% 15%, rgba(255, 255, 255, 0.86) 0 1px, transparent 1.8px),
    radial-gradient(circle at 66% 31%, rgba(255, 232, 167, 0.96) 0 1.2px, transparent 2px),
    radial-gradient(circle at 78% 14%, rgba(153, 255, 255, 0.84) 0 1.1px, transparent 2px),
    radial-gradient(circle at 88% 27%, rgba(255, 232, 167, 0.9) 0 1px, transparent 1.9px),
    radial-gradient(circle at 10% 47%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.9px),
    radial-gradient(circle at 82% 45%, rgba(153, 255, 255, 0.82) 0 1.1px, transparent 1.9px);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
  animation: homeStageDrift 18s linear infinite;
}

.bulletins-stage__scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.bulletins-stage__sun {
  position: absolute;
  left: 50%;
  bottom: 49%;
  width: min(34vw, 340px);
  aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    linear-gradient(180deg, #ffd7b9 0%, #ffbfaa 38%, #ee86b3 72%, #d154a2 100%);
  box-shadow:
    0 0 70px rgba(255, 185, 165, 0.22),
    0 0 120px rgba(255, 136, 178, 0.1);
  z-index: 0;
}

.bulletins-stage__sun::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 14px,
      rgba(255, 107, 158, 0.48) 14px 18px
    );
  opacity: 0.3;
}

.bulletins-stage__skyline {
  position: absolute;
  left: 50%;
  bottom: 44%;
  width: min(84vw, 860px);
  height: min(10vw, 118px);
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2a2b69, #19153d);
  clip-path: polygon(
    0 100%, 0 92%, 4% 92%, 4% 72%, 6% 72%, 6% 88%, 8% 88%, 8% 64%, 10% 64%,
    10% 84%, 12% 84%, 12% 52%, 14% 52%, 14% 78%, 16% 78%, 16% 46%, 18% 46%,
    18% 82%, 20% 82%, 20% 58%, 22% 58%, 22% 86%, 25% 86%, 25% 34%, 27% 34%,
    27% 80%, 29% 80%, 29% 24%, 31% 24%, 31% 86%, 34% 86%, 34% 56%, 36% 56%,
    36% 76%, 39% 76%, 39% 42%, 41% 42%, 41% 18%, 43% 18%, 43% 82%, 46% 82%,
    46% 38%, 48% 38%, 48% 22%, 50% 22%, 50% 86%, 53% 86%, 53% 44%, 55% 44%,
    55% 84%, 58% 84%, 58% 48%, 60% 48%, 60% 74%, 63% 74%, 63% 56%, 66% 56%,
    66% 86%, 69% 86%, 69% 40%, 71% 40%, 71% 70%, 74% 70%, 74% 84%, 77% 84%,
    77% 58%, 80% 58%, 80% 86%, 84% 86%, 84% 66%, 87% 66%, 87% 82%, 91% 82%,
    91% 74%, 94% 74%, 94% 90%, 100% 90%, 100% 100%
  );
  box-shadow: 0 -1px 0 rgba(255, 164, 209, 0.22);
  z-index: 3;
}

.bulletins-stage__floor {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 54%;
  bottom: -22%;
  background:
    linear-gradient(180deg, rgba(255, 116, 191, 0.12) 0%, rgba(78, 59, 178, 0.18) 10%, rgba(52, 43, 152, 0.36) 30%, rgba(36, 32, 119, 0.86) 62%, rgba(31, 29, 102, 1) 100%),
    linear-gradient(90deg, rgba(255, 73, 168, 0.96) 0 2px, transparent 2px 76px),
    linear-gradient(180deg, rgba(255, 73, 168, 0.96) 0 2px, transparent 2px 50px);
  background-size: 100% 100%, 76px 100%, 100% 50px;
  transform: perspective(980px) rotateX(74deg);
  transform-origin: center top;
  z-index: 1;
}

.bulletins-stage__controls,
.bulletins-stage__header,
.bulletins-layout,
.bulletins-hero-card,
.bulletins-feed {
  position: relative;
}

.bulletins-stage__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(92vw, 980px);
  padding-top: 8px;
}

.bulletins-stage__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bulletins-stage__header {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: min(82vw, 760px);
  text-align: center;
  padding-top: 4px;
}

.bulletins-page-shell .pixel-text {
  color: transparent !important;
  text-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.bulletins-stage__title {
  width: min(620px, 92vw);
  margin: 0 auto;
  filter: drop-shadow(0 5px 0 rgba(0, 0, 0, 0.42));
}

.bulletins-stage__subtitle {
  margin: 0;
  color: #fff8ff;
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  line-height: 1.3;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.34);
}

.bulletins-stage__back,
.bulletins-stage__portal {
  color: #fff8ff;
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 10px;
  border-radius: var(--profile-radius-xs);
  background: rgba(10, 10, 18, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.bulletins-stage__portal {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 214, 189, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 220, 187, 0.14), rgba(16, 11, 40, 0.84) 38%, rgba(8, 7, 24, 0.96)),
    rgba(9, 8, 22, 0.92);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.16),
    0 0 16px rgba(255, 121, 183, 0.14);
}

.bulletins-stage__back:hover,
.bulletins-stage__portal:hover,
.bulletins-stage__back.gamepad-selected,
.bulletins-stage__portal.gamepad-selected {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.38);
}

.bulletins-layout {
  display: grid;
  gap: 18px;
  width: min(92vw, 1100px);
}

.bulletins-hero-card,
.bulletin-card {
  overflow: hidden;
  border-radius: var(--profile-radius-md);
  border: 2px solid rgba(255, 214, 189, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 220, 187, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(21, 14, 55, 0.96), rgba(7, 7, 22, 0.96));
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 24px rgba(255, 121, 183, 0.08);
}

.bulletins-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  padding: 24px;
}

.bulletins-hero-card__copy {
  display: grid;
  gap: 12px;
}

.bulletins-hero-card__kicker,
.bulletins-meta-block__label,
.bulletin-card__status,
.bulletin-card__meta {
  margin: 0;
  color: #ffd7b9;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bulletins-hero-card__title {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.34);
}

.bulletins-hero-card__summary {
  margin: 0;
  color: rgba(255, 248, 255, 0.82);
  line-height: 1.7;
}

.bulletins-hero-card__meta {
  display: grid;
  align-content: center;
}

.bulletins-meta-block {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--profile-radius-xs);
  border: 1px solid rgba(255, 214, 189, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.bulletins-meta-block__value {
  color: #fff8ff;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.bulletins-feed {
  display: grid;
  gap: 16px;
}

.bulletin-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.bulletin-card--placeholder {
  background:
    linear-gradient(180deg, rgba(140, 246, 212, 0.05), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.bulletin-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bulletin-card__date {
  color: rgba(255, 248, 255, 0.72);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bulletin-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.bulletin-card__summary {
  margin: 0;
  color: rgba(255, 248, 255, 0.84);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .bulletins-stage {
    padding: 16px 12px 30px;
  }

  .bulletins-stage__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .bulletins-stage__nav {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .bulletins-stage__header {
    width: 100%;
  }

  .bulletins-stage__title {
    max-width: 100%;
  }

  .bulletins-hero-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px 16px;
  }
}
