.community {
  margin: 0 16px 12px;
  padding: 10px 12px;
  border: 1px solid #d3a84480;
  border-radius: 14px;
  background: linear-gradient(135deg, #1c180f, #0b0b0a);
  box-shadow: 0 0 18px #d3a84418;
  text-align: center;
}
.community[hidden] {
  display: none;
}
.community p {
  margin: 0 0 8px;
  color: #f8dfa0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
}
.community > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.community-link {
  min-width: 0;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #d3a84455;
  border-radius: 10px;
  background: #111;
  color: #e9d18e;
  font-size: 10px;
  font-weight: 800;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    border-color 0.18s;
}
.community-link:active {
  transform: scale(0.96);
}
.community-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex: none;
}
.community-link.whatsapp:active {
  color: #25d366;
  border-color: #25d366;
}
.community-link.telegram:active {
  color: #2aabee;
  border-color: #2aabee;
}
.community-link.facebook:active {
  color: #1877f2;
  border-color: #1877f2;
}
.hero > img {
  opacity: 0;
  transition: opacity 0.22s ease;
}
.hero > img.ready {
  opacity: 1;
}
@media (max-width: 600px) {
  header {
    height: 56px;
  }
  header button {
    width: 38px;
    height: 38px;
    font-size: 23px;
  }
  .logo img {
    height: 48px !important;
  }
  .ticker {
    height: 32px;
  }
  .actions {
    gap: 3px;
    padding: 2px 16px 5px;
  }
  .cta {
    min-height: 40px;
    border-radius: 12px;
    font-size: 12.5px;
  }
  .community {
    margin: 0 16px 6px;
    padding: 6px 8px;
  }
  .community p {
    margin-bottom: 4px;
  }
  .community-link {
    height: 32px;
  }
  .bottom {
    height: 60px;
  }
  .bottom a {
    gap: 2px;
  }
  .bottom b {
    font-size: 9.5px;
  }
  .nav-icon,
  .nav-icon svg {
    width: 19px;
    height: 19px;
  }
}
@media (max-width: 380px), (max-height: 680px) {
  header {
    height: 52px;
  }
  .ticker {
    height: 30px;
  }
  .actions {
    gap: 2px;
    padding-bottom: 4px;
  }
  .cta {
    min-height: 38px;
    font-size: 12px;
  }
  .community {
    padding: 5px 7px;
  }
  .community-link {
    height: 30px;
    font-size: 9px;
  }
  .community-link svg {
    width: 15px;
    height: 15px;
  }
  .bottom {
    height: 56px;
  }
}
