/* Life Code — Kişilik renk testi (site renkleri /style.css :root'tan gelir; sonuç rengi --c / --c2 ile CSSOM'dan) */
.rt-page { --amb1: #a3214a; --amb2: #6b4fcf; background: var(--paper); position: relative; overflow-x: hidden; }
/* Arka planda yavaşça süzülen ışık bulutları: sorular ilerledikçe ve sonuçta kişilik renginin tonlarına döner */
.rt-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.rt-aurora span { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .28; transition: background 1.2s ease; animation: rtDrift 22s ease-in-out infinite alternate; }
.rt-aurora span:nth-child(1) { background: var(--amb1); top: -14vmax; left: -10vmax; }
.rt-aurora span:nth-child(2) { background: var(--amb2); bottom: -18vmax; right: -12vmax; animation-duration: 28s; animation-delay: -6s; }
.rt-aurora span:nth-child(3) { background: var(--gold); top: 30%; left: 45%; width: 26vmax; height: 26vmax; opacity: .14; animation-duration: 34s; }
@keyframes rtDrift { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }
.rt-page > header, .rt-page > main, .rt-page > footer { position: relative; z-index: 1; }
.rt {
  max-width: 1120px; margin: 0 auto; padding: 1.5rem 1.25rem 3.5rem;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2.5rem; align-items: start;
}

/* ---------------- Renk küresi (solda, mobilde üstte) */
.rt-stage { position: sticky; top: 1.25rem; display: grid; justify-items: center; gap: 1.4rem; padding: 2.4rem 1rem 2rem; border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .38)); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 30px 70px rgba(30, 20, 35, .12); }
.rt-orb { --c: #a3214a; --c2: #6b4fcf; position: relative; width: min(100%, 300px); aspect-ratio: 1; }
.rt-orb-glow, .rt-orb-core { position: absolute; inset: 0; border-radius: 50%; }
.rt-orb-core {
  background: conic-gradient(from 0deg, #c62f3a, #e8772e, #e9b93a, #3f9a6b, #3a78c2, #2b3a78, #7b4bb0, #d8648f, #c62f3a);
  box-shadow: inset 0 -18px 40px rgba(0, 0, 0, .18), inset 0 18px 40px rgba(255, 255, 255, .35), 0 24px 60px rgba(30, 20, 35, .18);
  animation: rtSpin 24s linear infinite; transition: background .6s, transform .6s;
}
.rt-orb-core::after { content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .85), rgba(255, 255, 255, .15) 45%, transparent 70%); }
.rt-orb-gl { position: absolute; inset: -14%; width: 128%; height: 128%; display: none; touch-action: none; }
.rt-orb.is-gl .rt-orb-gl { display: block; }
.rt-orb.is-gl .rt-orb-core { opacity: 0; animation: none; }
.rt-orb-glow { inset: -12%; background: radial-gradient(circle, rgba(163, 33, 74, .18), transparent 65%); filter: blur(10px); transition: background .6s; }
.rt-orb.is-live .rt-orb-core, .rt-orb.is-result .rt-orb-core { background: radial-gradient(circle at 32% 28%, var(--c), var(--c2) 78%); animation: rtBreath 4s ease-in-out infinite; }
.rt-orb.is-live .rt-orb-glow, .rt-orb.is-result .rt-orb-glow { background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, transparent), transparent 66%); }
@keyframes rtSpin { to { transform: rotate(360deg); } }
@keyframes rtBreath { 50% { transform: scale(1.035); } }
.rt-dots { display: flex; gap: .55rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.rt-dots li { --c: #ccc; width: 18px; height: 18px; border-radius: 50%; background: var(--c); opacity: .45; transition: opacity .3s, transform .3s; }
.rt-dots li.is-on { opacity: 1; transform: scale(1.3); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--c); }

/* ---------------- Panel */
.rt-panel { min-height: 60vh; padding-top: .5rem; }
.rt-loading { color: var(--muted); }
.rt-screen { animation: rtIn .45s var(--ease, ease) both; }
/* giriş ve soru ekranı: cam kart */
.rt-intro, .rt-quiz { padding: 2rem 2rem 1.6rem; border-radius: 32px; background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5));
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 30px 70px rgba(30, 20, 35, .1); }
.rt-w { display: inline-block; will-change: transform, opacity, filter; }
.rt-pre { opacity: 0; }
/* 16 bölmeli ilerleme */
.rt-steps { display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; list-style: none; padding: 0; margin: 0 0 1rem; }
.rt-steps li { --c: var(--line); --c2: var(--line); height: 6px; border-radius: 999px; background: var(--line-2); transition: background .4s; }
.rt-steps li.is-done { background: linear-gradient(90deg, var(--c), var(--c2)); }
.rt-steps li.is-now { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
@keyframes rtIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rt-kicker { margin: 0 0 .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.rt-title { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; color: var(--ink); }
.rt-title em { display: block; font-style: italic; color: var(--accent); }
.rt-lead { margin: 0 0 1.6rem; font-size: 1.08rem; line-height: 1.65; color: var(--ink-2); max-width: 38rem; }
.rt-input { display: grid; gap: .35rem; margin-bottom: 1rem; }
.rt-input label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.rt-opt { font-weight: 400; color: var(--muted); font-size: .84rem; }
.rt-input input, .rt-input textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font: inherit; color: var(--ink); }
.rt-input input:focus, .rt-input textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.rt-intro .rt-input { max-width: 22rem; }
.rt-start { margin: .4rem 0 1.4rem; min-width: 14rem; }
.rt-swatches { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.2rem; }
.rt-swatches li { --c: #ccc; width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .18); }
.rt-note { font-size: .85rem; color: var(--muted); max-width: 34rem; line-height: 1.55; }

/* ---------------- Soru */
.rt-progress { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; margin-bottom: .9rem; }
.rt-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width .4s; }
.rt-count { margin: 0 0 .5rem; font-size: .85rem; color: var(--muted); font-weight: 600; }
.rt-q { margin: 0 0 1.4rem; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.2; color: var(--ink); outline: none; }
.rt-opts { display: grid; gap: .7rem; }
.rt-opt-btn { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; padding: 1rem 1.1rem; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 1.02rem; color: var(--ink); cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s, background .2s; position: relative; overflow: hidden; }
.rt-opt-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; pointer-events: none; }
.rt-opt-btn:hover::after { transform: translateX(120%); }
.rt-opt-btn:hover { border-color: var(--gold-line); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.rt-opt-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rt-opt-key { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 700;
  background: var(--gold-soft); color: var(--gold-deep); transition: background .2s, color .2s; }
.rt-opt-btn.is-sel { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.rt-opt-btn.is-sel .rt-opt-key { background: var(--accent); color: #fff; }
.rt-nav { display: flex; justify-content: space-between; margin-top: 1.4rem; }
.rt-link { background: none; border: 0; padding: .4rem 0; font: inherit; font-size: .92rem; color: var(--muted); cursor: pointer; }
.rt-link:hover:not(:disabled) { color: var(--accent); }
.rt-link:disabled { opacity: .35; cursor: default; }

/* ---------------- Sonuç */
.rt-result { --c: #a3214a; --c2: #6b4fcf; }
.rt-hero { padding: 1.8rem 1.8rem 1.6rem; border-radius: 26px; color: #fff; margin-bottom: 1.2rem; position: relative; overflow: hidden;
  background: radial-gradient(70% 90% at 85% 10%, rgba(255, 255, 255, .28), transparent 60%), linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 20px 50px color-mix(in srgb, var(--c2) 35%, transparent); }
.rt-hero .rt-kicker { color: rgba(255, 255, 255, .85); }
.rt-you { margin: 0; font-size: 1.05rem; opacity: .92; }
.rt-color { margin: .1rem 0 .8rem; font-family: var(--serif); font-size: clamp(3rem, 8vw, 5rem); line-height: 1; color: #fff; }
.rt-kw { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 1.1rem; }
.rt-kw li { padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); font-weight: 600; font-size: .9rem; }
.rt-second { margin: 0; font-size: .95rem; line-height: 1.55; opacity: .95; }
.rt-dot { --c: #ccc; display: inline-block; width: .85rem; height: .85rem; border-radius: 50%; background: var(--c); vertical-align: -.05rem; margin-right: .45rem; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.rt-card { padding: 1.3rem 1.4rem; border-radius: 22px; margin-bottom: 1rem; background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .6));
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 14px 40px rgba(30, 20, 35, .07); }
.rt-card h2 { margin: 0 0 .7rem; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.rt-card p { margin: 0; line-height: 1.65; color: var(--ink-2); }
.rt-essence { border-left: 4px solid var(--c); }
.rt-essence p { font-size: 1.06rem; }
.rt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.rt-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.rt-list li { position: relative; padding-left: 1.5rem; line-height: 1.5; color: var(--ink-2); }
.rt-list li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--c); }
.rt-minus .rt-list li::before { background: transparent; border: 2px solid var(--c); width: .5rem; height: .5rem; }
.rt-tips .rt-list li::before { content: "✓"; background: none; width: auto; height: auto; top: 0; color: var(--c); font-weight: 700; }
.rt-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.rt-bars li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 3rem; gap: .7rem; align-items: center; font-size: .92rem; }
.rt-bar-n { font-weight: 600; color: var(--ink); }
.rt-bar-t { height: 12px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.rt-bar-t span { --c: #ccc; --c2: #999; display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--c), var(--c2)); }
.rt-bar-v { text-align: right; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rt-match { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.rt-match li { display: grid; grid-template-columns: auto 1fr; column-gap: .1rem; align-items: center; }
.rt-match .rt-dot { box-shadow: none; grid-row: span 2; width: 1.6rem; height: 1.6rem; margin-right: .7rem; }
.rt-match small { color: var(--muted); }
.rt-bridge { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 12%, #fff), rgba(255, 255, 255, .75)); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.rt-bridge h2 { font-size: 1.45rem; }
.rt-bridge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.rt-bridge-price { display: grid; line-height: 1.15; }
.rt-bridge-price small { color: var(--muted); font-size: .78rem; }
.rt-bridge-price strong { font-size: 1.3rem; color: var(--ink); }
.rt-mizac { background: linear-gradient(180deg, #fffdf9, var(--paper-2)); }
.rt-more { display: inline-block; margin-top: .7rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.rt-more:hover { text-decoration: underline; }
.rt-share { display: grid; justify-items: center; gap: .4rem; margin: 1.6rem 0 .4rem; perspective: 1100px; }
.rt-card3d { --sx: 50%; --sy: 30%; position: relative; width: min(100%, 360px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; transform-style: preserve-3d;
  transition: transform .25s ease-out; box-shadow: 0 30px 60px color-mix(in srgb, var(--c2) 40%, transparent), 0 8px 18px rgba(0, 0, 0, .12); background: linear-gradient(135deg, var(--c), var(--c2)); }
.rt-card3d img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rt-card3d-shine { position: absolute; inset: 0; background: radial-gradient(circle at var(--sx) var(--sy), rgba(255, 255, 255, .35), transparent 45%); mix-blend-mode: soft-light; pointer-events: none; }
.rt-share .rt-actions { justify-content: center; }
.rt-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin: 1.3rem 0 .8rem; }
.rt-disclaimer { font-size: .82rem; color: var(--muted); line-height: 1.5; margin: 0 0 1.6rem; }
.rt-cta { padding: 1.6rem; border-radius: 24px; background: var(--ink); color: #fff; }
.rt-cta .rt-kicker { color: var(--saffron); }
.rt-cta h2 { margin: 0 0 .5rem; font-family: var(--serif); color: #fff; }
.rt-cta > p { margin: 0 0 1.2rem; color: rgba(255, 255, 255, .82); line-height: 1.6; }
.rt-cta .rt-input label { color: #fff; }
.rt-cta .rt-input input, .rt-cta .rt-input textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.rt-cta .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.rt-cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.rt-grid2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 .8rem; }
.rt-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; line-height: 1.5; color: rgba(255, 255, 255, .8); margin: .3rem 0 .6rem; }
.rt-consent a { color: var(--saffron); }
.rt-consent input { margin-top: .25rem; }
.rt-msg { min-height: 1.2em; margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.rt-msg.is-error { color: #ffb4b4; }
.rt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 900px) {
  .rt-intro, .rt-quiz { padding: 1.4rem 1.2rem; border-radius: 24px; }
  .rt-orb-gl { inset: -18%; width: 136%; height: 136%; }
  .rt { grid-template-columns: 1fr; gap: 1.2rem; }
  .rt-stage { position: static; grid-template-columns: auto 1fr; justify-items: start; align-items: center; padding: 1rem; border-radius: 20px; }
  .rt-orb { width: 110px; }
  .rt-dots { justify-content: flex-start; }
  .rt-grid, .rt-grid2 { grid-template-columns: 1fr; }
  .rt-hero { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rt-aurora span { animation: none; }
  .rt-card3d { transition: none; }
  .rt-orb-core, .rt-orb.is-live .rt-orb-core, .rt-orb.is-result .rt-orb-core { animation: none; }
  .rt-screen { animation: none; }
}

/* bülten aboneliği */
.rt-news { margin-top: 1rem; }
.rt-news-form { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .8rem; }
.rt-news-form input { flex: 1 1 220px; padding: .75rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font: inherit; }
.rt-news-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.rt-news .rt-msg { color: var(--ink-2); }
.rt-news .rt-msg.is-error { color: #b42318; }

/* Kişilik rengi sayfaları (renk-testi/<renk>/): sayfanın rengi CSS sınıfından (satır içi stil yok) */
.rp { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.rp-hero { --c: #7b4bb0; --c2: #43226a; }
.rp-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.rp-chip { --c: #999; padding: .45rem .9rem; border-radius: 999px; background: var(--c); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.rp-chip:hover { filter: brightness(1.08); }
.rp-cta { margin: 1.4rem 0; }
.rp-cta .btn { margin-top: .4rem; }
.rp-others { margin: 1rem 0; }
.rp-others h2 { font-family: var(--serif); font-size: 1.2rem; }
.rp-kirmizi { --c: #c62f3a; --c2: #7a1420; --amb1: #c62f3a; --amb2: #7a1420; } .rp-chip.rp-kirmizi { --c: #c62f3a; }
.rp-turuncu { --c: #e8772e; --c2: #9c3f12; --amb1: #e8772e; --amb2: #9c3f12; } .rp-chip.rp-turuncu { --c: #e8772e; }
.rp-sari { --c: #e9b93a; --c2: #a3701a; --amb1: #e9b93a; --amb2: #a3701a; } .rp-chip.rp-sari { --c: #e9b93a; }
.rp-yesil { --c: #3f9a6b; --c2: #1d5a3d; --amb1: #3f9a6b; --amb2: #1d5a3d; } .rp-chip.rp-yesil { --c: #3f9a6b; }
.rp-mavi { --c: #3a78c2; --c2: #1b3f73; --amb1: #3a78c2; --amb2: #1b3f73; } .rp-chip.rp-mavi { --c: #3a78c2; }
.rp-lacivert { --c: #2b3a78; --c2: #141c40; --amb1: #2b3a78; --amb2: #141c40; } .rp-chip.rp-lacivert { --c: #2b3a78; }
.rp-mor { --c: #7b4bb0; --c2: #43226a; --amb1: #7b4bb0; --amb2: #43226a; } .rp-chip.rp-mor { --c: #7b4bb0; }
.rp-pembe { --c: #d8648f; --c2: #8c2c52; --amb1: #d8648f; --amb2: #8c2c52; } .rp-chip.rp-pembe { --c: #d8648f; }
.rp-page .rt-hero, .rp-page .rt-essence, .rp-page .rt-list li::before { --c: inherit; }
.rt-h1-static { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--ink); margin: 0 0 .5rem; }
