/* Modern public game information and ranking page. Scoped to avoid legacy/admin regressions. */
.public-game-page {
  --game-bg: #06131f;
  --game-surface: #0b1d2c;
  --game-surface-soft: #102638;
  --game-line: rgba(151, 181, 204, 0.16);
  --game-text: #f4f9fc;
  --game-muted: #9ab0c1;
  --game-cyan: #23b8df;
  --game-green: #41d69b;
  --game-gold: #ffbe55;
  --game-danger: #ff6e7d;
  min-width: 0;
  color: var(--game-text);
  background-color: var(--game-bg) !important;
  overflow-x: hidden;
}

.public-game-page *,
.public-game-page *::before,
.public-game-page *::after {
  box-sizing: border-box;
}

.public-game-page #container,
.public-game-page main,
.public-game-page section,
.public-game-page .container,
.public-game-page .row {
  min-width: 0;
}

body.public-game-page #container.game-site-shell {
  max-width: none;
  background: var(--game-bg) !important;
  box-shadow: none;
  opacity: 1;
}

.public-game-page main {
  background: var(--game-bg);
}

.public-game-page a {
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.public-game-page .game-site-nav {
  position: relative;
  z-index: 50;
  margin: 0;
  border: 0;
  background: transparent;
}

.public-game-page .game-site-nav .nav-list-container {
  min-height: 76px;
  background: rgba(7, 23, 36, .94) !important;
  border-bottom: 1px solid rgba(126, 203, 225, .15);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.public-game-page .game-site-nav .navbar-header,
.public-game-page .game-site-nav .navbar-collapse {
  min-height: 76px;
}

.public-game-page .game-site-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 76px;
  padding: 0 15px;
  color: #fff !important;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.55px;
  text-shadow: none;
}

.public-game-page .game-site-nav .navbar-brand::before {
  display: none;
}

.game-brand-pulse {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 2px solid #a9ffe0;
  border-radius: 50%;
  background: var(--game-green);
  box-shadow: 0 0 0 5px rgba(65, 214, 155, .12), 0 0 18px rgba(65, 214, 155, .8);
}

.game-brand-pulse::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(65, 214, 155, .45);
  border-radius: inherit;
  animation: gamePulse 2.2s ease-out infinite;
}

.public-game-page .game-nav-links {
  float: right !important;
}

.public-game-page .game-nav-links > li > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 76px;
  padding: 0 15px;
  color: #b7c7d3 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

.public-game-page .game-nav-links > li > a:hover,
.public-game-page .game-nav-links > li > a:focus,
.public-game-page .game-nav-links > li > a.active {
  color: #fff !important;
  background: transparent !important;
}

.public-game-page .game-nav-links > li > a.active::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 17px;
  left: 15px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--game-cyan), var(--game-green));
  box-shadow: 0 0 14px rgba(35, 184, 223, .55);
}

.public-game-page .game-nav-signup > a {
  min-height: 42px !important;
  margin: 17px 0 17px 10px;
  padding: 0 18px !important;
  border: 1px solid rgba(65, 214, 155, .45);
  border-radius: 12px;
  color: #eafff7 !important;
  background: rgba(65, 214, 155, .1) !important;
}

.public-game-page .game-nav-signup > a:hover {
  transform: translateY(-1px);
  border-color: var(--game-green);
  background: rgba(65, 214, 155, .18) !important;
}

.public-game-page .game-category-menu .dropdown-menu {
  min-width: 210px;
  padding: 9px;
  border: 1px solid var(--game-line);
  border-radius: 15px;
  background: rgba(9, 27, 42, .98);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .36);
}

.public-game-page .game-category-menu .dropdown-menu a {
  padding: 9px 12px;
  border-radius: 9px;
  color: #bfd0dc;
}

.public-game-page .game-category-menu .dropdown-menu a:hover,
.public-game-page .game-category-menu .dropdown-menu a:focus {
  color: #fff;
  background: rgba(35, 184, 223, .12);
}

