
/* =========================================
   GAME LAUNCH - SECONDARY PAGE STYLES
========================================= */

/* Informational pages */

.content-page {
  width: min(1150px, 100%);
  margin: 0 auto;
  padding: 42px 4%;
  box-sizing: border-box;
}

.content-page h1 {
  font-size: clamp(30px, 4vw, 43px);
  margin: 12px 0;
  letter-spacing: -1px;
}

.content-page h2 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.content-page p,
.content-page li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.content-page ul {
  padding-left: 22px;
  margin-top: 10px;
}

.content-page li {
  margin-bottom: 6px;
}

.page-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}

.page-back:hover {
  text-decoration: underline;
}

.page-panel {
  padding: 24px;
  margin: 18px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.page-panel h2 {
  margin-top: 0;
}

.page-empty {
  padding: 45px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}

/* =========================================
   UPCOMING AND POPULAR PAGES
========================================= */

.main-content > .page-intro,
.main-content > .content-panel {
  width: 100%;
  max-width: 1450px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(18px, 3.5vw, 48px);
  padding-right: clamp(18px, 3.5vw, 48px);
  box-sizing: border-box;
}

.page-intro {
  margin-top: 24px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.page-intro p {
  margin: 0 0 8px;
}

.page-intro .muted {
  color: var(--muted);
  font-size: 12px;
}

.content-panel {
  margin-top: 24px;
  margin-bottom: 32px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 6px 0 0;
  font-size: 21px;
  letter-spacing: -0.4px;
}

.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-row select {
  min-height: 40px;
  padding: 0 34px 0 12px;
  color: var(--text, #f3f9ff);
  background: var(--surface, #182f49);
  border: 1px solid var(--border, #3d5d80);
  border-radius: 9px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.filter-row select:focus {
  outline: 1px solid var(--cyan, #adc6ff);
  border-color: var(--cyan, #adc6ff);
}

.empty-state {
  padding: 35px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* =========================================
   RELEASE CALENDAR
========================================= */

.calendar-navigation {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
}

.legend-dot.confirmed {
  background: #22c55e;
}

.legend-dot.estimated {
  background: #f59e0b;
}

.release-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
}

.calendar-weekday {
  padding: 12px 4px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.calendar-day {
  min-height: 110px;
  min-width: 0;
  padding: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  box-sizing: border-box;
}

.calendar-day.today {
  border-color: var(--cyan);
}

.calendar-empty {
  opacity: 0.35;
}

.calendar-day-number {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.calendar-game {
  overflow: hidden;
  margin-top: 4px;
  padding: 5px;
  border-radius: 4px;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-game.confirmed {
  background: rgba(34, 197, 94, 0.15);
  border-left: 3px solid #22c55e;
}

.calendar-game.estimated {
  background: rgba(245, 158, 11, 0.15);
  border-left: 3px solid #f59e0b;
}

.calendar-more {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.calendar-release-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calendar-release-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.calendar-release-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
}

.calendar-release-date strong {
  font-size: 23px;
}

.calendar-release-date span,
.calendar-release-info p {
  color: var(--muted);
  font-size: 12px;
}

.calendar-release-info {
  flex: 1;
  min-width: 0;
}

.calendar-release-info h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.calendar-release-info p {
  margin: 0;
}

.calendar-status {
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10px;
  white-space: nowrap;
}

.calendar-status.confirmed {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}

.calendar-status.estimated {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 760px) {
  .content-page {
    padding: 30px 18px;
  }

  .page-panel {
    padding: 18px;
  }

  .main-content > .page-intro,
  .main-content > .content-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading h2 {
    font-size: 18px;
  }

  .calendar-day {
    min-height: 75px;
    padding: 5px;
  }

  .calendar-game {
    font-size: 8px;
  }

  .calendar-release-item {
    gap: 10px;
  }

  .calendar-release-info h3 {
    font-size: 12px;
  }

  .release-calendar {
    gap: 3px;
  }
}

/* Popular Upcoming */

.popularity-explanation {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  margin: 20px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.popularity-icon {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  color: var(--cyan);
  background: rgba(105, 189, 245, 0.12);
  border-radius: 10px;
  font-size: 20px;
}

.popularity-explanation strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.popularity-explanation p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .popularity-explanation {
    padding: 14px;
  }
}
