/* RESET */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }
  
  body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: #f7f8fb;
    color: #2b2b2b;
  }
  
  /* APP */
  .app {
    position: relative;
  
    max-width: 390px;
    min-height: calc(100vh - 40px);
    margin: 20px;
    padding: 20px 16px 28px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 22px;
  
  }


  .app::before,
  .app::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    pointer-events: none;
  }
  
  /* первая дополнительная линия */
  .app::before {
    border: 2px solid rgb(49 12 1);;
    transform: rotate(-0.6deg) translate(-3px, 2px);
  }
  
  /* вторая дополнительная линия */
  .app::after {
    border: 2px solid rgb(49 12 1);;
    transform: rotate(0.4deg) translate(2px, -3px);
  }
  
  
  /* TOP IMAGE */
  .top-icon {
    display: flex;
    justify-content: center;
    margin: 12px 0 12px;
  }
  
  .top-icon img {
   
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
  }
  
  /* HEADER */
  .header h1 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
  }
  
  .meta {
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    margin-top: 10px;
  }
  
  /* CARDS (base) */
  .card {
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 2px dashed rgba(0,0,0,.08);
  }
  
  /* MINT CARD */
  .card-mint {
    background: #dff3ee;
    border-color: #9fcfc2;
  }
  
  /* BEIGE CARD */
  .info_text {
    font-size: 10px;
    color: silver;

  }
  
  /* SMALL CARD */
  .card.small {
    font-size: 12px;
  }
  
  /* TEXT */
  .card h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
  }
  
  .card h3 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 6px;
  }
  
  .card p {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
  }
  
  .card ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .card li {
    margin-bottom: 6px;
    line-height: 1.4;
  }
  
  /* CTA */
  .cta {
    margin-top: auto;
    padding: 20px 0;
  }
  
  .btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 54px;
    border-radius: 999px;
    background: #72556F;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgb(49 12 1);
  }
  
  .btn-primary:active {
    background: #5a3d52;
  }
  

/* SHARE ANSWERS (НЕ ЛЕЗУТ В ТЕСТ) */
.share-answer {
    display: flex;
    justify-content: center;
    align-items: center;
  
    height: 52px;
    border-radius: 16px;
  
    background: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #2b2b2b;
    margin: 20px auto;
    border: 2px solid rgba(0,0,0,.15);
  }
  
  .share-wa {
    border-color: #25D366;
  }
  
  .share-max {
    border-color: #2F80ED;
  }
  
  .share-answer:active {
    background: #f3f3f3;
  }
  
  








  /* SHARE COLOR THEMES */
.app[data-app="wa"] {
    --share-color: #25D366;
  }
  
  .app[data-app="max"] {
    --share-color: #2F80ED;
  }
  
  /* progress */
  .progress span.done {
    background: var(--share-color);
    border-color: var(--share-color);
  }
  
  /* share button */
  .btn-primary.share {
    background: var(--share-color);
  }
  
  .btn-primary.share:active {
    filter: brightness(0.9);
  }
  

.share-page .cta {
  margin-top: 24px;
}

.test-page .cta,
.result-page .cta {
  margin-top: auto;
}