:root {
  --bg: #05080c;
  --surface: rgba(20, 27, 37, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --accent: #b23858;
  --accent-glow: rgba(178, 56, 88, 0.4);
  --radius: 16px;
}

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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.bg-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 20% 20%, rgba(178, 56, 88, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(88, 167, 198, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(178, 56, 88, 0.05) 0%, transparent 60%);
  filter: blur(80px);
  animation: bgMove 20s infinite alternate;
  will-change: transform;
}

@keyframes bgMove {
  from { transform: scale(1); }
  to { transform: scale(1.1) translate(1%, 1%); }
}

.container {
  width: 100%;
  max-width: 420px;
  padding: 40px 20px;
  margin: 0 auto;
  text-align: center;
  animation: fadeIn 0.8s ease-out;
}

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

.profile {
  margin-bottom: 40px;
}

.logo-container {
  width: 180px;
  margin: 0 auto 20px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.profile p {
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0 20px;
  line-height: 1.4;
  margin-top: 8px;
  opacity: 0.95;
  letter-spacing: -0.01em;
}

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

.link-card {
  text-decoration: none;
  color: var(--text-primary);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.link-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: 0.5s;
}

.link-card:hover, .link-card:active {
  transform: translateY(-2px) scale(1.01);
  background: rgba(27, 36, 48, 0.85);
  box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

.link-card:active {
  transform: translateY(0) scale(0.98);
}

/* Platform Specific Colors - Always On */
.link-website .icon { background: #b23858; color: white; }
.link-website .arrow { color: #b23858; opacity: 1; transform: translateX(0); }

.link-viber .icon { background: #7360f2; color: white; }
.link-viber .arrow { color: #7360f2; opacity: 1; transform: translateX(0); }

.link-telegram .icon { background: #0088cc; color: white; }
.link-telegram .arrow { color: #0088cc; opacity: 1; transform: translateX(0); }

.link-instagram .icon { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.link-instagram .arrow { color: #e4405f; opacity: 1; transform: translateX(0); }

.link-facebook .icon { background: #1877f2; color: white; }
.link-facebook .arrow { color: #1877f2; opacity: 1; transform: translateX(0); }

.link-card:hover::after {
  left: 100%;
}

.link-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.link-card:hover .icon, .link-card:active .icon {
  transform: rotate(-8deg);
}

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

.link-card .label {
  flex-grow: 1;
  text-align: left;
  font-weight: 500;
  font-size: 1.05rem;
}

.link-card .arrow {
  transition: all 0.3s ease;
  flex-shrink: 0;
}

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

footer {
  margin-top: 48px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  opacity: 0.5;
}

@media (max-width: 480px) {
  .container {
    padding: 20px 16px;
  }
  
  .logo-container {
    width: 160px;
  }

  .profile {
    margin-bottom: 32px;
  }
}

@media (max-height: 600px) {
  .container {
    padding: 20px 16px;
  }
  .profile {
    margin-bottom: 24px;
  }
  .logo-container {
    width: 140px;
    margin-bottom: 12px;
  }
  footer {
    margin-top: 32px;
  }
}