.public-game-page .game-ticker {
  position: relative;
  z-index: 12;
  padding: 0;
  background: #081827;
  border-bottom: 1px solid rgba(146, 177, 199, .1);
}

.public-game-page .game-ticker .ticker-news-box {
  height: 44px;
  margin: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.public-game-page .game-ticker .ticker-wrapper.has-js {
  position: relative;
  width: calc(100% - 180px);
  height: 44px;
  margin: 0 0 0 180px;
}

.public-game-page .game-ticker .ticker {
  width: calc(100% - 78px) !important;
  max-width: none;
  height: 44px;
}

.public-game-page .game-ticker .ticker-content {
  padding-top: 14px;
}

.public-game-page .game-ticker .ticker-controls {
  position: absolute;
  top: 10px;
  right: 0;
  margin: 0;
}

.public-game-page .game-ticker .ticker-swipe,
.public-game-page .game-ticker .ticker-swipe span {
  background: #081827 !important;
}

.public-game-page .game-ticker .breaking-news {
  height: 44px;
  padding: 13px 17px;
  color: #071724;
  background: linear-gradient(135deg, var(--game-green), #83ecc2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.public-game-page .game-ticker .breaking-news::after {
  background: #83ecc2 !important;
}

.public-game-page .game-ticker .new-news {
  color: var(--game-cyan);
}

.public-game-page .game-ticker .news-item,
.public-game-page .game-ticker .news-item a,
.public-game-page .game-ticker .time-news {
  color: #adc0ce !important;
}

.game-hero {
  position: relative;
  isolation: isolate;
  padding: 82px 0 92px;
  background:
    linear-gradient(180deg, rgba(5, 18, 29, .2), rgba(5, 18, 29, .93)),
    radial-gradient(circle at 78% 35%, rgba(35, 184, 223, .16), transparent 31%),
    linear-gradient(135deg, #071724 0%, #0a2031 52%, #071724 100%);
  overflow: hidden;
}

.game-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .3;
  background-image:
    linear-gradient(rgba(125, 194, 215, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 194, 215, .07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 94%);
}

.game-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(5px);
  pointer-events: none;
}

.game-orb-one {
  top: 10%;
  right: -130px;
  width: 380px;
  height: 380px;
  background: rgba(35, 184, 223, .11);
}

.game-orb-two {
  bottom: -150px;
  left: -100px;
  width: 310px;
  height: 310px;
  background: rgba(65, 214, 155, .08);
}

.game-hero-grid {
  display: flex;
  align-items: center;
}

.game-hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 8px;
}

.game-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  padding: 8px 13px;
  border: 1px solid rgba(65, 214, 155, .24);
  border-radius: 999px;
  color: #9ff2cf;
  background: rgba(65, 214, 155, .08);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.game-live-badge > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--game-green);
  box-shadow: 0 0 0 5px rgba(65, 214, 155, .1), 0 0 12px rgba(65, 214, 155, .8);
}

.game-live-badge.is-maintenance {
  border-color: rgba(255, 190, 85, .25);
  color: #ffd58f;
  background: rgba(255, 190, 85, .08);
}

.game-live-badge.is-maintenance > span {
  background: var(--game-gold);
  box-shadow: 0 0 0 5px rgba(255, 190, 85, .1), 0 0 12px rgba(255, 190, 85, .65);
}

