:root {
  --google-blue: #1a73e8;
  --google-blue-text: #ffffff;
  --google-blue-hover: #185abc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --google-blue: #8ab4f8;
    --google-blue-text: #202124;
    --google-blue-hover: #aecbfa;
  }
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

main {
  max-width: 420px;
  padding: var(--size-md);
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--surface);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 24px;
}

img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9.6rem;
  height: 9.6rem;
  margin: 0 auto var(--size-lg);
}

h1 {
  margin: 0 0 var(--size-sm) 0;
  font-size: var(--text-xxl);
  font-weight: 600;
}

.rating-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--size-lg);
}

.stars-outer {
  position: relative;
  display: inline-block;
  font-size: var(--text-xl);
  line-height: 1;
  color: #e8eaed;
  user-select: none;
}

.stars-inner {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  color: #f9ab00;
}

.rating-text {
  font-size: 14px;
  color: var(--secondary);
  margin-left: var(--size-sm);
  font-weight: 500;
}

.description {
  margin-bottom: var(--size-lg);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--secondary);
}

.btn {
  display: inline-block;
  background-color: var(--google-blue);
  color: var(--google-blue-text);
  padding: var(--size-md) var(--size-lg);
  border-radius: var(--size-xs);
  border: none;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-lg);
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}

.btn:hover {
  background-color: var(--google-blue-hover);
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.35);
}

footer {
  margin-top: var(--size-xl);
  font-size: var(--text-md);
}

footer a {
  margin: 0 1.2rem;
}

.user-count {
  display: block;
  margin-top: var(--size-lg);
  color: var(--color-text);
  font-size: 12px;
}
