/* =========================================
   PIXELARCADES - RETRO GAMING PORTAL
   ========================================= */

* {
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #383838;
  background-image:
    radial-gradient(circle at 18px 18px, #525252 1px, transparent 2px),
    radial-gradient(circle at 48px 48px, #484848 2px, transparent 3px);
  background-size: 65px 65px;
  color: #263643;
  font: 11px Verdana, Arial, sans-serif;
}

a {
  color: #075a91;
}

a:hover {
  color: #f58216;
}

#site {
  width: 800px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  border: 1px solid #b5b5b5;
}

/* HEADER */

header {
  height: 62px;
  padding: 9px 12px 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font: bold 31px Arial, sans-serif;
  letter-spacing: -2px;
  color: #ff7919;
  text-shadow: 1px 2px #b93f00;
}

.logo span {
  color: #0a9fe7;
  text-shadow: 1px 2px #00649a;
}

.logo b {
  font-size: 15px;
  vertical-align: top;
  color: #ffb500;
}

.tagline {
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #888;
}

.header-right {
  font-size: 9px;
  color: #777;
}

/* NAVIGATION */

.tabs {
  display: flex;
  gap: 4px;
  padding: 0 10px;
}

.tabs a {
  background: linear-gradient(#50c5ff, #058ad3);
  padding: 10px 16px 8px;
  border-radius: 6px 6px 0 0;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #0794d3;
}

.tabs a:nth-child(2) {
  background: linear-gradient(#ffcf35, #ee8e0b);
  border-color: #d7840a;
}

.tabs a:nth-child(3) {
  background: linear-gradient(#96e54b, #53a619);
  border-color: #55a519;
}

.tabs a:nth-child(4) {
  background: linear-gradient(#def6ff, #91d5f7);
  border-color: #079ee9;
}

.tabs a:last-child {
  background: linear-gradient(#e86ae3, #a53c63);
  border-color: #a536a3;
}

nav {
  margin: 0 8px 8px;
  padding: 5px;
  background: linear-gradient(#def6ff, #91d5f7);
  border: 3px solid #079ee9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.navlinks {
  display: flex;
  gap: 0;
  white-space: nowrap;
}

.navlinks a {
  padding: 4px 7px;
  border-right: 1px solid #8dbad3;
  font-size: 10px;
  font-weight: bold;
}

nav form {
  display: flex;
  gap: 3px;
}

input {
  width: 118px;
  height: 22px;
  border: 1px solid #7c9db0;
  font: 10px Verdana;
  padding: 3px;
}

button {
  cursor: pointer;
  border: 1px solid #397eac;
  background: linear-gradient(#fff, #bce3f7);
  font: 10px Verdana;
}

/* MAIN LAYOUT */

main {
  padding: 0 8px 10px;
}

.top-grid {
  display: grid;
  grid-template-columns: 335px 170px 1fr;
  gap: 7px;
}

.panel {
  background: #079dea;
  border-radius: 5px;
  padding: 4px;
}

.panel h2,
.orange-panel h2 {
  color: #fff;
  font: bold 14px Arial;
  margin: 0 0 5px;
}

/* LATEST GAMES */

.latest {
  display: grid;
  grid-template-columns: 1fr 72px;
  grid-template-rows: 20px 1fr;
  gap: 4px;
}

.latest h2 {
  grid-column: 1 / -1;
}

.latest-inner {
  background: white;
  padding: 4px;
  border-radius: 3px;
}

/* Full-width featured Star Catcher */


/* Full-width Star Catcher feature */

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

.latest-inner {
  grid-column: 1 / -1;
}

#latest-list {
  display: none;
}

#latest-list:empty {
  display: none;
}

/* Featured game artwork */

.hero-art {
  height: 151px;
  background: linear-gradient(
    135deg,
    #dff7ff,
    #9ac4ef 50%,
    #d2e6ff
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #9ebbd0;
  text-align: center;
}

.hero-icon {
  font-size: 35px;
}

.hero-art strong {
  font: bold italic 34px/29px Arial;
  color: #1562a5;
  text-shadow: 2px 2px #fff;
}

.hero-art small {
  font: bold 9px Arial;
  color: #306ca1;
  margin-top: 8px;
}

.hero-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 5px 2px;
}

.hero-caption p {
  font-size: 9px;
  margin: 3px 0;
  line-height: 1.4;
}

.play {
  display: inline-block;
  background: #ff9616;
  color: white;
  text-decoration: none;
  padding: 6px;
  border-radius: 12px;
  white-space: nowrap;
  font-weight: bold;
}

.mini-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-side .game-tile {
  height: 77px;
}

/* HOT GAMES */

.hot .thumb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

/* GAME TILES */

.game-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f5fcff;
  border: 2px solid #a5d9f0;
  border-radius: 3px;
  padding: 4px 2px;
  text-align: center;
  min-height: 77px;
  text-decoration: none;
}

.game-tile .emoji {
  font-size: 29px;
  line-height: 1.3;
}

.game-tile .name {
  font-size: 9px;
  text-decoration: underline;
  color: #075a91;
}

/* SIDEBAR */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ad-placeholder {
  height: 211px;
  border: 2px solid #d0eaf8;
  background: linear-gradient(#fff, #eaf7ff);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #2e8cc2;
  font-size: 16px;
  font-weight: bold;
}

.ad-placeholder strong {
  font-size: 12px;
}

.ad-placeholder small {
  font-size: 10px;
  color: #7590a3;
}

/* BANNERS */

.banner {
  padding: 10px;
  text-align: center;
  border: 3px solid #fff;
  outline: 2px solid #079dea;
  border-radius: 3px;
  font-weight: bold;
  font-size: 13px;
}

.green {
  background: #79c92e;
  color: white;
}

.blue {
  background: #087cc5;
  color: white;
  margin-top: 8px;
}

/* CONTENT GRID */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 264px;
  gap: 8px;
  margin-top: 8px;
}

/* WINTER ARCADE */

.season-banner {
  height: 64px;
  background: linear-gradient(
    110deg,
    #e3f7ff,
    #91d8fb,
    #fce2ee
  );
  border: 2px solid #c5e9fb;
  padding: 12px 8px;
  text-align: center;
  color: #127eaf;
  font-size: 15px;
}

.season-banner strong {
  font: bold 22px Georgia;
}

.season-banner span {
  font-size: 9px;
  color: #d34457;
  font-weight: bold;
}

/* CATEGORY SECTIONS */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 7px;
}

.category-card {
  background: #f7fcff;
  border: 2px solid #c2e9f9;
  border-radius: 4px;
  padding: 5px;
}

.category-card h3 {
  font: bold 11px Arial;
  margin: 0 0 5px;
  background: #bde9fc;
  border: 1px solid #a0d1e5;
  padding: 3px 5px;
  border-radius: 3px;
}

.category-card .tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.category-card .game-tile {
  min-height: 78px;
}

.category-card ul {
  padding: 0;
  margin: 5px 0 0;
  list-style: none;
}

.category-card li {
  margin: 3px 0;
}

.category-card li:before {
  content: "▶";
  color: #ff9c14;
  margin-right: 5px;
}

.category-card li a {
  font-size: 9px;
}

/* ORANGE PANELS */

.orange-panel {
  border: 3px solid #ffb63d;
  border-radius: 5px;
  margin-bottom: 7px;
  min-height: 75px;
  background: #fff;
  padding: 4px;
}

.orange-panel h2 {
  background: #ff9f12;
  padding: 4px;
  margin: -4px -4px 6px;
  font-size: 12px;
}

.orange-panel ol {
  margin: 0;
  padding-left: 24px;
  line-height: 1.65;
}

.orange-panel p {
  font-size: 10px;
  line-height: 1.5;
  padding: 2px;
}

/* GAME DIRECTORY */

.directory {
  margin-top: 11px;
  border: 3px solid #d6f0ff;
  border-radius: 4px;
  padding: 5px;
}

.directory h2 {
  background: #079de8;
  color: #fff;
  margin: 0 0 5px;
  padding: 4px;
  font: bold 11px Arial;
  border-radius: 3px;
}

.directory h2 span {
  margin-left: 110px;
}

.directory-layout {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 8px;
}

.directory-cats {
  background: #e9f7ff;
  padding: 4px;
}

.directory-cats a {
  display: block;
  padding: 4px;
  background: #c6eafa;
  border-bottom: 2px solid #fff;
  font-size: 10px;
}

.directory-games {
  columns: 5;
  column-gap: 10px;
  min-height: 200px;
}

.directory-games a {
  display: block;
  break-inside: avoid;
  font-size: 9px;
  margin-bottom: 4px;
  overflow-wrap: break-word;
}

/* SEARCH */

.search-note {
  color: #777;
  font-size: 10px;
}

/* FOOTER */

footer {
  background: #383838;
  color: #eee;
  text-align: center;
  padding: 12px;
  margin-top: 5px;
  font-size: 9px;
  line-height: 1.8;
}

.languages {
  border-bottom: 1px dashed #666;
  text-align: left;
  padding-bottom: 7px;
  font-weight: bold;
}

.footer-links a {
  color: #fff;
}

footer small {
  color: #bbb;
}