.game-hero h1 {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--game-text);
  font-size: clamp(40px, 4.7vw, 68px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.game-hero h1 span {
  color: transparent;
  background: linear-gradient(92deg, #47cdec 0%, #5ee4aa 72%);
  -webkit-background-clip: text;
  background-clip: text;
}

.game-hero-copy > p {
  max-width: 650px;
  margin: 0 0 29px;
  color: #adc0ce;
  font-size: 17px;
  line-height: 1.75;
}

.game-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.game-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
}

.game-btn-primary {
  color: #041a19 !important;
  background: linear-gradient(135deg, #45dea5, #2ac2d9);
  box-shadow: 0 14px 35px rgba(37, 194, 178, .22);
}

.game-btn-primary:hover,
.game-btn-primary:focus {
  color: #041a19 !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(37, 194, 178, .32);
}

.game-btn-secondary {
  border-color: rgba(165, 194, 213, .2);
  color: #e9f5fb !important;
  background: rgba(255, 255, 255, .045);
}

.game-btn-secondary:hover,
.game-btn-secondary:focus {
  border-color: rgba(35, 184, 223, .5);
  color: #fff !important;
  background: rgba(35, 184, 223, .1);
  transform: translateY(-2px);
}

.game-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 20px;
  color: #91a8b8;
  font-size: 12px;
  font-weight: 700;
}

.game-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.game-trust-list i {
  color: var(--game-green);
}

.game-hero-visual {
  position: relative;
  min-height: 400px;
}

.game-hero-visual > img {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(112%, 590px);
  height: auto;
  transform: translate(-50%, -49%);
  filter: drop-shadow(0 32px 38px rgba(0, 0, 0, .38));
  animation: gameRigFloat 5.6s ease-in-out infinite;
}

.game-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 330px;
  height: 330px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 201, 210, .27), rgba(39, 174, 205, .06) 52%, transparent 72%);
  filter: blur(7px);
}

.game-float-card {
  position: absolute;
  z-index: 4;
  display: grid;
  grid-template-columns: 34px auto;
  grid-template-rows: auto auto;
  min-width: 128px;
  padding: 12px 15px;
  border: 1px solid rgba(178, 215, 229, .19);
  border-radius: 15px;
  background: rgba(9, 29, 44, .84);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.game-float-card i {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--game-green);
  font-size: 20px;
}

.game-float-card strong {
  color: #fff;
  font-size: 14px;
}

.game-float-card small {
  color: #91a7b7;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.game-float-production {
  top: 13%;
  left: -2%;
}

.game-float-market {
  right: -2%;
  bottom: 11%;
}

.game-metrics {
  position: relative;
  z-index: 6;
  margin-top: -34px;
  background: linear-gradient(to bottom, transparent 0 34px, var(--game-bg) 34px 100%);
}

.game-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.game-metric-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(157, 194, 214, .16);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16, 42, 60, .98), rgba(9, 28, 43, .98));
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.game-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(67, 215, 174, .24);
  border-radius: 13px;
  color: var(--game-green);
  background: rgba(65, 214, 155, .09);
  font-size: 17px;
}

.game-metric-card div {
  min-width: 0;
}

.game-metric-card strong,
.game-metric-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-metric-card strong {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.game-metric-card small {
  margin-top: 3px;
  color: #8fa5b5;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.game-content-section {
  padding: 92px 0 100px;
  background:
    radial-gradient(circle at 8% 28%, rgba(30, 170, 207, .06), transparent 25%),
    #06131f;
}

.game-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}

.game-section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--game-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}

.game-section-heading h2 {
  margin: 0 0 7px;
  color: #f6fbfe;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.game-section-heading p {
  margin: 0;
  color: #8ea5b6;
  font-size: 14px;
}

.game-ranking-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 190, 85, .24);
  border-radius: 12px;
  color: #ffd58e;
  background: rgba(255, 190, 85, .08);
  font-size: 12px;
  font-weight: 800;
}

.game-main-grid {
  display: flex;
  align-items: flex-start;
}

.game-panel {
  overflow: hidden;
  border: 1px solid var(--game-line);
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(14, 38, 56, .95), rgba(8, 25, 39, .97));
  box-shadow: 0 24px 65px rgba(0, 0, 0, .24);
}

.game-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.game-rank-table {
  width: 100%;
  min-width: 650px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: auto;
}

.game-rank-table thead {
  background: rgba(255, 255, 255, .025);
}

