* {
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  color: #233044;
  background: #d9f7ff;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #d9f7ff;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(217, 247, 255, .86) 80%, #effcff), url("img/bg.jpg");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}

.age-rating-badge {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  width: 280px;
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 4px 10px rgba(45, 126, 163, .14);
}

.age-rating-badge span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border-radius: 50%;
  color: #fff;
  font-family: 'Rowdies', 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(180deg, #da4a1c, #9d230f);
}

.age-rating-badge p {
  margin: 0;
  color: #14784a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.hero-copy {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  min-width: 0;
}

.logo {
  width: 92%;
  max-width: 620px;
  margin: 0 auto;
  filter: drop-shadow(0 24px 26px rgba(107, 63, 30, .22));
  animation: floatY 3.5s ease-in-out infinite, logoRainbow 5s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes logoRainbow {
  0%, 100% {
    filter: drop-shadow(0 4px 22px rgba(242, 138, 26, 0.45));
  }

  16% {
    filter: drop-shadow(0 4px 26px rgba(255, 70, 70, 0.42));
  }

  32% {
    filter: drop-shadow(0 4px 26px rgba(255, 220, 0, 0.48));
  }

  48% {
    filter: drop-shadow(0 4px 26px rgba(60, 210, 90, 0.40));
  }

  64% {
    filter: drop-shadow(0 4px 26px rgba(60, 140, 255, 0.42));
  }

  80% {
    filter: drop-shadow(0 4px 26px rgba(180, 70, 255, 0.40));
  }
}

.eyebrow {
  margin: 12px 0 0;
  color: #6c361e;
  font-family: 'Rowdies', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .65);
}

.tagline {
  width: 100%;
  max-width: 600px;
  margin: 10px auto 0;
  color: #003772;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .72);
}

.download-area {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px auto 0;
  min-width: 0;
}

.download-dock {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 246, 207, .76));
  box-shadow: 0 12px 28px rgba(45, 126, 163, .16);
  backdrop-filter: blur(14px);
}

.launch-locked .download-dock, .launch-locked .account-btn {
  display: none;
}

.launch-countdown {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-top: 16px;
  padding: 30px 50px;
  line-height: 1.5;
  border-radius: 20px;
  color: #14784a;
  border: 1px solid rgba(255, 255, 255, .72);
  background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 246, 207, .76));
  box-shadow: 0 12px 28px rgba(45, 126, 163, .16);
  white-space: pre-line;
}

.launch-countdown::first-line {
  color: #6a2b18;
}

.download-btn {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  max-width: 250px;
  margin: 0 7px;
  border-radius: 18px;
  outline: 0;
  transition: transform .15s ease-in-out, filter .15s ease-in-out;
}

.download-btn:hover, .download-btn:focus {
  transform: translateY(-4px);
  filter: brightness(1.06) saturate(1.03);
}

.download-btn img {
  width: 100%;
  height: auto;
}

