:root {
  --bg: radial-gradient(circle at top, #0c0f16 0%, #050608 55%, #020203 100%);
  --card: rgba(7, 10, 15, 0.6);
  --text: #edf0f5;
  --muted: rgba(237, 240, 245, 0.5);
  --accent: #c8ff63;
  --radius-xl: 30px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  --soft-box: rgba(237, 240, 245, 0.02);
  --border-soft: rgba(237, 240, 245, 0.04);
}

* {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

html, body {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  position: relative;
}

.bg-noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 200px 200px;
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: screen;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(200, 255, 99, 0.16) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(12px);
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}

body::before {
  top: -120px;
  right: -110px;
}

body::after {
  bottom: -210px;
  left: -210px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.27; }
  50% { transform: translateY(30px) translateX(22px); opacity: 0.6; }
}

.wrap {
  width: min(950px, 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.card {
  width: min(520px, 100%);
  background: radial-gradient(circle at 20% 20%, rgba(200, 255, 99, 0.05) 0%, rgba(3, 4, 5, 0.6) 28%, rgba(4, 5, 7, 0.2) 100%), rgba(7, 9, 14, 0.12);
  border: 1px solid rgba(238, 242, 255, 0.02);
  border-top: 1px solid rgba(238, 242, 255, 0.05);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px);
  padding: 28px 26px 26px;
  position: relative;
  overflow: hidden;
  margin: 24px 0 60px;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  height: 130%;
  background: linear-gradient(120deg, rgba(180, 180, 180, 0.03) 0%, rgba(210, 210, 210, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
  animation: moveGlow 13s linear infinite;
  transform: rotate(-16deg);
  pointer-events: none;
}

@keyframes moveGlow {
  0% { transform: translateX(-30%) rotate(-16deg); }
  100% { transform: translateX(60%) rotate(-16deg); }
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.avatar-wrap {
  width: 116px;
  height: 116px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(200, 255, 99, 0.09) 0, rgba(5, 6, 7, 0.8) 50%, rgba(0, 0, 0, 0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  position: relative;
  box-shadow: 0 0 40px rgba(200, 255, 99, 0.06);
}

.avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px dashed rgba(200, 255, 99, 0.28);
  animation: rotate 9s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.avatar {
  width: 87px;
  height: 87px;
  border-radius: 999px;
  background: #0f1014 center/cover no-repeat;
  background-image: url("avatar.jpg");
  box-shadow: inset 0 0 0 2px rgba(3, 4, 5, 0.6);
}

.lang-inside {
  position: absolute;
  right: 16px;
  top: 8px;
  display: inline-flex;
  gap: 5px;
  background: rgba(5, 6, 7, 0.35);
  border: 1px solid rgba(237, 240, 245, 0.07);
  border-radius: 999px;
  padding: 3px 6px 3px 6px;
  backdrop-filter: blur(10px);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(237, 240, 245, 0.55);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 3px 8px 3px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.16s ease-out;
  letter-spacing: 0.04em;
}

.lang-btn.active {
  background: rgba(200, 255, 99, 0.12);
  color: #fff;
  border: 1px solid rgba(200, 255, 99, 0.3);
}

.title {
  font-size: clamp(30px, 3vw, 35px);
  letter-spacing: -0.02em;
  font-weight: 650;
  text-align: center;
  margin-bottom: 6px;
}

.subtitle {
  color: rgba(237, 240, 245, 0.55);
  font-size: 0.88rem;
  text-align: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.metric {
  background: radial-gradient(circle at 20% 20%, rgba(200, 255, 99, 0.12) 0%, rgba(11, 12, 15, 0.3) 65%, rgba(0, 0, 0, 0) 100%);
  border: 1px solid rgba(209, 214, 224, 0.02);
  border-radius: 20px;
  padding: 13px 14px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  backdrop-filter: blur(18px);
}

.metric span:first-child {
  font-size: 1.55rem;
  font-weight: 650;
  line-height: 1.1;
}

.metric span:last-child {
  font-size: 0.72rem;
  color: rgba(237, 240, 245, 0.5);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(120deg, rgba(200, 255, 99, 0.13) 0%, rgba(200, 255, 99, 0.03) 100%);
  color: #eff3ff;
  border: 1px solid rgba(200, 255, 99, 0.16);
  border-radius: 999px;
  padding: 5px 12px 4px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  max-width: fit-content;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(238, 240, 246, 0.5);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.links {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: radial-gradient(circle, rgba(7, 9, 14, 0.5) 0%, rgba(5, 6, 7, 0.08) 100%);
  border: 1px solid rgba(237, 240, 247, 0.02);
  border-radius: 18px;
  padding: 13px 15px 12px;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: 0.24s ease-out;
}

.link-card:hover {
  border-color: rgba(200, 255, 99, 0.3);
  transform: translateY(-2px);
  background: radial-gradient(circle, rgba(200, 255, 99, 0.04) 0%, rgba(7, 9, 14, 0.26) 100%);
}

.link-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.link-title {
  font-weight: 610;
  font-size: 0.78rem;
  display: flex;
  gap: 6px;
  align-items: center;
}

.t-name {
  color: rgba(237, 240, 245, 0.5);
  font-size: 0.61rem;
}

.link-count {
  font-size: 0.7rem;
  color: rgba(237, 240, 245, 0.6);
}

.badge-tg {
  font-weight: 560;
  font-size: 0.62rem;
  background: rgba(200, 255, 99, 0.09);
  border: 1px solid rgba(200, 255, 99, 0.32);
  border-radius: 999px;
  padding: 3px 10px 3px;
  color: #eff3ff;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

.k-dot {
  width: 6px;
  height: 6px;
  background: #c8ff63;
  border-radius: 999px;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.mt-space {
  margin-top: 26px;
}

.deal-flow {
  display: grid;
  gap: 11px;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.deal-step {
  display: flex;
  gap: 14px;
  background: radial-gradient(circle, rgba(238, 240, 245, 0.03) 0%, rgba(0,0,0,0) 100%);
  border: 1px solid rgba(237, 240, 245, 0.014);
  border-radius: 16px;
  padding: 11px 13px 11px;
  align-items: flex-start;
}

.deal-label {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(200, 255, 99, 0.2);
  border: 1px solid rgba(200, 255, 99, 0.6);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.75rem;
  flex: 0 0 auto;
}

.deal-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.72rem;
  color: rgba(237, 240, 245, 0.8);
}

.deal-title {
  font-weight: 600;
  font-size: 0.74rem;
}

.deal-block {
  background: radial-gradient(circle, rgba(237, 240, 245, 0.015) 0, rgba(0,0,0,0) 100%);
  border: 1px solid rgba(237, 240, 245, 0.013);
  border-radius: 14px;
  padding: 9px 12px 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.deal-subtitle {
  font-size: 0.74rem;
  color: rgba(237, 240, 245, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.deal-list {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 2px;
  font-size: 0.72rem;
}

.crypto-line {
  font-size: 0.72rem;
  word-break: break-all;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.crypto-line span:last-child {
  background: rgba(200, 255, 99, 0.035);
  border: 1px solid rgba(200, 255, 99, 0.14);
  border-radius: 8px;
  padding: 4px 6px 3px;
  display: inline-block;
  margin-top: 4px;
}

.deal-block.warn {
  background: radial-gradient(circle, rgba(246, 201, 104, 0.03) 0, rgba(0,0,0,0) 100%);
  border: 1px solid rgba(246, 201, 104, 0.09);
}

.gray-flow {
  position: absolute;
  inset: 42% -30%;
  height: 90%;
  background: radial-gradient(circle, rgba(190, 193, 196, 0.07) 0, rgba(0,0,0,0) 80%);
  filter: blur(78px);
  animation: flow 25s ease-in-out infinite;
  pointer-events: none;
}

@keyframes flow {
  0%, 100% { transform: translateX(0) translateY(0); opacity: 0.3; }
  50% { transform: translateX(12px) translateY(-12px); opacity: 0.6; }
}

.foot-hint {
  margin-top: 15px;
  font-size: 0.63rem;
  color: rgba(237, 240, 245, 0.3);
  text-align: center;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

@media (max-width: 620px) {
  body {
    padding: 12px;
    display: block;
    touch-action: pan-y;
  }
  .wrap {
    min-height: auto;
  }
  .card {
    width: 100%;
    padding: 22px 16px 18px;
    margin: 16px 0 60px;
  }
  .lang-inside {
    right: 12px;
    top: 6px;
  }
}