.game-rank-table th {
  padding: 18px 15px;
  border: 0;
  border-bottom: 1px solid var(--game-line);
  color: #7892a6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.game-rank-table th:first-child,
.game-rank-table td:first-child {
  width: 76px;
  padding-left: 22px;
}

.game-rank-table th:last-child,
.game-rank-table td:last-child {
  padding-right: 22px;
  text-align: right;
}

.game-rank-table td {
  padding: 14px 15px;
  border: 0;
  border-bottom: 1px solid rgba(151, 181, 204, .09);
  color: #c4d4df;
  font-size: 13px;
  vertical-align: middle;
}

.game-rank-table tbody tr {
  transition: background-color .2s ease;
}

.game-rank-table tbody tr:hover {
  background: rgba(35, 184, 223, .045);
}

.game-rank-table tbody tr:last-child td {
  border-bottom: 0;
}

.game-rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #7890a2;
  background: rgba(255, 255, 255, .035);
  font-weight: 800;
}

.game-rank-table tr.is-top-1 .game-rank-number {
  color: #513500;
  background: linear-gradient(135deg, #ffe29b, #ffb543);
  box-shadow: 0 7px 18px rgba(255, 187, 69, .18);
}

.game-rank-table tr.is-top-2 .game-rank-number {
  color: #29343c;
  background: linear-gradient(135deg, #f3f8fa, #a8bac5);
}

.game-rank-table tr.is-top-3 .game-rank-number {
  color: #3e2011;
  background: linear-gradient(135deg, #eaae7e, #b86e42);
}

.game-player {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.game-player-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(35, 184, 223, .22);
  border-radius: 12px;
  color: #78dcf1;
  background: rgba(35, 184, 223, .09);
  font-weight: 900;
}

.game-player strong {
  max-width: 180px;
  overflow: hidden;
  color: #f2f8fb;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-level {
  color: #74e2bb;
  font-size: 12px;
}

.game-points {
  color: #e6f0f5;
  font-weight: 800;
  white-space: nowrap;
}

.game-points small {
  color: #7e96a8;
  font-size: 10px;
  font-weight: 700;
}

.game-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .03em;
  white-space: nowrap;
}

.game-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.game-status.is-online {
  color: #8bedca;
  background: rgba(65, 214, 155, .09);
}

.game-status.is-online i {
  background: var(--game-green);
  box-shadow: 0 0 8px rgba(65, 214, 155, .7);
}

.game-status.is-offline {
  color: #91a5b4;
  background: rgba(147, 169, 183, .07);
}

.game-status.is-offline i {
  background: #738a9a;
}

.game-sidebar {
  min-width: 0;
}

.game-info-panel {
  padding: 23px;
}

.game-panel-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--game-line);
}

.game-panel-title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid rgba(35, 184, 223, .24);
  border-radius: 14px;
  color: var(--game-cyan);
  background: rgba(35, 184, 223, .08);
  font-size: 18px;
}

.game-panel-title small {
  display: block;
  margin-bottom: 3px;
  color: var(--game-green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.game-panel-title h2 {
  margin: 0;
  color: #f4f9fc;
  font-size: 20px;
  font-weight: 900;
}

.game-info-list {
  display: grid;
  gap: 8px;
}

.game-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.game-info-item:hover {
  border-color: rgba(35, 184, 223, .13);
  background: rgba(35, 184, 223, .045);
  transform: translateX(2px);
}

.game-info-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border-radius: 10px;
  color: var(--game-green);
  background: rgba(65, 214, 155, .08);
}

.game-info-item > div {
  min-width: 0;
}

.game-info-item small,
.game-info-item strong {
  display: block;
}

.game-info-item small {
  margin-bottom: 3px;
  color: #7891a4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.game-info-item strong,
.game-info-item strong b {
  color: #dce9f0 !important;
  font-size: 12px;
  font-weight: 800;
}

.game-panel-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 47px;
  margin-top: 17px;
  padding: 0 16px;
  border-radius: 12px;
  color: #061a1a !important;
  background: linear-gradient(135deg, #45dda6, #2ac2d8);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
}

.game-panel-cta:hover,
.game-panel-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 194, 178, .2);
}

