:root {
  --navy: #071c3a;
  --navy-card: #0e2a4d;
  --gold: #c9a961;
  --text: #ffffff;
  --text-soft: #9db0c8;
  --text-dim: #7c8da6;
  --line: rgba(201, 169, 97, 0.18);
}

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

html {
  color-scheme: dark;
}

body {
  background: var(--navy);
  color: var(--text);
  font-family: -apple-system, "SF Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.9;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 22px 80px;
}

header {
  text-align: center;
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
}

.moon {
  display: block;
  margin-bottom: 10px;
  font-size: 34px;
}

h1 {
  font-size: 26px;
  font-weight: 700;
}

.app-name {
  color: var(--gold);
  font-size: 15px;
  margin-top: 6px;
}

.updated {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 12px;
}

h2 {
  color: var(--gold);
  font-size: 18px;
  margin: 38px 0 12px;
  padding-right: 14px;
  border-right: 3px solid var(--gold);
}

h3 {
  color: var(--text);
  font-size: 15px;
  margin: 20px 0 6px;
}

p {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 12px;
}

ul {
  list-style: none;
  margin: 10px 0 16px;
}

ul li {
  color: var(--text-soft);
  font-size: 15px;
  padding-right: 22px;
  position: relative;
  margin-bottom: 8px;
}

ul li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.8;
}

strong {
  color: var(--text);
}

a {
  color: var(--gold);
}

.card {
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.price-row {
  display: flex;
  gap: 12px;
  margin: 14px 0;
}

.price {
  flex: 1;
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.price .amount {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
}

.note {
  color: var(--text-dim);
  font-size: 13px;
}

footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

footer .tag {
  color: var(--gold);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 12px;
}

.footer-links a {
  text-decoration: none;
}

.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.home .box {
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.home .moon {
  font-size: 44px;
  margin-bottom: 12px;
}

.home h1 {
  font-size: 28px;
  margin-bottom: 6px;
}

.home .sub {
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 36px;
}

.home-link {
  display: block;
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  transition: border-color 0.2s;
}

.home-link:hover,
.home-link:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.home-link span {
  color: var(--gold);
}

@media (max-width: 480px) {
  .wrap {
    padding: 32px 16px 60px;
  }

  h1 {
    font-size: 22px;
  }

  .price-row {
    flex-direction: column;
  }
}
