@font-face {
  font-family: "PlusJakartaSans";
  src: url("assets/PlusJakartaSans.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-cyan: #00D4F5;
  --brand-sky: #0798F5;
  --primary-blue: #1765FF;
  --deep-blue: #0A3EC2;
  --surface-card: #FFFFFF;
  --text-primary: #0E1C33;
  --text-muted: #5B6B84;
  --shadow-lifted: 0 12px 28px rgba(20, 49, 95, 0.16);
  --shadow-card-hover: 0 16px 34px rgba(10, 32, 82, 0.24);
  --radius-card: 14px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "PlusJakartaSans", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    142deg,
    var(--brand-cyan) 0%,
    var(--brand-sky) 34%,
    var(--primary-blue) 72%,
    var(--deep-blue) 100%
  );
  color: #FFFFFF;
  overflow-x: hidden;
}

.wave-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  padding: clamp(24px, 5vh, 44px) 20px clamp(28px, 6vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.brand-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(26px, 4.5vh, 38px);
}

.logo-card {
  position: relative;
  width: clamp(96px, 24vw, 112px);
  height: clamp(96px, 24vw, 112px);
  border-radius: 28px;
  background: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(3, 16, 46, 0.25);
  overflow: hidden;
  flex-shrink: 0;
}

.logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.mirror-sheen {
  position: absolute;
  top: -35%;
  left: -95%;
  width: 38%;
  height: 170%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 30%,
    rgba(255, 255, 255, 0.84) 50%,
    rgba(255, 255, 255, 0.28) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: mirrorSweep 4.85s ease-in-out infinite;
}

@keyframes mirrorSweep {
  0% {
    left: -95%;
  }
  18% {
    left: 165%;
  }
  100% {
    left: 165%;
  }
}

.brand-title {
  margin: 18px 0 6px;
  font-size: clamp(26px, 6vw, 30px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}

.brand-subtitle {
  margin: 0;
  font-size: clamp(14px, 3.6vw, 15px);
  line-height: 1.4;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.90);
}

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

.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  background: var(--surface-card);
  box-shadow: var(--shadow-lifted);
  text-decoration: none;
  color: var(--text-primary);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

@media (hover: hover) {
  .channel-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
  }
}

.channel-card:active {
  transform: scale(0.985);
}

.channel-card:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 4px;
}

.channel-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(20, 49, 95, 0.12);
}

.channel-avatar svg {
  width: 28px;
  height: 28px;
}

.channel-avatar--whatsapp {
  background: linear-gradient(135deg, #2FE676 0%, #1FAF54 100%);
}

.channel-avatar--instagram {
  background: linear-gradient(
    45deg,
    #FEDA77 0%,
    #F58529 25%,
    #DD2A7B 52%,
    #8134AF 78%,
    #515BD4 100%
  );
}

.channel-avatar--website img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.channel-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-title {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
}

.channel-subtitle {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 360px) {
  .page-shell {
    padding: 20px 14px 24px;
  }

  .channel-card {
    padding: 12px 14px;
    gap: 12px;
  }

  .channel-avatar {
    width: 46px;
    height: 46px;
  }
}

@media (min-width: 768px) {
  .page-shell {
    max-width: 480px;
    padding: 40px 24px 48px;
  }

  .channel-card {
    padding: 16px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mirror-sheen {
    animation: none;
    display: none;
  }

  .channel-card {
    transition: none;
  }
}