.game-advertisement {
  position: relative;
  max-width: 100%;
  margin-top: 18px;
  padding: 28px 12px 12px;
  border: 1px solid var(--game-line);
  border-radius: 17px;
  background: rgba(9, 28, 43, .78);
  overflow: hidden;
}

.game-advertisement img,
.game-advertisement iframe,
.game-advertisement ins {
  max-width: 100% !important;
}

.game-ad-content {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.game-ad-label {
  position: absolute;
  top: 8px;
  left: 12px;
  color: #60798c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.game-cta-section {
  padding: 0 0 90px;
  background: #06131f;
}

.game-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 42px;
  border: 1px solid rgba(69, 221, 166, .19);
  border-radius: 23px;
  background:
    radial-gradient(circle at 90% 20%, rgba(35, 184, 223, .15), transparent 35%),
    linear-gradient(135deg, #0e2a3d, #0a1e2e);
  box-shadow: 0 25px 65px rgba(0, 0, 0, .22);
  overflow: hidden;
}

.game-cta::after {
  content: "";
  position: absolute;
  top: -90px;
  right: 20%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(72, 215, 185, .14);
  border-radius: 50%;
}

.game-cta > div {
  position: relative;
  z-index: 2;
}

.game-cta > div > span {
  display: block;
  margin-bottom: 8px;
  color: var(--game-green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.game-cta h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.025em;
}

.game-cta p {
  margin: 0;
  color: #91a8b8;
  font-size: 13px;
}

.game-cta .game-btn {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.public-game-page footer {
  margin: 0;
}

@keyframes gamePulse {
  0% { transform: scale(.8); opacity: .8; }
  75%, 100% { transform: scale(1.55); opacity: 0; }
}

@keyframes gameRigFloat {
  0%, 100% { transform: translate(-50%, -49%); }
  50% { transform: translate(-50%, -52%); }
}

@media (max-width: 1199px) {
  .public-game-page .game-nav-links > li > a {
    padding-right: 10px !important;
    padding-left: 10px !important;
    font-size: 12px;
  }

  .game-float-market {
    right: 0;
  }

  .game-float-production {
    left: 0;
  }
}

@media (max-width: 991px) {
  .public-game-page .game-site-nav .navbar-header {
    float: none;
  }

  .public-game-page .game-site-nav .navbar-toggle {
    display: block;
    width: 44px;
    height: 44px;
    margin: 16px 15px 16px 0;
    padding: 12px 10px;
    border: 1px solid rgba(171, 204, 221, .2);
    border-radius: 13px;
    background: rgba(255, 255, 255, .045);
  }

  .public-game-page .game-site-nav .navbar-toggle .icon-bar {
    width: 21px;
    height: 2px;
    margin: 4px auto;
    border-radius: 4px;
    background: #d5e8f1;
  }

  .public-game-page .game-site-nav .navbar-collapse.collapse {
    display: none !important;
  }

  .public-game-page .game-site-nav .navbar-collapse.collapse.in {
    display: block !important;
    overflow-y: auto !important;
  }

  .public-game-page .game-site-nav .navbar-collapse {
    float: none;
    width: auto;
    max-height: calc(100vh - 76px);
    margin: 0 -15px;
    padding: 9px 15px 16px;
    border: 0;
    border-top: 1px solid rgba(151, 181, 204, .12);
    background: rgba(6, 21, 33, .98);
    box-shadow: none;
  }

  .public-game-page .game-nav-links {
    float: none !important;
    margin: 0 !important;
  }

  .public-game-page .game-nav-links > li {
    float: none;
  }

  .public-game-page .game-nav-links > li > a {
    min-height: 44px;
    padding: 0 13px !important;
    border-radius: 10px;
  }

  .public-game-page .game-nav-links > li > a.active {
    background: rgba(35, 184, 223, .08) !important;
  }

  .public-game-page .game-site-nav .game-nav-links > li > a::before {
    display: none;
  }

  .public-game-page .game-nav-links > li > a.active::after {
    top: 11px;
    right: auto;
    bottom: 11px;
    left: 0;
    width: 2px;
    height: auto;
  }

  .public-game-page .game-nav-signup > a {
    min-height: 44px !important;
    margin: 7px 0 0;
  }

  .public-game-page .game-category-menu .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 2px 0 7px;
    border: 0;
    background: rgba(255, 255, 255, .025);
    box-shadow: none;
  }

  .game-hero {
    padding: 66px 0 80px;
  }

  .game-hero-visual {
    min-height: 330px;
  }

  .game-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-game-page .game-main-grid {
    display: block;
  }

  .public-game-page .game-main-grid > [class*="col-"] {
    float: none;
    width: 100%;
  }

  .game-ranking-panel {
    margin-bottom: 20px;
  }

  .game-cta {
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .public-game-page .game-site-nav .nav-list-container,
  .public-game-page .game-site-nav .navbar-header,
  .public-game-page .game-site-nav .navbar-collapse {
    min-height: 66px;
  }

  .public-game-page .game-site-nav .navbar-brand {
    height: 66px;
    padding-left: 17px;
    font-size: 22px;
  }

  .public-game-page .game-site-nav .navbar-toggle {
    width: 44px;
    height: 44px;
    margin: 11px 15px 11px 0;
    padding: 12px 10px;
    border: 1px solid rgba(171, 204, 221, .2);
    border-radius: 13px;
    background: rgba(255, 255, 255, .045);
  }

  .public-game-page .game-site-nav .navbar-toggle .icon-bar {
    width: 21px;
    height: 2px;
    margin: 4px auto;
    border-radius: 4px;
    background: #d5e8f1;
  }

  .public-game-page .game-site-nav .navbar-collapse {
    max-height: calc(100vh - 66px);
    margin: 0 -15px;
    padding: 9px 15px 16px;
    border: 0;
    border-top: 1px solid rgba(151, 181, 204, .12);
    background: rgba(6, 21, 33, .98);
    box-shadow: none;
    overflow-y: auto;
  }

  .public-game-page .game-nav-links {
    float: none !important;
    margin: 0 !important;
  }

  .public-game-page .game-nav-links > li > a {
    min-height: 44px;
    padding: 0 13px !important;
    border-radius: 10px;
  }

  .public-game-page .game-nav-links > li > a.active {
    background: rgba(35, 184, 223, .08) !important;
  }

  .public-game-page .game-nav-links > li > a.active::after {
    top: 11px;
    right: auto;
    bottom: 11px;
    left: 0;
    width: 2px;
    height: auto;
  }

  .public-game-page .game-nav-signup > a {
    min-height: 44px !important;
    margin: 7px 0 0;
  }

  .public-game-page .game-category-menu .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 2px 0 7px;
    border: 0;
    background: rgba(255, 255, 255, .025);
    box-shadow: none;
  }

  .public-game-page .game-ticker .container {
    padding: 0;
  }

  .public-game-page .game-ticker .breaking-news {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 9px;
  }

  .game-hero {
    padding: 48px 0 68px;
  }

  .game-hero-grid,
  .game-main-grid {
    display: block;
  }

  .game-hero-copy {
    text-align: center;
  }

  .game-hero h1 {
    font-size: clamp(37px, 11vw, 52px);
    line-height: 1.06;
  }

  .game-hero-copy > p {
    margin-right: auto;
    margin-left: auto;
    font-size: 15px;
    line-height: 1.65;
  }

  .game-hero-actions,
  .game-trust-list {
    justify-content: center;
  }

  .game-hero-visual {
    width: min(100%, 470px);
    min-height: 300px;
    margin: 30px auto -20px;
  }

  .game-hero-visual > img {
    width: min(106%, 500px);
  }

  .game-float-card {
    transform: scale(.9);
  }

  .game-float-production {
    left: 1%;
  }

  .game-float-market {
    right: 1%;
  }

  .game-metrics {
    margin-top: -26px;
    background: linear-gradient(to bottom, transparent 0 26px, var(--game-bg) 26px 100%);
  }

  .game-content-section {
    padding: 72px 0 76px;
  }

  .game-section-heading {
    align-items: center;
  }

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

  .game-rank-table {
    min-width: 620px;
  }

  .game-cta-section {
    padding-bottom: 68px;
  }

  .game-cta {
    display: block;
    padding: 30px 25px;
    text-align: center;
  }

  .game-cta h2 {
    font-size: 25px;
  }

  .game-cta .game-btn {
    width: 100%;
    margin-top: 22px;
  }
}

@media (max-width: 540px) {
  .game-hero {
    padding-top: 40px;
  }

  .game-live-badge {
    margin-bottom: 18px;
  }

  .game-hero h1 {
    font-size: 38px;
  }

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

  .game-btn {
    width: 100%;
  }

  .game-trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    text-align: left;
  }

  .game-trust-list span:last-child {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .game-hero-visual {
    min-height: 250px;
  }

  .game-float-card {
    min-width: 108px;
    padding: 9px 11px;
    transform: scale(.82);
  }

  .game-float-production {
    top: 5%;
    left: -5%;
  }

  .game-float-market {
    right: -5%;
    bottom: 4%;
  }

  .game-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .game-metric-card {
    display: block;
    padding: 15px;
    text-align: center;
  }

  .game-metric-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 9px;
  }

  .game-metric-card strong {
    font-size: 18px;
  }

  .game-metric-card small {
    font-size: 9px;
  }

  .game-section-heading {
    display: block;
  }

  .game-ranking-label {
    margin-top: 15px;
  }

  .game-panel {
    border-radius: 17px;
  }

  .game-rank-table {
    min-width: 0;
    table-layout: fixed;
  }

  .game-rank-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
  }

  .game-rank-table,
  .game-rank-table tbody,
  .game-rank-table tr,
  .game-rank-table td {
    display: block;
    width: 100%;
  }

  .game-rank-table tr {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    grid-template-areas:
      "rank player status"
      "rank level points";
    align-items: center;
    gap: 8px 10px;
    padding: 14px;
    border-bottom: 1px solid rgba(151, 181, 204, .1);
  }

  .game-rank-table tr:last-child {
    border-bottom: 0;
  }

  .game-rank-table td,
  .game-rank-table td:first-child,
  .game-rank-table td:last-child {
    width: auto;
    padding: 0;
    border: 0;
    text-align: left;
  }

  .game-rank-table td:nth-child(1) { grid-area: rank; }
  .game-rank-table td:nth-child(2) { grid-area: player; min-width: 0; }
  .game-rank-table td:nth-child(3) { grid-area: level; }
  .game-rank-table td:nth-child(4) { grid-area: points; text-align: right; }
  .game-rank-table td:nth-child(5) { grid-area: status; text-align: right; }

  .game-rank-table td::before {
    display: none;
  }

  .game-rank-number {
    width: 38px;
    height: 38px;
  }

  .game-player-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .game-player strong {
    max-width: 120px;
  }

  .game-level,
  .game-points {
    font-size: 10px;
  }

  .game-status {
    padding: 5px 7px;
    font-size: 8px;
  }

  .game-info-panel {
    padding: 19px;
  }

  .game-cta {
    padding: 27px 20px;
  }

  .public-game-page #container > footer .footer-widgets-part > .row {
    grid-template-columns: 1fr;
  }

  .public-game-page #container > footer .footer-widgets-part > .row > .col-md-6 {
    grid-column: auto;
  }
}

@media (max-width: 360px) {
  .game-hero h1 {
    font-size: 34px;
  }

  .game-trust-list {
    grid-template-columns: 1fr;
  }

  .game-trust-list span,
  .game-trust-list span:last-child {
    grid-column: auto;
    justify-content: center;
  }

  .game-metrics-grid {
    grid-template-columns: 1fr;
  }

  .game-rank-table tr {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas:
      "rank player"
      "rank level"
      "status points";
  }

  .game-rank-table td:nth-child(5) {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-game-page *,
  .public-game-page *::before,
  .public-game-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
