/* GameVault 2004 — a fictional early-2000s gaming portal.
   Visual era only: dense three-column layout, metallic silver/red chrome,
   bevelled panels, small Verdana body text. No real IGN assets or text. */

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

body {
  margin: 0;
  padding: 20px 0;
  background-color: #0a0a0f;
  background-image: repeating-linear-gradient(
    45deg,
    rgb(255 255 255 / 2%) 0,
    rgb(255 255 255 / 2%) 2px,
    transparent 2px,
    transparent 10px
  );
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #d6d6e0;
}

a {
  color: #6fb3ff;
}

a:hover {
  color: #a7d1ff;
}

h1,
h2,
h3 {
  font-family: Arial, Verdana, sans-serif;
  color: #d94141;
  margin: 0 0 8px;
}

/* --- page frame --- */

.page {
  width: 960px;
  max-width: 100%;
  margin: 0 auto;
  background: #1b1b22;
  border: 3px solid #000;
  box-shadow: 0 0 24px rgb(0 0 0 / 70%);
}

/* --- header / logo / top nav --- */

.site-header {
  background: linear-gradient(180deg, #f2f2f2 0%, #cfcfd2 35%, #9a9aa0 65%, #6c6c72 100%);
  border-bottom: 4px solid #6e0000;
  box-shadow: inset 0 1px 0 #fff;
  padding: 10px 16px 8px;
}

.logo-bar {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.logo-link {
  text-decoration: none;
}

.logo {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #6e0000;
  text-shadow: 1px 1px 0 #fff;
}

.logo-accent {
  display: inline-block;
  background: #c40000;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 1px 5px;
  margin-left: 4px;
  border: 1px outset #ff7373;
  vertical-align: super;
}

.tagline {
  margin: 0;
  color: #2b2b2b;
  font-style: italic;
  font-size: 11px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 8px;
  padding: 4px 6px;
  background: linear-gradient(180deg, #b30000, #6e0000);
  border-top: 1px solid #ff9d9d;
  border-bottom: 2px solid #3a0000;
}

.top-nav a,
.nav-disabled {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid rgb(255 255 255 / 25%);
}

.top-nav a {
  color: #fff;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  background: rgb(0 0 0 / 25%);
  color: #ffd9d9;
}

.nav-disabled {
  color: #c99;
  font-style: italic;
  font-weight: normal;
}

/* --- three column layout --- */

.layout {
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  grid-template-areas: "left main right";
  gap: 14px;
  padding: 14px;
}

.sidebar-left {
  grid-area: left;
}

.main-content {
  grid-area: main;
  min-width: 0;
}

.sidebar-right {
  grid-area: right;
}

/* --- boxed bevelled panels (shared by sidebars and content) --- */

.panel {
  background: #24242c;
  border: 2px outset #7a7a86;
  box-shadow:
    2px 2px 5px rgb(0 0 0 / 60%),
    inset 0 1px 0 rgb(255 255 255 / 6%);
  margin-bottom: 12px;
}

.panel-title {
  margin: 0;
  background: linear-gradient(180deg, #8a0000, #500000);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 8px;
  border-bottom: 2px solid #300000;
}

.panel-body {
  padding: 8px 10px;
}

.panel ul {
  list-style: square;
  margin: 0;
  padding-left: 18px;
}

.panel li {
  margin-bottom: 4px;
}

.panel.highlight {
  border-color: #ffb84d;
}

.panel.highlight .panel-title {
  background: linear-gradient(180deg, #c47a00, #7a4400);
}

.network-list li {
  color: #9a9aa8;
}

/* --- rankings --- */

.rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rank-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted #444;
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: linear-gradient(180deg, #d9d9de, #8a8a92);
  border: 1px outset #eee;
  color: #1b1b22;
  font-weight: 900;
  font-size: 10px;
  flex-shrink: 0;
}

/* --- ad banner --- */

.ad-banner {
  position: relative;
  border: 1px dashed #888;
  background: repeating-linear-gradient(135deg, #33334a, #33334a 10px, #3d3d57 10px, #3d3d57 20px);
  color: #fd5;
  text-align: center;
  padding: 18px 8px 10px;
  font-weight: bold;
  font-size: 11px;
}

.ad-banner::before {
  content: "ADVERTISEMENT";
  position: absolute;
  top: 3px;
  left: 5px;
  font-size: 8px;
  color: #a0a0a0;
  font-weight: normal;
  letter-spacing: 1px;
}

.ad-banner p {
  margin: 4px 0 0;
  font-size: 10px;
  color: #cfcfe0;
  font-weight: normal;
}

/* --- featured game hero --- */

.hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 14px;
  padding: 10px;
}

.hero-body {
  min-width: 0;
}

.hero-shot {
  height: 160px;
  background: repeating-linear-gradient(45deg, #3a3a55, #3a3a55 8px, #46466a 8px, #46466a 16px);
  border: 2px inset #555;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #9a9ab0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px;
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.card-head h2,
.card-head h3 {
  min-width: 0;
}

.score-badge {
  flex-shrink: 0;
  background: #c40000;
  border: 2px outset #ff7373;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  padding: 2px 10px;
}

.score-badge.small {
  font-size: 13px;
  padding: 1px 6px;
}

.meta {
  color: #9a9aa8;
  font-size: 10px;
  margin: 2px 0 6px;
}

/* --- teaser card grids (home page) --- */

.section-heading {
  margin-top: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.card {
  min-width: 0;
  background: #24242c;
  border: 2px outset #7a7a86;
  box-shadow: 1px 1px 3px rgb(0 0 0 / 50%);
  padding: 8px 10px;
}

.card h3 {
  font-size: 12px;
}

/* --- reviews page --- */

.review-section {
  margin-bottom: 16px;
}

.review-card {
  background: #24242c;
  border: 2px outset #7a7a86;
  box-shadow: 1px 1px 3px rgb(0 0 0 / 50%);
  padding: 10px;
  margin-bottom: 10px;
}

.verdict {
  font-weight: bold;
  color: #e0c060;
}

/* --- news page --- */

.news-item {
  background: #24242c;
  border: 2px outset #7a7a86;
  box-shadow: 1px 1px 3px rgb(0 0 0 / 50%);
  padding: 10px;
  margin-bottom: 10px;
}

/* --- cheats page --- */

.cheat-section {
  background: #24242c;
  border: 2px outset #7a7a86;
  box-shadow: 1px 1px 3px rgb(0 0 0 / 50%);
  padding: 10px;
  margin-bottom: 12px;
}

.cheat-list {
  margin: 8px 0;
}

.cheat-list dt {
  font-weight: bold;
  color: #d9c46a;
  margin-top: 6px;
}

.cheat-list dd {
  margin: 2px 0 0 12px;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  color: #cfcfe0;
}

.tip {
  margin-top: 8px;
  font-size: 11px;
  color: #9fcf9f;
}

/* --- footer --- */

.site-footer {
  background: #141418;
  color: #777;
  text-align: center;
  font-size: 10px;
  padding: 10px;
  border-top: 2px solid #000;
}

/* --- small screens: still usable, even though the desktop layout is the
   authentic one. Stack to a single column, main content first. --- */

@media (width <= 760px) {
  .layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "left"
      "right";
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
