/* === RESET & VARIABLES === */

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

:root {
  --orange:        #FE5000;
  --purple:        #7C3AED;
  --bg:            #060A1A;
  --glass:         rgba(255, 255, 255, 0.065);
  --glass-hover:   rgba(255, 255, 255, 0.115);
  --border:        rgba(255, 255, 255, 0.10);
  --border-hover:  rgba(255, 255, 255, 0.22);
  --text:          #FFFFFF;
  --text-muted:    rgba(255, 255, 255, 0.52);
  --text-dim:      rgba(255, 255, 255, 0.32);
  --font:          'DM Sans', sans-serif;
  --radius:        18px;
  --spring:        cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === BACKGROUND ORBS === */

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.orb-1 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(254, 80, 0, 0.22), transparent 70%);
  top: -120px;
  right: -120px;
  animation: orb-float-a 18s ease-in-out infinite;
}

.orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.24), transparent 70%);
  bottom: -160px;
  left: -160px;
  animation: orb-float-b 22s ease-in-out infinite;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
  top: 42%;
  left: 50%;
  transform: translateX(-50%);
  animation: orb-float-c 26s ease-in-out infinite;
}

@keyframes orb-float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(25px, -35px) scale(1.06); }
  66%       { transform: translate(-18px, 22px) scale(0.94); }
}

@keyframes orb-float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-30px, 40px) scale(1.08); }
  70%       { transform: translate(20px, -20px) scale(0.96); }
}

@keyframes orb-float-c {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50%       { transform: translateX(-50%) translateY(-30px) scale(1.1); }
}

/* === CONTAINER === */

.container {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 56px 20px 88px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* === HERO === */

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

.avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  margin-bottom: 8px;
}

.avatar-wrapper::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  opacity: 0.25;
  filter: blur(14px);
  z-index: -1;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.profile-name {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.15;
}

.profile-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 300px;
  font-weight: 400;
}

.profile-bio {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
  max-width: 300px;
  font-weight: 400;
  margin-top: 2px;
}

/* === SOCIAL ICONS === */

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    color 0.2s,
    border-color 0.25s,
    background 0.25s,
    transform 0.35s var(--spring),
    box-shadow 0.3s;
}

.social-icon-link:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--glass-hover);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.social-icon-link svg {
  width: 15px;
  height: 15px;
}

/* === SECTIONS WRAPPER === */

#sections {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* === SECTION GROUPS === */

.section-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  padding: 0 4px;
  margin-bottom: 2px;
}

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

/* === PRODUCT CARDS === */

.product-card {
  position: relative;
  display: block;
  padding: 26px 24px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.10);
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.4s var(--spring),
    box-shadow 0.4s var(--ease-out),
    filter 0.3s;
}

/* Gloss highlight — luz vindo de cima-esquerda */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(
    175deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 60%,
    transparent 100%
  );
  pointer-events: none;
  border-radius: inherit;
}

.product-card:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px) scale(1.008);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 4px 12px rgba(0, 0, 0, 0.18),
    0 16px 40px rgba(0, 0, 0, 0.30),
    0 32px 64px rgba(0, 0, 0, 0.15);
}

/* Featured — gradiente laranja → roxo */
.product-card-featured {
  background: linear-gradient(140deg, var(--orange) 0%, #9333ea 60%, var(--purple) 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 2px 12px rgba(254, 80, 0, 0.20),
    0 8px 32px rgba(124, 58, 237, 0.18),
    0 16px 40px rgba(0, 0, 0, 0.20);
}

.product-card-featured::before {
  background: linear-gradient(
    175deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 100%
  );
}

.product-card-featured:hover {
  background: linear-gradient(140deg, var(--orange) 0%, #9333ea 60%, var(--purple) 100%);
  border-color: rgba(255, 255, 255, 0.26);
  filter: brightness(1.07) saturate(1.1);
  transform: translateY(-5px) scale(1.008);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.30),
    0 6px 24px rgba(254, 80, 0, 0.32),
    0 16px 48px rgba(124, 58, 237, 0.28),
    0 32px 72px rgba(0, 0, 0, 0.30);
}

/* Typography */
.product-eyebrow {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.product-card-featured .product-eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.product-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.product-description {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.product-card-featured .product-description {
  color: rgba(255, 255, 255, 0.65);
}

/* Footer: CTA + arrow */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  min-height: 40px;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  pointer-events: none;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.95);
  color: #0A0E2A;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 2px 8px rgba(0,0,0,0.18);
  transition: box-shadow 0.25s;
}

.product-card-secondary .product-cta-btn {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 2px 8px rgba(0,0,0,0.12);
}

.product-card:hover .product-cta-btn {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 4px 14px rgba(0,0,0,0.24);
}

.product-arrow {
  color: rgba(255, 255, 255, 0.38);
  flex-shrink: 0;
  transition: color 0.25s, transform 0.4s var(--spring);
}

.product-card:hover .product-arrow {
  color: rgba(255, 255, 255, 0.75);
  transform: translateX(5px);
}

.product-arrow svg {
  width: 17px;
  height: 17px;
}

/* === CHANNELS BENTO === */

.channels-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.channel-bento-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 12px;
  min-height: 96px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.10),
    0 6px 16px rgba(0, 0, 0, 0.08);
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.4s var(--spring),
    box-shadow 0.4s var(--ease-out);
}

