:root {
  --bg: #111114;
  --card-bg: #1a1a1f;
  --card-border: #2a2a30;
  --text: #f5f5f7;
  --text-muted: #9a9aa2;
  --accent: #ffffff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 64rem;
  padding: 2rem 1.5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  object-fit: cover;
  background: #3a3a40;
}

.name {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.socials a {
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.socials a:hover {
  transform: scale(1.1);
  color: #cbd5e1;
}

.socials svg {
  width: 30px;
  height: 30px;
}

.social-instagram:hover svg path {
  fill: url(#instagram-gradient);
}

.socials a.social-pinterest:hover {
  color: #e60023;
}

.tiktok-cyan,
.tiktok-pink {
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tiktok-base {
  transition: transform 0.2s ease;
}

.social-tiktok:hover .tiktok-cyan,
.social-tiktok:hover .tiktok-pink {
  opacity: 1;
}

.social-tiktok:hover .tiktok-cyan {
  transform: translate(-1.4px, 1.4px);
}

.social-tiktok:hover .tiktok-pink {
  transform: translate(1.4px, -1.4px);
}

.social-x {
  position: relative;
}

.icon-x-hover {
  position: absolute;
  opacity: 0;
  transform: scale(0.5) rotate(-15deg);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.icon-x-default {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-x:hover .icon-x-default {
  opacity: 0;
  transform: scale(0.5) rotate(15deg);
}

.social-x:hover .icon-x-hover {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: #1d9bf0;
}

.socials a.social-facebook:hover {
  color: #1877f2;
}

.cards {
  max-width: 36rem;
  width: 100%;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1rem;
  background: var(--card-bg);
  border: 3px solid var(--card-border);
  border-bottom-width: 6px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #202027;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.card-title {
  font-weight: 600;
  font-size: 1.125rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 24rem;
  line-height: 1.35;
}

.chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--text-muted);
}

.card-aprovu {
  position: relative;
  background: linear-gradient(135deg, rgba(54, 84, 239, 0.16), rgba(255, 138, 61, 0.08) 60%, var(--card-bg) 100%);
  border: 1px solid rgba(54, 84, 239, 0.4);
  overflow: hidden;
}

.card-aprovu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 80px at 90% 0%, rgba(255, 138, 61, 0.25), transparent 70%);
  pointer-events: none;
}

.card-aprovu:hover {
  border-color: rgba(54, 84, 239, 0.8);
  box-shadow: 0 6px 24px rgba(54, 84, 239, 0.25);
  transform: translateY(-2px) scale(1.01);
}

.card-icon-aprovu {
  background: #0d1230;
  padding: 6px;
  box-shadow: 0 0 0 3px rgba(54, 84, 239, 0.15);
}

.card-icon-aprovu svg {
  width: 100%;
  height: 100%;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ff8a3d;
  background: rgba(255, 138, 61, 0.15);
  padding: 2px 7px;
  border-radius: 999px;
  animation: pulse-badge 2.2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.footer {
  margin-top: 1.5rem;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.875rem;
}

.footer a {
  color: inherit;
  text-decoration: underline;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #111114;
    --card-bg: #1a1a1f;
    --card-border: #2a2a30;
    --text: #f5f5f7;
    --text-muted: #9a9aa2;
  }
}

@media (max-width: 1024px) {
  .page {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 1.75rem 1rem;
  }

  .avatar {
    width: 88px;
    height: 88px;
  }

  .name {
    font-size: 1.375rem;
  }

  .socials {
    gap: 1.1rem;
  }

  .socials svg {
    width: 28px;
    height: 28px;
  }

  .cards {
    margin-top: 2.25rem;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 1.5rem 0.875rem;
  }

  .avatar {
    width: 80px;
    height: 80px;
    border-radius: 22px;
  }

  .name {
    font-size: 1.25rem;
  }

  .socials {
    gap: 1rem;
    margin-top: 0.875rem;
  }

  .socials svg {
    width: 26px;
    height: 26px;
  }

  .cards {
    margin-top: 2rem;
    gap: 0.625rem;
  }

  .card {
    padding: 0.75rem;
    gap: 0.875rem;
    border-radius: 14px;
  }

  .card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.25rem;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-desc {
    font-size: 0.8rem;
  }

  .chevron {
    width: 22px;
    height: 22px;
  }
}
