:root {
  --ice-bg: #eef7fc;
  --ice-line: #bed8e8;
  --ice-deep: #0f3a52;
  --ice-soft: #4e6d80;
  --ice-card: #f8fdff;
  --ice-accent: #58add8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--ice-deep);
  background: linear-gradient(180deg, #dff0fa 0%, var(--ice-bg) 48%, #f8fdff 100%);
}

body.lock {
  overflow: hidden;
}

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

.icehead {
  margin: 0.85rem;
  border: 1px solid var(--ice-line);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  background: rgba(248, 253, 255, 0.95);
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.6rem;
  position: sticky;
  top: 0;
  z-index: 35;
}

.icebrand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
}

.icebrand img {
  width: 42px;
  height: 42px;
}

.iceburger {
  margin-left: auto;
  width: 42px;
  height: 39px;
  border: 1px solid var(--ice-line);
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}

.iceburger span {
  height: 2px;
  background: #3f738f;
}

.icemenu {
  grid-column: 1 / -1;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
}

.icemenu.show {
  display: flex;
}

.icemenu a {
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
}

.icemenu a:hover,
.icemenu a:focus-visible {
  background: #e7f4fb;
}

.sheet {
  width: min(1540px, 100%);
  margin: 0 auto;
  padding: 0.2rem 0.9rem 1.2rem;
}

.hero-ice {
  display: grid;
  gap: 0.85rem;
}

.hero-a,
.hero-b {
  border: 1px solid var(--ice-line);
  border-radius: 18px;
  background: var(--ice-card);
  padding: 1.15rem;
}

.micro {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #4f9cc4;
}

h1,
h2 {
  font-family: "Exo 2", sans-serif;
}

h1 {
  margin: 0.55rem 0;
  font-size: clamp(1.95rem, 5vw, 3.35rem);
  line-height: 1.06;
}

.cta {
  margin-top: 0.65rem;
  display: inline-block;
  padding: 0.66rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #8ec2dd;
  color: #1f6f96;
  font-weight: 700;
}

.hero-b ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ice-soft);
  display: grid;
  gap: 0.45rem;
}

.statsrow {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.72rem;
}

.statsrow article {
  border: 1px solid var(--ice-line);
  border-radius: 14px;
  background: var(--ice-card);
  padding: 0.9rem;
}

.statsrow p {
  margin-bottom: 0;
  color: var(--ice-soft);
}

.arena {
  margin-top: 0.95rem;
  border: 1px solid var(--ice-line);
  border-radius: 18px;
  background: var(--ice-card);
  padding: 0.95rem;
}

.frameice {
  margin-top: 0.55rem;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid #aacfe2;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.frameice iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.docwrap {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 1rem;
}

.legaldoc {
  border: 1px solid var(--ice-line);
  border-radius: 16px;
  background: var(--ice-card);
}

.legaldoc h2 {
  margin-top: 1.05rem;
}

.icefoot {
  margin: 1.2rem 0.9rem 1rem;
  border-top: 1px solid var(--ice-line);
  padding-top: 0.8rem;
  color: var(--ice-soft);
}

.safelinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.safelinks a {
  color: #2f7ea6;
}

.frostgate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(227, 242, 250, 0.86);
  padding: 1rem;
}

.frostgate.on {
  display: grid;
}

.frostcard {
  width: min(420px, 100%);
  border: 1px solid #9dc7dd;
  border-radius: 16px;
  background: #f7fcff;
  padding: 1rem;
}

.frostbuttons {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.6rem;
}

.frostbuttons button {
  flex: 1;
  border: 1px solid #9ec9de;
  border-radius: 9px;
  background: #fff;
  color: #2f708f;
  font-weight: 700;
  padding: 0.64rem;
}

@media (min-width: 920px) {
  .icehead {
    margin-inline: 1.1rem;
    grid-template-columns: auto 1fr;
  }

  .iceburger {
    display: none;
  }

  .icemenu {
    display: flex;
    grid-column: auto;
    flex-direction: row;
    justify-content: flex-end;
  }

  .hero-ice {
    grid-template-columns: 1.18fr 0.82fr;
  }

  .statsrow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}