body { padding: 0; margin: 0 }
#gameContainer { position: absolute }
#gameContainer, #unity-canvas {
    position:absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    width: 100%!important;
    height:100%!important;
}
#unity-canvas {
    background: url(backgroundTexture.png);
    /*z-index: -5;*/
}
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('webgl-logo.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
#loadingText{text-align: center;margin-top: 10px;font-size: 2em;color: #DDD;}
@keyframes spin {0% { transform: rotate(0deg); }100% { transform: rotate(360deg); }}
.spinner {border: 6px solid #f3f3f3;border-top: 6px solid #3498db;border-radius: 50%;width: 60px;height: 60px;animation: spin 1s linear infinite;margin: 0 auto;}

.webgl-content .footer .bug,
.webgl-content .footer .category,
.webgl-content .footer .fullscreen,
.webgl-content .footer .leaderboard,
.webgl-content .footer .discord {
  visibility: visible;
}
.webgl-content .footer .leaderboard.active,
  .webgl-content .footer .discord.active {
  background-color: #0d95ce;
}
.webgl-content {
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
}
.webgl-content .footer {
  width: 100%;
}
#prerollPlaceholder,
  #vipFreePassPrerollPlaceholder {
  left: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%!important;
}
.hide {
  display: none !important;
}
#vip-preroll-ad {
  background-color: #000000;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width:100%;
  height: 100%;
}
#vip-preroll-ad-close-btn {
  background: #333333;
  bottom: 0px;
  color: #ffffff;
  display: block;
  font-family: arial;
  font-size: 17px;
  position: absolute;
  right: 10px;
  padding: 10px 13px;
  text-decoration: none;
  text-transform: uppercase;
}
#vip-preroll-ad-close-btn.inactive {
  opacity: 0.75;
}
#vip-preroll-ad-close-btn.inactive:hover {
  background: #333333;
}
#vip-preroll-ad-close-btn.hide {
  display: none;
}
#vip-preroll-ad-close-btn:hover {
  background: #555555;
}
#vip-preroll-ad-unmute-btn {
  background: #e93f3a;
  bottom: 0px;
  color: #ffffff;
  font-family: arial;
  display: block;
  font-size: 17px;
  left: 10px;
  position: absolute;
  padding: 10px 13px;
  text-decoration: none;
  text-transform: uppercase;
}
#vip-preroll-ad-unmute-btn.hide {
  display: none;
}
#vip-preroll-ad-unmute-btn:hover {
  background: #ab0003;
}
.lds-dual-ring {
  display: inline-block;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 80px;
  height: 80px;
}
.lds-dual-ring:after {
  animation: lds-dual-ring 1.2s linear infinite;
  border: 6px solid #ffffff;
  border-color: #ffffff transparent #ffffff transparent;
  border-radius: 50%;
  content: " ";
  display: block;
  height: 64px;
  margin: 8px;
  width: 64px;
}
.lds-dual-rin.blue-ring:after {
  border-color: #0d95ce transparent #0d95ce transparent;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#vipFreePassPlaceholder {
  align-items: center;
  background: #f3843c;
  background: linear-gradient(180deg, #f3843c 0%, #e93f3a 100%);
  display: none;
  height: 100%;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  width: 100%;
}
#vipFreePassPlaceholder:before {
  content: '';
  background: url(/wp-content/themes/drifted/images/webp/drift-hunters-max-logo-1200-transparent.webp) 0 0 no-repeat;
  background-size: contain;
  position: absolute;
  height: 200%;
  left: -73%;
  opacity: .03;
  top: -17%;
  transform: rotate(10deg);
  width: 329%;
}
#vipFreePassConfirm {
  background: linear-gradient(0deg, #5865f2 50%, #1CF5FF 100%);
  border-radius: 10px;
  color: #ffffff;
  cursor: pointer;
  display: block;
  font-weight: bold;
  font-size: 27px;
  font-family: arial;
  line-height: 36px;
  margin: 0;
  padding: 20px 30px 15px;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 65%;
}
#vipFreePassConfirm span {
  display: block;
  font-size: 18px;
  line-height: 24px;
}
#vipFreePassConfirm:hover {
  background: #5865f2;
}
/* #vipFreePassConfirm:before {
  content: '🔓';
  cursor: default;
  font-size: 205px;
  left: 32%;
  position: absolute;
  top: -149px;
} */
#vipFreePassConfirm:after {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  bottom: -133px;
  color: #fff;
  content: 'NOTE: This can take up to 1.5 minutes to watch all three ads. Drift Attack progress will not be eligible for the leaderboard without a VIP subscription (Chrome Only)';
  display: block;
  font-size: 17px;
  left: auto;
  line-height: 24px;
  padding: 20px 10px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  width: 87%;
}
#vipFreePassDecline {
  background: #000000;
  bottom: 0;
  color: #ffffff;
  cursor: pointer;
  display: block;
  font-weight: bold;
  font-size: 15px;
  font-family: arial;
  padding: 10px 0;
  position: absolute;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
}
#vipFreePassDecline:hover {
  color: #cccccc;
}

#unlockAds {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 90%;
}
#unlockAds li {
  background: linear-gradient(0deg, #5865f2 50%, #1CF5FF 100%);
  border-radius: 5px;
  color: #F4F4F4;
  cursor: pointer;
  display: block;
  font-weight: bold;
  font-size: 27px;
  font-family: arial;
  line-height: 37px;
  list-style: none;
  padding: 20px 30px 15px;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 243px;
}
#unlockAds li span {
  display: block;
  font-size: 13px;
  line-height: 16px;
}
#unlockAds li:hover {
  background: #5865f2;
}
#unlockAds li:nth-child(even) {
  margin: 0 20px;
}
#unlockAds li:hover {
  cursor: pointer;
}
#unlockAds li.inactive {
  background: transparent;
  color: transparent;
}
#unlockAds li.inactive:before {
  color: #ffffff;
  content: '✅';
  cursor: default;
  font-size: 125px;
  left: 14%;
  position: absolute;
  top: 19px;
}
#unlockAds li.inactive:hover {
  background: transparent;
}
.hide {
  display: none;
}