/* ===========================================================
   JAXBLOCKS.COM — retro 2011 web-2.0 style sheet
   Glossy buttons, blue sky gradients, chunky rounded nav.
   =========================================================== */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #0b3f8a;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: #222;
  font-size: 13px;
}

a { color: #1a5fb4; text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 990px;
  margin: 0 auto;
  background: #e9edf2;
  box-shadow: 0 0 25px rgba(0,0,0,0.55);
  min-height: 100vh;
}

/* ---------- page backdrop (sky gradient like the 2011 shot) --- */
body {
  background: radial-gradient(ellipse at top, #4f9dff 0%, #1c62c9 45%, #0b3f8a 100%);
  background-attachment: fixed;
}

/* ---------- header / hero banner ---------- */
.hero {
  position: relative;
  background: linear-gradient(#3a8ef0, #1660c9 55%, #d9dee5 55%, #d9dee5 100%);
  padding: 14px 16px 0 16px;
  overflow: hidden;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.btn-login-small {
  background: linear-gradient(#fbfcfe, #c7d2e0);
  border: 1px solid #7f92ab;
  border-radius: 4px;
  padding: 6px 14px;
  font-weight: bold;
  font-size: 12px;
  color: #234;
  box-shadow: inset 0 1px 0 #fff;
  cursor: pointer;
}

.btn-playnow {
  display: inline-block;
  background: linear-gradient(#8fd85a, #4f9a1e);
  border: 1px solid #35670f;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  padding: 8px 22px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 3px rgba(0,0,0,0.3);
}
.btn-playnow:hover { text-decoration: none; filter: brightness(1.05); }

.logo-row {
  text-align: center;
  padding: 4px 0 10px 0;
  position: relative;
}

.logo-report {
  font-size: 10px;
  color: #eaf3ff;
  display: block;
  margin-bottom: -6px;
}

.jax-logo {
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-weight: 800;
  font-size: 64px;
  letter-spacing: 1px;
  color: #ffffff;
  -webkit-text-stroke: 3px #c81d1d;
  text-stroke: 3px #c81d1d;
  text-shadow: 0 3px 0 #8f1414, 0 5px 6px rgba(0,0,0,0.4);
  display: inline-block;
  margin: 0;
  transform: rotate(-1deg);
}

.mascots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  padding: 0 6px;
}
.mascots svg { height: 95px; width: auto; }
.mascots .m-left, .mascots .m-right { display: flex; align-items: flex-end; gap: 6px; }

/* ---------- main nav bar ---------- */
.navbar {
  background: linear-gradient(#3a7fdc, #1d57ad);
  border-top: 1px solid #6ba3ef;
  border-bottom: 2px solid #123f80;
  display: flex;
  flex-wrap: wrap;
}
.navbar a {
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  padding: 9px 14px;
  border-right: 1px solid #17529f;
  text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}
.navbar a:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.navbar a.current { background: #e9edf2; color: #1d57ad; text-shadow: none; }

/* ---------- layout grid ---------- */
.content {
  background: #e9edf2;
  padding: 16px;
  display: grid;
  grid-template-columns: 220px 1fr 230px;
  gap: 14px;
}
.content.two-col { grid-template-columns: 1fr 230px; }
.content.single { grid-template-columns: 1fr; }

@media (max-width: 760px) {
  .content, .content.two-col { grid-template-columns: 1fr; }
}

.panel {
  background: #fff;
  border: 1px solid #c3cbd6;
  border-radius: 5px;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.panel h2, .panel h3.panel-head {
  background: linear-gradient(#3d3d3d, #1c1c1c);
  color: #fff;
  font-size: 14px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 5px 5px 0 0;
}
.panel h2.blue, .panel h3.panel-head.blue {
  background: linear-gradient(#3a7fdc, #1d57ad);
}
.panel h2.green, .panel h3.panel-head.green {
  background: linear-gradient(#6cae3e, #3f7d1e);
}
.panel-body { padding: 12px; }

/* login box */
.login-field { margin-bottom: 8px; }
.login-field label { display: block; font-weight: bold; font-size: 11px; margin-bottom: 2px; }
.login-field input {
  width: 100%;
  padding: 5px 6px;
  border: 1px solid #9fb0c3;
  border-radius: 2px;
  background: #fdfdfd;
}
.btn-blue {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(#5f8fd9, #2d5aa8);
  border: 1px solid #1c3f7a;
  color: #fff;
  font-weight: bold;
  padding: 7px 0;
  border-radius: 3px;
  margin-top: 6px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-fb {
  display: block; width: 100%; text-align: center;
  background: #3b5998; color: #fff; font-weight: bold;
  padding: 7px 0; border-radius: 3px; margin-top: 10px;
  border: 1px solid #24365c;
}

/* stat / badge blocks */
.stat-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed #dde2ea; }
.stat-row:last-child { border-bottom: none; }
.stat-cube { width: 22px; height: 22px; flex-shrink: 0; }

/* featured game card */
.featured-game {
  border: 1px solid #c3cbd6;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
}
.featured-game .fg-title {
  background: #f2f4f7;
  padding: 6px 10px;
  font-weight: bold;
  border-bottom: 1px solid #c3cbd6;
  text-align: center;
}
.fg-body { display: flex; }
.fg-thumb { flex: 1; }
.fg-thumb svg { display: block; width: 100%; height: auto; }
.fg-info { width: 150px; padding: 10px; font-size: 11px; border-left: 1px solid #dde2ea; text-align: center; }
.fg-info .fg-stat { margin-bottom: 6px; }
.fg-info .fg-stat b { display: block; color: #444; }

/* generic grid tiles for games/catalog listing */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 600px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
.tile {
  border: 1px solid #c3cbd6;
  border-radius: 4px;
  background: #fbfcfe;
  text-align: center;
  padding: 8px;
}
.tile svg { width: 100%; height: 70px; }
.tile .tile-name { font-weight: bold; font-size: 11px; margin: 6px 0 2px; }
.tile .tile-meta { font-size: 10px; color: #667; }
.tile .price { color: #3f7d1e; font-weight: bold; }

/* list link boxes (forum/news/help) */
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { padding: 6px 0; border-bottom: 1px dashed #dde2ea; }
.link-list li:last-child { border-bottom: none; }
.link-list .arrow { color: #1a5fb4; margin-right: 4px; }

table.data-table { width: 100%; border-collapse: collapse; font-size: 11px; }
table.data-table th {
  background: #eef1f5; text-align: left; padding: 6px 8px; border-bottom: 2px solid #c3cbd6;
}
table.data-table td { padding: 6px 8px; border-bottom: 1px solid #e4e8ee; }
table.data-table tr:hover td { background: #f5f8ff; }

.badge-btn {
  display: inline-block;
  background: linear-gradient(#eef2f8, #cdd7e4);
  border: 1px solid #9fb0c3;
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: bold;
  color: #234;
}

/* ---------- footer ---------- */
.footer {
  background: #e9edf2;
  border-top: 1px solid #c3cbd6;
  padding: 14px 16px 20px;
  text-align: center;
  font-size: 11px;
  color: #556;
}
.footer .flinks a { margin: 0 6px; font-weight: bold; }
.footer .glinks a { margin: 0 5px; }
.footer .fine-print { margin-top: 12px; color: #8894a3; font-size: 10px; line-height: 1.5; }

/* page title bar for inner pages */
.page-title {
  background: linear-gradient(#fff, #eef1f5);
  border: 1px solid #c3cbd6;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: bold;
  color: #1d57ad;
  text-shadow: 0 1px 0 #fff;
}
.page-title small { display: block; font-size: 11px; font-weight: normal; color: #667; margin-top: 2px; }

.pill {
  display: inline-block;
  background: #ffe58a;
  border: 1px solid #d9b13a;
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: bold;
  color: #6a4f00;
}
