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

html,
body {
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url("/static/banner.jpg") center / cover no-repeat fixed;
  color: #e7e5e4;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  padding: 8px;
}

.page-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 672px;
  overflow-y: auto;
  margin: 16px 0px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.75);
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.profile-link {
  display: block;
  width: 33.333%;
}

.profile-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.profile-name {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.profile-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-title {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.75rem;
}

.link-button {
  display: block;
  padding: 8px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
  color: #e7e5e4;
  transition: transform 0.15s ease;
}

.link-button:hover {
  transform: scale(1.05);
}

.link-description {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-style: italic;
}

.gradient-gold {
  background: linear-gradient(90deg, #f97316, #cea500, #f97316);
}

.gradient-pink {
  background: linear-gradient(90deg, #be123c, #ec4899, #be123c);
}

.gradient-green {
  background: linear-gradient(90deg, #166534, #16a34a, #166534);
}

.footer {
  text-align: center;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
}

.animation-wiggle {
  animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
  0%,
  25%,
  100% {
    transform: rotate(0);
  }
  5%,
  15% {
    transform: rotate(-3deg);
  }
  10%,
  20% {
    transform: rotate(3deg);
  }
}

.rule-list {
  margin: 0;
  padding: 12px 16px;
}

.rule-list li {
  line-height: 1.6;
}

.tos-list {
  counter-reset: tos-counter;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

.tos-item {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.tos-item::before {
  counter-increment: tos-counter;
  content: counter(tos-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #fbbf24;
}

.tos-paragraphs p {
  margin-bottom: 8px;
}

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

.commissions-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.commissions-block p a {
  color: #fbbf24;
}

@media (min-width: 768px) {
  .page-container {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (max-width: 480px) {
  .profile-link {
    width: 45%;
  }
}
