@font-face {
  font-family: "Rockwell";
  src: local("Rockwell"), local("Rockwell Bold");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-dark: #1a1a2e;
  --text: #2d2d2d;
  --text-light: #6b6b6b;
  --text-on-dark: #e0e0e0;
  --accent-blue: #4f46e5;
  --accent-purple: #7c3aed;
  --accent-red: #bf2121;
  --accent-green: #16a34a;
  --grid-bg: #b0b7bf;
  --grid-bg-line: #dddddd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #b0b7bf;
  color: #2d2d2d;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(#dddddd 2px, transparent 2px), linear-gradient(90deg, #dddddd 2px, transparent 2px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: "Rockwell", Georgia, serif;
  font-weight: 700;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
}

main {
  flex: 1;
  background: #ffffff;
  border-radius: 36px 36px 0 0;
  margin: 0 auto;
  max-width: 1200px;
  width: calc(100% - 16rem);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  main {
    width: calc(100% - 2rem);
    border-radius: 30px 30px 0 0;
  }
}
@media (max-width: 480px) {
  main {
    width: calc(100% - 1rem);
    border-radius: 20px 20px 0 0;
  }
}

section {
  padding: 3rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

header {
  padding: 2rem 0;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 360px;
  height: auto;
  display: block;
}
@media (max-width: 480px) {
  .logo-img {
    width: 280px;
  }
}

nav {
  display: flex;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  nav {
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  nav {
    display: none;
  }
}
nav a {
  font-family: Futura, "Futura PT", "Century Gothic", sans-serif;
  color: #2d2d2d;
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 500;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
nav a:hover {
  color: #4f46e5;
}
nav a.active {
  color: #fff;
}

footer {
  padding: 2rem 0;
  border-top: none;
  color: #e0e0e0;
  background: #000;
}
footer a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover {
  color: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-inner p {
  font-size: 0.75rem;
}
@media (max-width: 480px) {
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.footer-links {
  display: flex;
  gap: 1rem;
}
.footer-links a {
  font-size: 0.9rem;
}
@media (max-width: 480px) {
  .footer-links {
    gap: 0.75rem;
  }
}

.hero {
  padding: 4rem 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0;
  letter-spacing: -0.02em;
}
.hero-content p {
  font-size: 1.1rem;
  color: #6b6b6b;
  margin: 0;
}

.page-header {
  position: relative;
  background: #1163a5;
  border: 18px solid #ffd42a;
  border-bottom: none;
  border-radius: 36px 36px 0 0;
  padding: 1rem 3rem;
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  align-items: baseline;
  gap: 1rem;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(#0d4a7a 1px, transparent 1px), linear-gradient(90deg, #0d4a7a 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.page-header h1 {
  position: relative;
  z-index: 1;
  font-family: Futura, "Futura PT", "Century Gothic", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 5vw, 3rem);
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: max-content;
}
.page-header p {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  min-width: 0;
  flex-shrink: 1;
}
.page-header .page-header-updated {
  position: absolute;
  top: 12px;
  right: 20px;
  z-index: 1;
  background: #bf2121;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
}

.news-section {
  padding: 3rem 0;
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .news-cards {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.2s ease;
}
.news-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.news-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.news-card p {
  color: #6b6b6b;
  font-size: 0.9rem;
  line-height: 1.6;
}

.news-card-image {
  aspect-ratio: 16/9;
  background: #1a1a2e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e0e0e0;
  font-size: 0.85rem;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card-image img[src=""], .news-card-image img:not([src]), .news-card-image img[src*="images/news-"] {
  display: none;
}
.news-card-image::after {
  content: attr(data-placeholder);
}

.news-card-content {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.8rem;
  color: #4f46e5;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #1a1a2e;
  border-radius: 12px;
  padding: 2rem;
  color: #e0e0e0;
  border-top: 4px solid #4f46e5;
}
.card:nth-child(2) {
  border-top-color: #7c3aed;
}
.card:nth-child(3) {
  border-top-color: #bf2121;
}
.card:nth-child(4) {
  border-top-color: #16a34a;
}
.card[data-accent=blue] {
  border-top-color: #4f46e5;
}
.card[data-accent=purple] {
  border-top-color: #7c3aed;
}
.card[data-accent=red] {
  border-top-color: #bf2121;
}
.card[data-accent=green] {
  border-top-color: #16a34a;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #fff;
}
.card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e0e0e0;
}
.card ul {
  list-style: none;
  margin-top: 1rem;
}
.card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.card ul li:last-child {
  border-bottom: none;
}
.card ul li a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.2s;
}
.card ul li a:hover {
  color: #fff;
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid #dddddd;
  max-width: 400px;
  margin: 2rem 0;
  background: #dddddd;
}
@media (max-width: 768px) {
  .box-grid {
    max-width: 280px;
  }
}

.box-grid-item {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #dddddd;
  font-size: 0.8rem;
  color: #2d2d2d;
  background: #b0b7bf;
  transition: all 0.2s;
}
.box-grid-item:hover {
  background: #1a1a2e;
  color: #fff;
}

.catalog-section {
  margin-bottom: 2.5rem;
}

.catalog-section-title {
  font-family: "Rockwell", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2d2d2d;
}

.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.article-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.2s;
}
.article-card:hover {
  border-color: #4f46e5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.article-card h3 {
  font-family: "Rockwell", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 0.5rem 0;
}
.article-card p {
  font-size: 0.9rem;
  color: #6b6b6b;
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.article-date {
  font-size: 0.75rem;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.index-card {
  display: block;
  background: #1a1a2e;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: #e0e0e0;
  border-top: 4px solid #4f46e5;
  transition: all 0.2s;
}
.index-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.index-card[data-accent=blue] {
  border-top-color: #4f46e5;
}
.index-card[data-accent=purple] {
  border-top-color: #7c3aed;
}
.index-card[data-accent=red] {
  border-top-color: #bf2121;
}
.index-card[data-accent=green] {
  border-top-color: #16a34a;
}
.index-card h3 {
  font-family: "Rockwell", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.index-card p {
  font-size: 0.9rem;
  color: #e0e0e0;
  margin: 1rem 0;
  line-height: 1.6;
}

.index-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.index-card-count {
  font-size: 0.75rem;
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
}

.index-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.index-card-link svg {
  width: 16px;
  height: 16px;
}

.links-section {
  padding-bottom: 4rem;
}

.links-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #dddddd;
  padding: 1rem;
}
@media (max-width: 768px) {
  .links-toolbar {
    flex-direction: column;
  }
}
.links-toolbar:has(.tagcloud) {
  justify-content: space-between;
}

.view-toggle {
  display: flex;
  gap: 0.15rem;
  flex-shrink: 0;
}

.view-btn {
  width: 28px;
  height: 28px;
  padding: 0.35rem;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #ffffff;
  color: #6b6b6b;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.view-btn svg {
  width: 14px;
  height: 14px;
}
.view-btn:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}
.view-btn.active {
  background: #1a1a2e;
  color: #fff;
  border-color: #1a1a2e;
}

.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
}
@media (max-width: 768px) {
  .tagcloud {
    padding: 0.75rem;
  }
}

.tag-btn {
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border: 1px solid #dddddd;
  border-radius: 20px;
  background: #ffffff;
  color: #6b6b6b;
  cursor: pointer;
  transition: all 0.2s ease;
}
@media (max-width: 768px) {
  .tag-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}
.tag-btn:hover {
  border-color: #4f46e5;
  color: #4f46e5;
}
.tag-btn.active {
  background: #1a1a2e;
  color: #fff;
  border-color: #1a1a2e;
}

.category-card {
  margin-bottom: 2rem;
  overflow: hidden;
  transition: opacity 0.3s ease;
}
.category-card.hidden {
  display: none;
}

.category-header {
  padding: 0.75rem 1rem;
  background: #1a1a1a;
  border-bottom: none;
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .category-header {
    flex-wrap: nowrap;
  }
}

.category-count {
  font-family: "Rockwell", Georgia, serif;
  font-size: 0.75rem;
  color: #ddd;
  margin-left: auto;
  flex-shrink: 0;
}

.category-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.category-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0.5rem 0 0 0;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
  .category-description {
    margin: 0;
  }
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1rem;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .link-cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 0.75rem;
  }
}
@media (max-width: 480px) {
  .link-cards {
    grid-template-columns: 1fr;
  }
}

.links-section[data-view=list] .link-cards {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
.links-section[data-view=list] .link-card {
  flex-direction: row;
  border-radius: 6px;
}
.links-section[data-view=list] .link-thumb {
  width: 60px;
  min-width: 60px;
  height: auto;
}
.links-section[data-view=list] .link-content {
  padding: 0.5rem 0.75rem;
}
.links-section[data-view=list] .link-content h3 {
  font-size: 0.9rem;
}
.links-section[data-view=list] .link-desc {
  display: none;
}
.links-section[data-view=list] .link-arrow {
  display: none;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  text-decoration: none;
  color: #2d2d2d;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.link-card:hover {
  border-color: #4f46e5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.link-card:hover .link-arrow {
  opacity: 1;
  color: #4f46e5;
}
.link-card.hidden {
  display: none;
}

.link-thumb {
  flex-shrink: 0;
  width: 100%;
  height: 120px;
  background: #f8f9fa;
  overflow: hidden;
}
.link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.link-content {
  flex: 1;
  min-width: 0;
  padding: 0.75rem;
}
.link-content h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  line-height: 1.3;
  color: #2d2d2d;
}

.link-domain {
  display: block;
  font-size: 0.75rem;
  color: #6b6b6b;
  opacity: 0.7;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-desc {
  font-size: 0.85rem;
  color: #6b6b6b;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.link-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.link-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: #f8f9fa;
  border-radius: 4px;
  color: #6b6b6b;
  text-transform: lowercase;
}

.link-clicks {
  font-size: 0.7rem;
  color: #6b6b6b;
  opacity: 0.7;
}

.link-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #6b6b6b;
  opacity: 0;
  transition: all 0.2s ease;
  margin: 1rem 1rem 0 0;
}

.games-section {
  padding-bottom: 4rem;
}
.games-section .link-thumb {
  height: auto;
  aspect-ratio: 380/480;
  background: #1a1a1a;
  overflow: hidden;
}
.games-section .link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.games-section[data-view=list] .link-cards {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
.games-section[data-view=list] .game-card {
  flex-direction: row;
  border-radius: 6px;
}
.games-section[data-view=list] .link-thumb {
  width: 76px;
  min-width: 76px;
  height: 96px;
  flex-shrink: 0;
  aspect-ratio: 380/480;
}
.games-section[data-view=list] .link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.games-section[data-view=list] .thumb-placeholder {
  min-height: 100%;
}
.games-section[data-view=list] .link-content {
  padding: 0.5rem 0.75rem;
}
.games-section[data-view=list] .link-content h3 {
  font-size: 0.9rem;
}
.games-section[data-view=list] .link-desc,
.games-section[data-view=list] .game-notes {
  display: none;
}

.type-filter {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.accessory-filter {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-left: auto;
}

.accessory-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.7rem;
  color: #6b6b6b;
  cursor: pointer;
  opacity: 0.6;
}
.accessory-btn.active {
  opacity: 1;
}
.accessory-btn .accessory-icon {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.3rem;
  border-radius: 3px;
  background: #0ea5e9;
  color: #fff;
  text-transform: uppercase;
}

.type-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.7rem;
  color: #6b6b6b;
  cursor: pointer;
  opacity: 0.6;
}
.type-btn.active {
  opacity: 1;
}
.type-btn .game-type {
  margin: 0;
}

.alpha-index {
  margin-bottom: 0;
}
.alpha-index .tag-btn {
  padding: 0.4rem 0.6rem;
  min-width: 32px;
  text-align: center;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

.pagination-btn {
  background: #2d2d2d;
  color: #fff;
  border: none;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}
.pagination-btn:hover:not(:disabled) {
  background: #4f46e5;
}
.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-info {
  font-size: 0.75rem;
  color: #6b6b6b;
}

.pagination-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0 0;
}

.pagination-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-placeholder::after {
  content: "NO IMAGE";
  font-size: 0.65rem;
  color: #555;
  letter-spacing: 0.05em;
}

.game-card {
  cursor: pointer;
}
.game-card:hover {
  transform: none;
}

.game-type {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  background: #6b6b6b;
  color: #fff;
  vertical-align: middle;
  margin-left: 0.35rem;
  text-transform: uppercase;
}

.game-type-m {
  background: #16a34a;
}

.game-type-o {
  background: #4f46e5;
}

.game-type-p {
  background: #d97706;
}

.game-type-pm {
  background: #7c3aed;
}

.game-type-r {
  background: #6b6b6b;
}

.game-type-w {
  background: #dc2626;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #6b6b6b;
  margin-bottom: 0.35rem;
}

.game-year {
  font-weight: 600;
}

.game-programmer {
  opacity: 0.8;
}
.game-programmer::before {
  content: "by ";
}

.game-publisher {
  font-size: 0.75rem;
  color: #6b6b6b;
  opacity: 0.8;
  text-align: right;
}

.game-specs {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #6b6b6b;
  margin-bottom: 0.35rem;
}

.game-notes {
  font-size: 0.8rem;
  font-style: italic;
  color: #6b6b6b;
  margin-top: 0.25rem;
}

.game-updated {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.game-resources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.game-resources .game-year {
  margin-right: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
}

.resource-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  font-size: 0.5rem;
  font-weight: 600;
  padding: 0.25rem 0.35rem;
  background: #e5e7eb;
  color: #6b6b6b;
  border-radius: 3px;
  text-transform: uppercase;
  min-width: 28px;
}
.resource-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.accessory-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  background: #0ea5e9;
  color: #fff;
  border-radius: 3px;
  text-transform: uppercase;
}

.game-link {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b6b6b;
  transition: color 0.2s;
}
.game-link:hover {
  color: #7c3aed;
}
.game-link svg {
  width: 16px;
  height: 16px;
}

.game-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.game-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.game-modal-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  width: 380px;
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.game-modal-card .link-thumb {
  width: 380px;
  height: 480px;
  background: #000;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.game-modal-card .link-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.game-modal-card .link-content {
  padding: 1.25rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.game-modal-card .link-content h3 {
  font-family: "Rockwell", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}
.game-modal-card .link-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b6b6b;
  margin-bottom: 0.75rem;
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.game-modal-card .game-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.game-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.game-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}
.game-modal-close svg {
  width: 18px;
  height: 18px;
}

.btn-small {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  background: #2d2d2d;
  color: #fff;
  border-radius: 6px;
  transition: background 0.2s;
}
.btn-small:hover {
  background: #4f46e5;
}
.btn-small svg {
  width: 14px;
  height: 14px;
}

.about-content {
  max-width: 700px;
}
.about-content p {
  color: #6b6b6b;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}
.about-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.about-content h2:first-of-type {
  margin-top: 0;
}
.about-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.about-content h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.about-content ul, .about-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  color: #6b6b6b;
}
.about-content ul li, .about-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.about-content blockquote {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #4f46e5;
  background: #f8f9fa;
  font-style: italic;
  color: #6b6b6b;
}
.about-content blockquote p {
  margin-bottom: 0;
}
.about-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.about-content .richtext-image {
  margin: 2rem 0;
}
.about-content .richtext-image.left {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
  max-width: 40%;
}
.about-content .richtext-image.right {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
  max-width: 40%;
}
.about-content .richtext-image.full-width {
  width: 100%;
}
.about-content .responsive-object {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 8px;
}
.about-content .responsive-object iframe,
.about-content .responsive-object object,
.about-content .responsive-object embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.about-content hr {
  border: none;
  border-top: 2px solid #dddddd;
  margin: 2.5rem 0;
}
.about-content a {
  color: #4f46e5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.about-content a:hover {
  border-bottom-color: #4f46e5;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}
.article-content p {
  color: #6b6b6b;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}
.article-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article-content h2:first-of-type {
  margin-top: 0;
}
.article-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-content h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.article-content ul, .article-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  color: #6b6b6b;
}
.article-content ul li, .article-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.article-content a {
  color: #4f46e5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.article-content a:hover {
  border-bottom-color: #4f46e5;
}

.article-references {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
}
.article-references h3 {
  font-family: "Rockwell", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}
.article-references ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin: 0;
}
.article-references li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.article-references a {
  color: #3a53a4;
  text-decoration: none;
}
.article-references a:hover {
  text-decoration: underline;
}
.article-references .ref-description {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

.contact-email {
  display: inline-block;
  margin-top: 1rem;
  font-family: "Rockwell", Georgia, serif;
  font-size: 1.1rem;
  color: #4f46e5;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid #4f46e5;
  border-radius: 6px;
  transition: all 0.2s;
}
.contact-email:hover {
  background: #4f46e5;
  color: #fff;
}

.cta-box {
  position: relative;
  margin: 3rem 0;
  padding: 2rem 2.5rem;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  border: none;
}
@media (max-width: 768px) {
  .cta-box {
    padding: 1.5rem;
  }
}

.cta-box-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media (max-width: 768px) {
  .cta-box-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

.cta-box-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .cta-box-content {
    flex-direction: column;
  }
}

.cta-box-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1163a5;
}
.cta-box-icon svg {
  width: 100%;
  height: 100%;
}

.cta-box-text h3 {
  font-family: "Rockwell", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}
.cta-box-text p {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0;
}

.cta-box-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  background: #1163a5;
  border: 6px solid #ffd42a;
  border-radius: 14px;
  transition: all 0.2s ease;
}
.cta-box-button:hover {
  background: #0d4a7a;
}
.cta-box-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/*# sourceMappingURL=main.css.0b57f67bff02.map */
