:root {
  color-scheme: dark;
  --bg: #0a121b;
  --bg-2: #131e2c;
  --surface: rgba(22, 32, 48, 0.78);
  --surface-2: rgba(255, 255, 255, 0.04);
  --text: #f5efe6;
  --muted: #aab3c2;
  --accent-1: #f5b89a;
  --accent-2: #ee9b82;
  --accent-3: #d97a5f;
  --ring: rgba(245, 184, 154, 0.55);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(245, 184, 154, 0.32);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(ellipse at 18% 8%, #1a2740 0%, transparent 38%),
    radial-gradient(ellipse at 82% 92%, #1f2436 0%, transparent 42%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  display: flex;
  padding: max(20px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  overflow-x: hidden;
}

.container {
  width: min(100%, 440px);
  margin: auto;
  position: relative;
  z-index: 3;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 4px 4px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

.profile-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px 18px 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand-card {
  text-align: center;
  margin-bottom: 20px;
}

.logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  border-radius: 22px;
  background: linear-gradient(160deg, #ffffff 0%, #f6efe2 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.logo {
  width: clamp(160px, 46vw, 220px);
  height: auto;
  display: block;
  animation: float 5s ease-in-out infinite;
}

h1 {
  margin: 4px 0 6px;
  font-size: clamp(1.55rem, 5.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.2px;
  background: linear-gradient(120deg, #ffffff 0%, var(--accent-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}

p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.94rem;
  line-height: 1.5;
}

.links {
  display: grid;
  gap: 11px;
}

.link-btn {
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(140deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.link-btn:hover,
.link-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.42);
  border-color: var(--ring);
  background: linear-gradient(140deg, rgba(238, 155, 130, 0.22), rgba(245, 184, 154, 0.08));
  outline: none;
}

.link-btn:active {
  transform: translateY(0);
}

.icon-box {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(238, 155, 130, 0.32), rgba(245, 184, 154, 0.18));
  flex-shrink: 0;
  color: #fff7f1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.icon-web {
  background: linear-gradient(145deg, #f5b89a, #d97a5f);
  color: #2a1410;
}

.icon-whatsapp {
  background: linear-gradient(145deg, #25d366, #128c7e);
  color: #fff;
}

.icon-phone {
  background: linear-gradient(145deg, #5b8bff, #3656c2);
  color: #fff;
}

.icon {
  width: 20px;
  height: 20px;
  color: currentColor;
  display: block;
}

.label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.label-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.link-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.1px;
}

.link-sub {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.2px;
}

.arrow {
  font-weight: 700;
  color: var(--accent-1);
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
  font-size: 1.05rem;
  padding-left: 4px;
}

.link-btn:hover .arrow,
.link-btn:focus-visible .arrow {
  transform: translateX(3px);
  opacity: 1;
}

.featured {
  background: linear-gradient(140deg, rgba(238, 155, 130, 0.28), rgba(245, 184, 154, 0.1));
  border-color: var(--border-strong);
}

.mini-footer {
  text-align: center;
  color: rgba(220, 226, 240, 0.55);
  margin-top: 14px;
  font-size: 0.74rem;
  letter-spacing: 0.4px;
}

.bg-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(52px);
  z-index: 2;
  opacity: 0.4;
  pointer-events: none;
}

.bg-glow-top {
  top: -130px;
  left: -100px;
  background: radial-gradient(circle, rgba(238, 155, 130, 0.55), transparent 68%);
}

.bg-glow-bottom {
  bottom: -130px;
  right: -90px;
  background: radial-gradient(circle, rgba(91, 139, 255, 0.45), transparent 70%);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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

  .link-btn,
  .arrow {
    transition: none;
  }
}

@media (max-width: 380px) {
  .profile-card {
    padding: 22px 14px 14px;
    border-radius: 24px;
  }

  .logo-frame {
    padding: 14px 18px;
  }

  .link-btn {
    padding: 12px;
    min-height: 64px;
  }

  .icon-box {
    width: 36px;
    height: 36px;
  }
}
