
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f5fc;
  color: #202443;
}

.app {
  max-width: 480px;
  min-height: 100vh;
  margin: auto;
  padding: 22px 18px 100px;
  background: #fff;
}

.header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 25px;
  font-weight: bold;
  background: linear-gradient(135deg, #3978ed, #8055e9);
}

.header h1 {
  font-size: 18px;
  letter-spacing: 1px;
}

.header p {
  color: #8589a2;
  font-size: 11px;
  margin-top: 4px;
}

.welcome {
  margin: 30px 0 20px;
}

.welcome p {
  color: #8589a2;
  font-size: 14px;
}

.welcome h2 {
  font-size: 25px;
  margin: 7px 0;
}

.welcome span {
  color: #8589a2;
  font-size: 13px;
}

.balance {
  padding: 25px;
  border-radius: 23px;
  color: white;
  background: linear-gradient(120deg, #3679ee, #7951df);
  box-shadow: 0 12px 25px #526bd333;
}

.balance > span {
  font-size: 11px;
  letter-spacing: 1.5px;
  opacity: .85;
}

.balance div {
  margin: 13px 0;
}

.balance strong {
  font-size: 43px;
}

.balance small {
  font-size: 15px;
  font-weight: bold;
}

.balance p {
  font-size: 12px;
  opacity: .85;
}

.section {
  margin-top: 29px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-heading h2 {
  font-size: 17px;
}

.section-heading span {
  font-size: 20px;
}

.rewards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reward {
  padding: 18px;
  border: 1px solid #e9eafa;
  border-radius: 17px;
  background: #fafaff;
}

.reward b {
  display: block;
  font-size: 25px;
  color: #5c62dc;
  margin-bottom: 7px;
}

.reward span {
  color: #8589a2;
  font-size: 12px;
}

.note {
  margin-top: 10px;
  font-size: 10px;
  color: #9295a8;
}

.empty {
  padding: 23px;
  text-align: center;
  border-radius: 17px;
  background: #f8f8ff;
  color: #8589a2;
  font-size: 13px;
}

.empty div {
  font-size: 30px;
  margin-bottom: 8px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: space-around;
  padding: 13px 8px 18px;
  background: white;
  border-top: 1px solid #eeeef5;
}

.bottom-nav div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #999caf;
  font-size: 20px;
}

.bottom-nav span {
  font-size: 10px;
}

.bottom-nav .active {
  color: #5866df;
}
