* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #0b1020;
  color: #fff;
  font-family: Arial, sans-serif;
}

.app {
  width: 100%;
  max-width: 480px;
  margin: auto;
  padding: 22px 18px 35px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.logo {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 1px;
}

.logo span {
  color: #ffc44d;
}

.profile {
  background: #1b2440;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 13px;
}

.balance {
  text-align: center;
  background: linear-gradient(145deg, #202d50, #151c35);
  border: 1px solid #34436c;
  border-radius: 22px;
  padding: 24px 12px;
}

.balance p:first-child {
  color: #aab8d8;
  font-size: 11px;
  letter-spacing: 2px;
}

.balance h1 {
  color: #ffc44d;
  font-size: 42px;
  margin: 12px 0;
  font-variant-numeric: tabular-nums;
}

.balance p:last-child {
  color: #aab8d8;
  font-size: 13px;
}

.game {
  text-align: center;
  padding: 30px 0;
}

.coin {
  width: 190px;
  height: 190px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffe18a, #d98b19);
  box-shadow: 0 0 35px #e9a52b55, inset 0 0 15px #fff8;
  cursor: pointer;
  user-select: none;
  transition: transform .08s;
}

.coin:active {
  transform: scale(.94);
}

.coin-inner {
  width: 155px;
  height: 155px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 75px;
  background: linear-gradient(145deg, #f8bd42, #a85b0b);
  border: 5px solid #ffe49a;
  box-shadow: inset 0 0 18px #713c0c;
}

.game h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.game > p {
  color: #9caaca;
  font-size: 13px;
}

.energy {
  margin-top: 26px;
  text-align: left;
}

.energy-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 9px;
}

.energy-track {
  height: 10px;
  background: #283452;
  border-radius: 20px;
  overflow: hidden;
}

#energyBar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #f5a623, #ffe17b);
  border-radius: 20px;
}

.daily, .task {
  background: #18223d;
  border: 1px solid #293858;
  border-radius: 16px;
  padding: 17px;
  margin-bottom: 12px;
}

.daily {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.daily p {
  color: #9caaca;
  font-size: 12px;
  margin-top: 6px;
}

button {
  border: 0;
  background: #ffc44d;
  color: #171b2b;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
}

button:disabled {
  opacity: .5;
}

.tasks {
  margin-top: 28px;
}

.tasks h2 {
  margin-bottom: 15px;
}

.task {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.task span {
  color: #ffc44d;
  white-space: nowrap;
}

footer {
  text-align: center;
  color: #64718f;
  font-size: 11px;
  margin-top: 30px;
}
