
  :root {
    --bg: #ffffff;
    --accent: #1dbf73;
    --accent-dark: #16a865;
    --text: #111;
    --muted: #6b7280;
    --border: #e5e7eb;
  }

  html, body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
  }

  .modal {
    width: 100%;
    max-width: 400px;
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
overflow: visible;

  }

.logo-blob {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(29,191,115,0.3);
  animation: glow 3s ease-in-out infinite;
  overflow: hidden;
}

.logo-blob img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  border-radius: 12px;
  animation: pulse 3s ease-in-out infinite;
}

/* мягкое свечение блока */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(29,191,115,0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(29,191,115,0.6);
  }
}

/* плавное мерцание логотипа */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

  h1 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
  }

  p.lead {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
  }
p.lead2 {
  margin: 0 0 20px;
  color: #000000; /* темнее чем var(--muted) */
  font-size: 17px; /* чуть больше */
  font-weight: 500; /* немного жирнее для контраста */
}

button.verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  color: white;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .3s ease;
  animation: pulse 1.5s infinite, shimmer 3s infinite linear;
}

button.verify:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(29,191,115,0.35);
}

/* Пульсация (мягкое дыхание свечения) */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(29,191,115,0.4); }
  50% { box-shadow: 0 0 20px 5px rgba(29,191,115,0.6); }
  100% { box-shadow: 0 0 0 0 rgba(29,191,115,0.4); }
}

/* Мерцание — пробегающее сияние по кнопке */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

button.verify::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -150%; }
  60% { left: 150%; }
  100% { left: 150%; }
}

  .status {
    margin-top: 14px;
    font-size: 13px;
    min-height: 18px;
    color: var(--muted);
  }

  .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.08);
    border-top-color: var(--accent);
    animation: spin .8s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }

  .micro {
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
  }

  /* Username form */
  .username-form {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .username-form.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .username-form input {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 12px;
  }

  .username-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
  }
.hint {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: var(--accent);
  font-weight: 600;
}

/* Контейнер всплывающей подсказки */
.tooltip-content {
  position: absolute;
  bottom: calc(100% + 14px); /* немного выше элемента */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  color: #111;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  width: 280px;
  max-width: 90vw; /* не выйдет за экран */
  text-align: left;
  line-height: 1.45;
  font-size: 13.5px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 3px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
  overflow: visible;
}

/* Плавное появление */
.tooltip:hover .tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Стиль текста и картинки */
.tooltip-content p {
  margin: 0 0 6px;
  color: #333;
}
.tooltip-content img {
  width: 100%;
  border-radius: 8px;
  margin-top: 4px;
}

/* Маленький треугольник под подсказкой */
.tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.08));
}
.username-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 999;
}
.username-modal.visible {
  opacity: 1;
  pointer-events: all;
}
.username-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.username-modal-window {
  position: relative;
  background: #fff;
  padding: 24px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  max-width: 420px;
  text-align: center;
  z-index: 1000;
  animation: scaleIn 0.25s ease;
}
.username-modal-window h2 {
  margin-bottom: 10px;
  color: #111;
}
.username-modal-window p {
  color: #333;
  margin-bottom: 14px;
}
.username-modal-window img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 18px;
}
.username-modal-window button {
  background: var(--accent, #1dbf73);
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}
.username-modal-window button:hover {
  background: #18a962;
}
@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

      @keyframes fadeIn { from{opacity:0;transform:scale(0.96);} to{opacity:1;transform:scale(1);} }

      .order-modal {
        background:#fff;
        width:95%;
        max-width:760px;
        border-radius:12px;
        box-shadow:0 8px 30px rgba(0,0,0,0.25);
        position:relative;
        animation:fadeIn .25s ease-out;
        overflow:hidden;
        margin:40px 0;
      }

      .closeBtn {
        position:absolute; top:14px; right:18px;
        font-size:26px; color:#999; cursor:pointer;
      }

      .progress-header {
        display:flex; align-items:center; justify-content:center;
        overflow-x:auto; gap:10px;
        padding:14px 8px; border-bottom:1px solid #eee; background:#f9f9f9;
      }

      .progress-step { display:flex; flex-direction:column; align-items:center; font-size:12px; color:#666; flex:0 0 auto; }
      .progress-step .circle { width:14px; height:14px; border-radius:50%; background:#ccc; margin-bottom:4px; }
      .progress-step.active .circle { background:#1dbf73; }
      .progress-step.active span { color:#1dbf73; font-weight:600; }
      .progress-line { width:24px; height:2px; background:#ddd; flex-shrink:0; }

      .order-body { display:flex; flex-direction:column; padding:18px 20px; gap:18px; }

      .order-left { text-align:center; }
      .gig-img { width:100%; border-radius:10px; object-fit:cover; }
      .seller { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:10px; }
      .avatar { width:48px; height:48px; border-radius:50%; border:2px solid #eee; object-fit:cover; }
      .username { font-weight:600; color:#333; font-size:15px; }

      .order-summary {
        margin-top:18px;
        background:#f9f9f9;
        border:1px solid #e7e7e7;
        border-radius:10px;
        padding:14px 16px;
        font-size:13.5px;
        color:#444;
        line-height:1.55;
        text-align:left;
      }

      .order-right h2 {
        font-size:18px; color:#111; margin:0 0 10px;
      }

      .info-box {
        background:#f3fdf8;
        border:1px solid #cceede;
        padding:14px 16px;
        border-radius:10px;
        display:flex;
        flex-direction:column;
        gap:12px;
      }

      .info-item {
        display:flex;
        align-items:flex-start;
        gap:10px;
      }

      .icon { width:20px; height:20px; color:#1dbf73; flex-shrink:0; }
      .icon svg { width:100%; height:100%; }
      .info-item p { font-size:13.5px; color:#333; margin:0; line-height:1.4; }

      .total { display:flex; justify-content:space-between; font-size:15px; font-weight:600; margin-top:10px; }

      #claimBtn {
        width:100%;
        background:linear-gradient(90deg,#1dbf73,#0e9e5a);
        border:none; border-radius:8px;
        color:#fff; font-weight:600;
        padding:14px 0; margin-top:10px;
        font-size:15px; cursor:pointer;
        transition:all .2s ease;
      }

      #claimBtn:hover {
        transform:translateY(-1px);
        box-shadow:0 4px 12px rgba(29,191,115,0.25);
      }

      @media(min-width:768px) {
        .order-body { flex-direction:row; }
        .order-left { flex:0 0 45%; padding-right:20px; border-right:1px solid #eee; }
        .order-right { flex:1; padding-left:20px; }
      }