.channel-bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(175deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
  border-radius: inherit;
}

.channel-bento-card:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.16),
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 24px 48px rgba(0, 0, 0, 0.12);
}

/* YouTube — wide (2 colunas) + horizontal */
.channel-bento-wide {
  grid-column: span 2;
  flex-direction: row;
  justify-content: center;
  gap: 14px;
  padding: 20px 24px;
  min-height: 80px;
}

.channel-bento-info {
  display: flex;
  flex-direction: column;
}

.channel-bento-wide .channel-bento-info {
  align-items: flex-start;
  text-align: left;
}

.channel-bento-card:not(.channel-bento-wide) .channel-bento-info {
  align-items: center;
  text-align: center;
}

.channel-bento-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.channel-bento-wide .channel-bento-icon svg {
  width: 24px;
  height: 24px;
}

.channel-bento-card:not(.channel-bento-wide) .channel-bento-icon svg {
  width: 20px;
  height: 20px;
}

.channel-bento-card:hover .channel-bento-icon {
  color: rgba(255, 255, 255, 0.85);
}

.channel-bento-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.channel-bento-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 400;
}

/* === LINK ROWS === */

.link-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  min-height: 68px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.10),
    0 6px 18px rgba(0, 0, 0, 0.08);
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.4s var(--spring),
    box-shadow 0.4s var(--ease-out);
}

.link-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(175deg, rgba(255,255,255,0.07) 0%, transparent 100%);
  pointer-events: none;
  border-radius: inherit;
}

.link-row:hover {
  background: var(--glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px) scale(1.008);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.16),
    0 14px 36px rgba(0, 0, 0, 0.28),
    0 28px 52px rgba(0, 0, 0, 0.12);
}

/* Icon circle */
.link-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.link-row:hover .link-icon {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.13);
}

.link-icon svg {
  width: 18px;
  height: 18px;
}

/* Text content */
.link-content {
  flex: 1;
  min-width: 0;
}

.link-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-subtitle {
  display: block;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.3;
  font-weight: 400;
}

/* Arrow */
.link-arrow {
  color: var(--text-dim);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s, transform 0.35s var(--spring);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
}

.link-row:hover .link-arrow {
  color: var(--text-muted);
  transform: translateX(4px);
}

/* === FEATURED LINK ROW === */

.link-row-featured {
  background: linear-gradient(135deg, var(--orange) 0%, var(--purple) 100%);
  border-color: transparent;
}

.link-row-featured::before {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    transparent 70%
  );
}

.link-row-featured:hover {
  background: linear-gradient(135deg, var(--orange) 0%, var(--purple) 100%);
  border-color: transparent;
  filter: brightness(1.08);
  box-shadow: 0 14px 52px rgba(254, 80, 0, 0.38);
  transform: translateY(-2px);
}

.link-row-featured .link-icon {
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
}

.link-row-featured:hover .link-icon {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.link-row-featured .link-subtitle {
  color: rgba(255, 255, 255, 0.70);
}

.link-row-featured .link-arrow {
  color: rgba(255, 255, 255, 0.55);
}

.link-row-featured:hover .link-arrow {
  color: rgba(255, 255, 255, 0.85);
}

/* === FOCUS STATES === */

.link-row:focus-visible,
.social-icon-link:focus-visible {
  outline: 2px solid rgba(254, 80, 0, 0.85);
  outline-offset: 3px;
}

/* === ENTRANCE ANIMATIONS === */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  animation: fadeUp 0.55s var(--ease-out) forwards;
}

.d1  { animation-delay: 0.04s; }
.d2  { animation-delay: 0.10s; }
.d3  { animation-delay: 0.16s; }
.d4  { animation-delay: 0.22s; }
.d5  { animation-delay: 0.28s; }
.d6  { animation-delay: 0.34s; }
.d7  { animation-delay: 0.40s; }
.d8  { animation-delay: 0.46s; }
.d9  { animation-delay: 0.52s; }
.d10 { animation-delay: 0.58s; }
.d11 { animation-delay: 0.64s; }
.d12 { animation-delay: 0.70s; }

@media (prefers-reduced-motion: reduce) {
  .animate { animation: none; opacity: 1; }
  .orb-1, .orb-2, .orb-3 { animation: none; }
  .link-row:hover,
  .social-icon-link:hover { transform: none; }
  .link-row:hover .link-arrow { transform: none; }
}

/* === MOBILE === */

@media (max-width: 480px) {
  .container {
    padding: 44px 16px 72px;
    gap: 32px;
  }

  .avatar-wrapper {
    width: 86px;
    height: 86px;
  }

  .profile-name {
    font-size: 1.5rem;
  }

  .profile-tagline {
    font-size: 0.825rem;
  }

  .orb-1 {
    width: 300px;
    height: 300px;
  }

  .orb-2 {
    width: 360px;
    height: 360px;
  }

  .orb-3 {
    width: 200px;
    height: 200px;
  }
}
