:root{
  --bg:#0e1021;
  --card:#161a33;
  --text:#eef2ff;
  --muted:#aab3ff;
  --pri:#5b7bff;
  --pri2:#8e7bff;
  --ok:#2de39a;
  --warn:#ff9a5b;
  --danger:#ff6b6b;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:linear-gradient(145deg,#0e1021 0%,#1a1f45 100%);
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  -webkit-font-smoothing:antialiased;
}

.page{
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}

.card{
  width:100%;
  max-width:600px;
  background:rgba(22,26,51,.9);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.1);
  border-radius:24px;
  padding:28px;
  box-shadow:0 25px 70px rgba(0,0,0,.4);
}

h1{
  font-size:24px;
  margin:0 0 8px;
  text-align:center;
  background:linear-gradient(135deg,var(--pri),var(--pri2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.subtitle{
  color:var(--muted);
  margin:0 0 20px;
  font-size:14px;
  text-align:center;
  line-height:1.5;
}

.col{display:grid;gap:12px}
.label{font-size:13px;color:var(--muted);font-weight:500}

.input{
  width:100%;
  height:52px;
  border-radius:16px;
  border:2px solid rgba(255,255,255,.15);
  background:#0f1330;
  color:var(--text);
  padding:0 18px;
  font-size:16px;
  transition:all 0.3s;
}

.input:focus{
  outline:none;
  border-color:var(--pri);
  box-shadow:0 0 0 4px rgba(91,123,255,.1);
}

.btn{
  height:52px;
  border:none;
  border-radius:16px;
  font-weight:700;
  cursor:pointer;
  font-size:16px;
  transition:all 0.3s;
  width:100%;
}

.btn-primary{
  background:linear-gradient(135deg,var(--pri) 0%,var(--pri2) 100%);
  color:#fff;
  box-shadow:0 8px 24px rgba(91,123,255,.3);
}

.btn-primary:active{
  transform:translateY(2px);
  box-shadow:0 4px 12px rgba(91,123,255,.3);
}

.hint{
  color:var(--muted);
  font-size:12px;
  margin:12px 2px 0;
  line-height:1.5;
}

.sep{
  height:2px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);
  margin:20px 0;
}

.badge{
  display:inline-block;
  padding:10px 16px;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(91,123,255,.25),rgba(142,123,255,.25));
  border:1px solid rgba(255,255,255,.15);
  margin:8px 0 12px;
  font-weight:600;
}

h2{margin:6px 0 10px;font-size:20px;font-weight:700}
.desc{color:var(--muted);margin:0 0 12px;line-height:1.6}

.chips{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0}
.chip{
  font-size:13px;
  color:#cfd6ff;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  padding:8px 14px;
  border-radius:999px;
  font-weight:500;
}

.block{
  margin:16px 0 12px;
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(5px);
}

.block.diagnosis{
  border-left:4px solid var(--ok);
  background:linear-gradient(135deg,rgba(45,227,154,.08),rgba(45,227,154,.03));
}

.block.correction{
  border-left:4px solid var(--warn);
  background:linear-gradient(135deg,rgba(255,154,91,.08),rgba(255,154,91,.03));
}

.block.balance{
  border-left:4px solid var(--pri);
  background:linear-gradient(135deg,rgba(91,123,255,.08),rgba(91,123,255,.03));
}

.list{
  display:grid;
  gap:10px;
  padding-left:0;
  margin:0;
}

.list li{
  list-style:none;
  padding:12px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  line-height:1.6;
}

.tarot{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}

.card-tarot{
  padding:16px;
  border-radius:16px;
  border:2px solid rgba(255,255,255,.15);
  background:linear-gradient(135deg,#10143a,#0a0e28);
  text-align:center;
  cursor:pointer;
  transition:all 0.3s;
  position:relative;
  overflow:hidden;
}

.card-tarot::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:linear-gradient(135deg,rgba(91,123,255,.1),transparent);
  opacity:0;
  transition:opacity 0.3s;
}

.card-tarot:hover{
  transform:translateY(-4px);
  border-color:rgba(91,123,255,.5);
  box-shadow:0 12px 32px rgba(91,123,255,.2);
}

.card-tarot:hover::before{opacity:1}

.tarot-icon{
  font-size:28px;
  margin-bottom:8px;
  position:relative;
  z-index:1;
}

.img-icon{
  width:32px;
  height:32px;
  object-fit:contain;
  vertical-align:-6px;
}

.tarot-icon .img-icon{
  width:50px;
  height:50px;
  vertical-align:middle;
}

.card-tarot strong{
  display:block;
  margin-top:8px;
  font-size:15px;
  position:relative;
  z-index:1;
}

.cta{
  margin-top:20px;
  text-align:center;
  background:linear-gradient(135deg,rgba(91,123,255,.2),rgba(142,123,255,.2));
  border:2px solid rgba(255,255,255,.15);
  border-radius:20px;
  padding:24px;
  backdrop-filter:blur(5px);
}

.btn-cta{
  background:linear-gradient(135deg,#ff6b6b 0%,#ff9a5b 100%);
  color:#fff;
  height:52px;
  border:none;
  border-radius:16px;
  font-weight:700;
  cursor:pointer;
  font-size:16px;
  box-shadow:0 8px 24px rgba(255,107,107,.3);
  margin-top:12px;
  width:100%;
}

.discount{
  margin-top:10px;
  color:#ffe28a;
  font-weight:700;
  font-size:15px;
}

.modal{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.95);
  z-index:1000;
  align-items:center;
  justify-content:center;
  padding:20px;
  backdrop-filter:blur(10px);
}

.modal.active{
  display:flex;
  animation:fadeIn 0.3s;
}

@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}

.modal-content{
  background:#161a33;
  border-radius:24px;
  padding:32px;
  max-width:90vw;
  max-height:90vh;
  position:relative;
  overflow-y:auto;
  border:2px solid rgba(255,255,255,.15);
  box-shadow:0 25px 70px rgba(0,0,0,.5);
}

.modal-close{
  position:absolute;
  top:20px;
  right:20px;
  background:rgba(255,255,255,.1);
  border:none;
  color:var(--text);
  width:40px;
  height:40px;
  border-radius:50%;
  cursor:pointer;
  font-size:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all 0.3s;
}

.modal-close:hover{
  background:rgba(255,255,255,.2);
  transform:rotate(90deg);
}

.modal-img{
  width:100%;
  max-width:450px;
  height:auto;
  border-radius:16px;
  margin:24px 0;
  box-shadow:0 12px 40px rgba(0,0,0,.4);
}

.modal-name{
  font-size:26px;
  font-weight:bold;
  margin:20px 0;
  text-align:center;
  background:linear-gradient(135deg,var(--pri),var(--pri2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.section-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin:20px 0 12px;
  font-size:18px;
  font-weight:700;
}

.section-title::before{
  content:'';
  width:4px;
  height:24px;
  background:linear-gradient(135deg,var(--pri),var(--pri2));
  border-radius:2px;
}

@media (max-width:520px){
  .card{padding:20px}
  .tarot{grid-template-columns:1fr}
  .modal-content{padding:24px}
  h1{font-size:20px}
}