.community-btn {
  min-width: 280px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(180deg, #1c94da, #590f9d);
  box-shadow: 0 4px 8px rgba(89, 15, 157, .18);
  transition: background .15s ease-in-out, box-shadow .15s ease-in-out, color .15s ease-in-out, filter .15s ease-in-out;
}

.community-btn:hover, .community-btn:focus {
  background: linear-gradient(180deg, #22b7ff, #6b16c4);
  box-shadow: 0 5px 10px rgba(89, 15, 157, .22);
  filter: brightness(1.04);
}

.community-btn img {
  margin-right: 4px;
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.action-row .community-btn, .action-row .account-btn {
  margin: 0 5px 8px;
}

.account-btn {
  min-width: 130px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  color: #6a2b18;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 4px 8px rgba(45, 126, 163, .12);
  transition: background .15s ease-in-out, box-shadow .15s ease-in-out, color .15s ease-in-out, filter .15s ease-in-out;
}

.account-btn:hover, .account-btn:focus {
  box-shadow: 0 5px 10px rgba(45, 126, 163, .16);
}

.account-btn.auth-guest:hover, .account-btn.auth-guest:focus {
  background: rgba(255, 231, 231, 0.7);
}

#open-bxh {
  color: #fff;
  background: linear-gradient(180deg, #f2a51a, #b86f05);
  box-shadow: 0 4px 8px rgba(184, 111, 5, .18);
}

#open-bxh:hover, #open-bxh:focus {
  background: linear-gradient(180deg, #ffc247, #d98207);
  box-shadow: 0 5px 10px rgba(217, 130, 7, .24);
}

.account-primary {
  color: #fff;
  background: linear-gradient(180deg, #2d9c69, #14784a);
  box-shadow: 0 4px 8px rgba(20, 120, 74, .18);
}

.account-primary:hover, .account-primary:focus {
  background: linear-gradient(180deg, #41c987, #15955a);
  box-shadow: 0 5px 10px rgba(21, 149, 90, .22);
}

.member-status {
  margin-top: 10px;
  color: #6a2b18;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .72);
}

.info-list {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.info-item {
  flex: 1 1 0;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 16px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 12px 24px rgba(45, 126, 163, .12);
  text-align: center;
}

.info-item strong {
  color: #6a2b18;
  font-size: 14px;
  margin-bottom: 5px;
}

.info-item span {
  color: #607086;
  font-weight: 600;
}

.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  padding: 0 14px;
  color: #5d6e82;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .74);
  pointer-events: none;
}

.site-footer span {
  color: #6a2b18;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.is-hidden {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(16, 34, 56, .46);
}

.modal-overlay.is-open {
  display: flex;
}

.lp-modal {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 18px;
  background: rgba(255, 252, 252, .94);
  box-shadow: 0 26px 70px rgba(16, 34, 56, .28);
}

.lp-modal h2 {
  margin: 0 34px 16px 0;
  color: #6a2b18;
  font-size: 22px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  line-height: 30px;
  cursor: pointer;
  background: #9d230f;
  transition: background .15s ease-in-out, filter .15s ease-in-out;
}

.modal-close:hover, .modal-close:focus {
  background: #da4a1c;
  filter: brightness(1.05);
}

.auth-form label {
  display: block;
  margin: 12px 0 5px;
  color: #44576b;
  font-weight: 700;
}

.auth-form input, .auth-form select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(35, 48, 68, .22);
  border-radius: 10px;
  color: #233044;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
}

.auth-form input:disabled,
.auth-form select:disabled {
  color: #7a8798;
  background: #eef4f8;
  border-color: rgba(35, 48, 68, .14);
  cursor: default;
}

.captcha-row {
  display: flex;
  align-items: center;
}

.captcha-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.captcha-img {
  width: 112px;
  height: 38px;
  margin-left: 8px;
  border: 1px solid rgba(35, 48, 68, .18);
  border-radius: 8px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(180deg, #da4a1c, #9d230f);
  box-shadow: 0 14px 26px rgba(157, 35, 15, .24);
  transition: background .15s ease-in-out, box-shadow .15s ease-in-out, filter .15s ease-in-out;
}

.form-submit:hover, .form-submit:focus {
  background: linear-gradient(180deg, #ff7b35, #bf2b12);
  box-shadow: 0 14px 28px rgba(191, 43, 18, .34);
}

.form-msg {
  min-height: 20px;
  margin: 12px 0 0;
  color: #b01d12;
  font-weight: 700;
  text-align: center;
}

.form-ok {
  color: #14784a;
}

.profile-modal {
  max-width: 520px;
}

.profile-list {
  display: grid;
}

.profile-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  min-height: 36px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(239, 248, 252, .92);
}

.profile-list div:first-child {
  margin-top: 0;
}

.profile-list strong {
  margin-right: 10px;
  color: #6a2b18;
}

.profile-list span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #233044;
  font-weight: 700;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  margin: 6px -5px 0;
}

.profile-actions .form-submit {
  flex: 1 1 150px;
  width: auto;
  margin: 10px 5px 0;
}

.ranked-modal {
  max-width: 520px;
}

.ranked-controls {
  display: flex;
  flex-wrap: wrap;
  margin: -8px -5px 0;
}

.ranked-controls label {
  color: #44576b;
  font-weight: 700;
}

.ranked-controls select {
  flex: 1 1 190px;
  width: auto;
  min-height: 40px;
  margin: 8px 5px 0;
  padding: 8px 10px;
  border: 1px solid rgba(35, 48, 68, .22);
  border-radius: 10px;
  color: #233044;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
}

.ranking-table {
  margin-top: 16px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 110px;
  align-items: center;
  min-height: 38px;
  margin-bottom: 5px;
  padding: 5px 8px;
  border-radius: 10px;
  color: #44576b;
  font-weight: 700;
  background: rgba(239, 248, 252, .92);
}

.ranking-head {
  min-height: 30px;
  color: #6a2b18;
  background: transparent;
  text-transform: uppercase;
}

.ranking-head span:last-child,
.ranking-value {
  text-align: right;
}

.ranking-rank {
  width: 26px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
}

.ranking-rank.emerald {
  background: #857037;
}

.ranking-rank.platinum {
  background: #c38e00;
}

.ranking-rank.gold {
  background: #f28a1a;
}

.ranking-rank.bronze {
  background: #b7a46f;
}

.ranking-rank.iron {
  background: #9aa4b2;
}

.ranking-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-value {
  color: #233044;
}

.ranking-msg {
  min-height: 20px;
  margin: 12px 0 0;
  color: #b01d12;
  font-weight: 700;
  text-align: center;
}

.ranking-ok {
  color: #14784a;
}

@media (max-width: 760px) {
  .hero {
    padding: 14px;
  }

  .age-rating-badge {
    top: 8px;
    left: 8px;
    width: 210px;
    min-height: 42px;
    padding: 5px 7px;
    border-radius: 10px;
  }

  .age-rating-badge span {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    margin-right: 6px;
    font-size: 12px;
  }

  .age-rating-badge p {
    font-size: 10px;
    line-height: 1.2;
  }

  .hero-inner {
    width: 100%;
    max-width: 360px;
  }

  .hero-copy, .download-area {
    width: 100%;
    max-width: 360px;
  }

  .logo {
    width: 100%;
  }

  .eyebrow {
    font-size: 18px;
  }

  .tagline {
    font-size: 14px;
  }

  .download-area {
    margin-top: 12px;
  }

  .download-dock {
    width: 100%;
    max-width: 360px;
    flex-wrap: wrap;
    padding: 8px;
    border-radius: 18px;
  }

  .launch-countdown {
    width: 100%;
    margin-top: 12px;
    padding: 14px 16px;
    font-size: 14px;
  }

  .download-btn {
    flex: 0 0 40%;
    width: 40%;
    max-width: 40%;
    margin: 1.5%;
    border-radius: 12px;
  }

  .community-btn {
    min-width: 280px;
    min-height: 40px;
    margin-top: 12px;
    font-size: 15px;
  }

  .action-row {
    margin-top: 12px;
  }

  .action-row .community-btn, .action-row .account-btn {
    width: 48%;
    min-width: 0;
    margin: 1%;
  }

  .launch-locked .action-row .community-btn {
    width: 100%;
    margin: 0;
  }

  .account-btn {
    min-height: 40px;
    font-size: 13px;
  }

  .info-list {
    flex-direction: column;
    margin-top: 12px;
  }

  .info-item {
    min-height: 50px;
    margin: 3px 0;
    padding: 6px 10px;
    border-radius: 12px;
  }

  .info-item strong {
    font-size: 13px;
  }

  .info-item span {
    font-size: 12px;
  }

  .site-footer {
    bottom: 15px;
    font-size: 12px;
  }

  .lp-modal {
    max-height: 92vh;
    padding: 18px;
  }

  .profile-actions {
    margin: 0;
  }

  .profile-actions .form-submit {
    flex-basis: 100%;
    margin: 0;
  }

  .ranking-row {
    grid-template-columns: 36px minmax(0, 1fr) 86px;
    font-size: 12px;
  }
}

@media (max-height: 700px) {
  .logo {
    width: 86%;
    max-width: 360px;
  }

  .eyebrow {
    font-size: 18px;
  }

  .tagline {
    font-size: 13px;
  }

  .download-area {
    max-width: 760px;
  }

  .community-btn {
    min-height: 40px;
  }
}
