/* =========================================================
   BuyOrBye – style.css (EN-only, clean)
   Files live in /buyorbye/
   Images live in /img/ (root)
   ========================================================= */

* { box-sizing: border-box; }
html, body { height: 100%; }

:root{
  --bg:#000;

  --blue:#01A1F1;
  --green:#7CBB00;
  --orange:#F65314;
  --purple:#8F03B7;
  --yellow:#FFBB00;

  /* Subtitle typography (used across the UI) */
  --subtext-size: 15.5px;
  --subtext-weight: 750;
  --subtext-color: rgba(255,255,255,.80);
  --subtext-color-dark: rgba(0,0,0,.74);
}

body{
  margin:0;
  background: var(--bg);
  color:#fff;

  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "SF Pro Display",
               "Segoe UI Variable", "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  line-height:1.55;
  letter-spacing:.005em;
}

.wrap{ min-height:100%; padding:28px 18px 84px; }
.shell{ max-width:1040px; margin:0 auto; }

/* HERO */
.hero{
  display:flex;
  gap:18px;
  align-items:flex-start;
  justify-content:space-between;
  margin: 6px 0 18px;
}

.hero-left{ min-width: 0; }

.brand-row{
  display:flex;
  align-items:center;
  gap:12px;
}

.title{
  margin:0;
  font-size: clamp(30px, 3.8vw, 46px);
  letter-spacing:.06em;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-logo{
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 2px solid rgb(255, 255, 255);
  background: rgba(255,255,255,.08);
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.subtitle{
  margin:10px 0 0;
  max-width: 76ch;

  font-size: var(--subtext-size);
  font-weight: var(--subtext-weight);
  color: var(--subtext-color);
}

.hero-right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  min-width: 260px;
}

.hero-toprow{
  display:flex;
  align-items:center;
  gap:10px;
}

.mini-avatars{
  display:flex;
  gap:8px;
  align-items:center;
}

.mini-avatar{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.20);
  background:#000;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0,0,0,.40);
}

.pill{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  font-size: 13px;
}

/* Palette dots */
.palette-dots{
  display:flex;
  gap:10px;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.dot{
  width:16px;height:16px;
  border-radius:999px;
  border:2px solid rgba(0,0,0,.55);
}
.dot-blue{ background:var(--blue); }
.dot-green{ background:var(--green); }
.dot-orange{ background:var(--orange); }
.dot-purple{ background:var(--purple); }
.dot-yellow{ background:var(--yellow); }

/* GRID */
.grid{ display:grid; grid-template-columns: 1fr; gap:16px; }

/* CARDS */
.card{
  border-radius: 18px;
  padding: 16px 16px 14px;
  border: 2px solid rgba(0,0,0,.35);
  box-shadow: 0 14px 30px rgba(0,0,0,.40);
}

.card-head{ margin-bottom: 12px; }
.card-title{
  margin:0;
  font-size: 18px;
  letter-spacing:.02em;
  font-weight: 950;
}

/* Use subtitle typography across the UI (dark version inside colored cards) */
.card-sub,
.q-sub,
.micro,
.step-help,
.hint,
.outcome-tone{
  font-size: var(--subtext-size);
  font-weight: var(--subtext-weight);
  color: var(--subtext-color-dark);
}

/* Solid palette cards */
.card-blue{ background:var(--blue); color:#061018; }
.card-green{ background:var(--green); color:#0b1300; }
.card-orange{ background:var(--orange); color:#170800; }
.card-purple{ background:var(--purple); color:#0e0013; }
.card-yellow{ background:var(--yellow); color:#1a1200; }

/* Purple readability (override to light) */
.card-purple .card-sub,
.card-purple .micro,
.card-purple .mini-title,
.card-purple .hint,
.card-purple .step-help,
.card-purple .q-sub,
.card-purple .outcome-tone{
  color: rgba(255,255,255,.88);
}

/* INPUTS */
.input-row{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

/* Bottom nav: give breathing room from the question box */
.input-row-bottom{
  margin-top: 18px;
  padding-top: 6px;
}

.input{
  flex: 1 1 220px;
  height: 46px;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,.35);
  background: rgba(255,255,255,.94);
  color:#0b0b0b;
  padding: 0 14px;
  font-size: 16px;
  outline: none;
}
.input:focus{
  border-color: rgba(0,0,0,.70);
  box-shadow: 0 0 0 3px rgba(0,0,0,.18);
}

.btn{
  height:46px;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,.45);
  background: #000;
  color:#fff;
  padding: 0 14px;
  font-weight: 900;
  letter-spacing:.02em;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }

.btn.secondary{
  background: rgba(0,0,0,.14);
  color: rgba(0,0,0,.90);
}

/* TEXT HELPERS */
.micro{ margin:10px 0 0; }

.mini-title{
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing:.02em;
  font-weight: 950;
  color: rgba(0,0,0,.74);
}

.step-help{ margin: 0; }
.hint{ margin-top:10px; }

/* Questions */
.qgrid{ display:grid; gap:12px; }
.q{
  border-radius: 14px;
  padding: 12px;
  border: 2px solid rgba(0,0,0,.22);
  background: rgba(255,255,255,.16);
}
.q-label{ font-weight: 1000; letter-spacing:.01em; }
.q-sub{ margin-top:4px; }
.q-controls{ margin-top:10px; display:grid; gap:10px; }

/* Choices */
.choices{ display:grid; gap:10px; }
.choice{
  display:flex;
  gap:10px;
  align-items:flex-start;
  border-radius: 12px;
  padding: 10px;
  border: 2px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.76);
  cursor:pointer;
}
.choice input{ margin-top: 2px; }
.choice strong{ font-weight: 1000; }

/* Error */
.err{
  border-radius: 12px;
  padding: 10px 12px;
  border: 2px solid rgba(0,0,0,.25);
  background: rgba(0,0,0,.10);
  font-weight: 950;
}

/* Result layout: multiple cards */
.result-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
}

/* Outcome section */
.outcome-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:14px;
  padding: 6px 0 2px;
}

.decision-word{
  font-size: 52px;
  line-height: 1;
  margin: 0;
  letter-spacing: .10em;
  font-weight: 1000;
}
.decision-word.wait{ font-size: 64px; }

.clipart{
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.clipart svg{ width: 74px; height: 74px; }

/* Lists */
.bullets{ margin:0; padding-left: 18px; }
.bullets li{ margin: 6px 0; font-weight: 850; }

/* Simple enter animation */
.card-anim{
  animation: fadeUp .16s ease-out;
}
@keyframes fadeUp{
  from{ opacity:0; transform: translateY(8px); }
  to{ opacity:1; transform: translateY(0); }
}

@media (max-width: 860px){
  .hero{ flex-direction:column; align-items:flex-start; }
  .hero-right{ align-items:flex-start; min-width:0; }
  .title{ white-space: normal; }
}
.clipart-img{
  width: 180px;
  height: 180px;

  border-radius: 999px;          /* daire */
  border: 3px solid rgba(0,0,0,.22);

  background: rgba(255,255,255,.25);
  object-fit: cover;             /* JPG/PNG kırpma düzgün olsun */

  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}
