/* Lucky Tarot Smart Products - scoped styles */
.ltsp-tarot,
.ltsp-tarot *,
.ltsp-smart-products,
.ltsp-smart-products * { box-sizing: border-box; }

.ltsp-tarot {
  --ltsp-gold: #d9aa50;
  --ltsp-gold2: #ffe2a0;
  --ltsp-ink: #020805;
  --ltsp-green: #071b13;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 72px 22px;
  color: #f6efdf;
  background:
    radial-gradient(circle at 82% 18%, rgba(157,106,27,.19), transparent 30%),
    radial-gradient(circle at 15% 40%, rgba(8,105,64,.18), transparent 36%),
    linear-gradient(180deg, #020604 0%, #03110c 50%, #020705 100%);
  isolation: isolate;
  font-family: Arial, Helvetica, sans-serif;
}
.ltsp-tarot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(220,174,80,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220,174,80,.05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at center, #000 15%, transparent 78%);
}
.ltsp-shell { position: relative; z-index: 3; width: min(1120px, 100%); margin: 0 auto; }
.ltsp-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.ltsp-kicker,
.ltsp-reading-kicker,
.ltsp-smart-head > span,
.ltsp-recommend-head span,
.ltsp-product-kicker {
  color: rgba(227,185,101,.67);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3.2px;
}
.ltsp-head h2 { margin: 10px 0 9px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 5.6vw, 68px); line-height: .98; font-weight: 400; color: #f7efdc; }
.ltsp-head p { margin: 0; color: rgba(255,255,255,.47); font-family: Georgia, serif; font-size: 13px; letter-spacing: .8px; }
.ltsp-stage {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(224,179,89,.20);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(6,22,15,.88), rgba(2,10,7,.82));
  box-shadow: 0 30px 90px rgba(0,0,0,.44), inset 0 0 60px rgba(210,157,50,.035);
}
.ltsp-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 40%, rgba(213,161,65,.11), transparent 27%); }
.ltsp-intro { position: relative; z-index: 2; min-height: 470px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 45px 22px; transition: opacity .45s ease, transform .45s ease; }
.ltsp-intro.ltsp-fade-out { opacity: .12; transform: scale(.98); }
.ltsp-intro-symbol { width: 82px; height: 82px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid rgba(223,177,85,.32); border-radius: 50%; color: #ddb15e; font-family: Georgia, serif; font-size: 33px; box-shadow: 0 0 50px rgba(218,167,70,.08), inset 0 0 25px rgba(218,167,70,.05); animation: ltspBreath 3s ease-in-out infinite; }
.ltsp-intro h3 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 29px; font-weight: 400; color: #f3ead4; }
.ltsp-intro > p { max-width: 690px; margin: 0 0 26px; color: rgba(255,255,255,.56); font-size: 14px; line-height: 1.75; }
.ltsp-draw { display: inline-flex; align-items: center; gap: 24px; min-height: 50px; padding: 0 10px 0 22px; border: 1px solid #c9993c; background: transparent; color: #e6bd6c; font-size: 9px; font-weight: 700; letter-spacing: 2px; cursor: pointer; transition: .3s ease; }
.ltsp-draw span { width: 32px; height: 32px; display: grid; place-items: center; background: #c9993c; color: #fff; font-size: 16px; }
.ltsp-draw:hover { transform: translateY(-3px); background: rgba(194,142,39,.08); box-shadow: 0 13px 30px rgba(0,0,0,.25); }
.ltsp-draw:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.ltsp-limit { color: #c7a15b !important; margin-top: 15px !important; }
.ltsp-loading { position: absolute; z-index: 9; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(2,9,6,.92); }
.ltsp-loading[hidden], .ltsp-result[hidden] { display: none !important; }
.ltsp-loader-rings { position: relative; width: 100px; height: 100px; display: grid; place-items: center; }
.ltsp-loader-rings i { position: absolute; inset: 0; border: 1px dashed rgba(224,178,86,.42); border-radius: 50%; animation: ltspSpin 10s linear infinite; }
.ltsp-loader-rings i:nth-child(2) { inset: 16px; animation-direction: reverse; animation-duration: 6s; }
.ltsp-loader-rings b { color: #e1b460; font-size: 18px; text-shadow: 0 0 18px rgba(226,177,83,.8); }
.ltsp-loading p { margin-top: 16px; color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; }

.ltsp-result { position: relative; z-index: 4; padding: 38px; }
.ltsp-result-show { animation: ltspReveal .65s ease both; }
.ltsp-reading-layout { display: grid; grid-template-columns: 285px minmax(0,1fr); gap: 44px; align-items: start; }
.ltsp-card-column { text-align: center; }
.ltsp-tarot-frame { position: relative; width: 245px; margin: 0 auto 18px; padding: 8px; border: 1px solid rgba(222,175,82,.35); background: rgba(3,13,9,.75); box-shadow: 0 25px 60px rgba(0,0,0,.44), 0 0 35px rgba(216,164,68,.06); }
.ltsp-tarot-frame img { display: block; width: 100%; height: auto; aspect-ratio: 220/350; object-fit: cover; }
.ltsp-corner { position: absolute; z-index: 2; color: #d7a94e; font-size: 12px; }
.ltsp-corner-a { top: -7px; left: -6px; }
.ltsp-corner-b { right: -6px; bottom: -7px; }
.ltsp-card-name { margin: 8px 0 0; color: #f3ead7; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.ltsp-reading-copy { padding-top: 4px; }
.ltsp-reading-box { margin-top: 16px; padding: 18px 19px; border: 1px solid rgba(224,178,87,.14); border-left: 2px solid #c69537; background: rgba(255,255,255,.018); }
.ltsp-reading-box b { display: block; margin-bottom: 7px; color: #e2b761; font-family: Georgia, serif; font-size: 15px; font-weight: 400; }
.ltsp-reading-box p { margin: 0; color: rgba(255,255,255,.63); font-size: 13.5px; line-height: 1.72; }
.ltsp-reading-box-warning { border-left-color: #8f7139; }
.ltsp-material-box { margin-top: 16px; padding: 17px 19px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(224,178,87,.16); border-bottom: 1px solid rgba(224,178,87,.16); }
.ltsp-material-box span { color: rgba(255,255,255,.34); font-size: 7px; font-weight: 700; letter-spacing: 2.4px; }
.ltsp-material-box strong { color: #e1b55f; font-family: Georgia, serif; font-size: 15px; font-weight: 400; text-align: right; }
.ltsp-recommend { margin-top: 42px; padding-top: 28px; border-top: 1px solid rgba(224,178,87,.16); }
.ltsp-recommend-head { display: block; margin-bottom: 20px; }
.ltsp-recommend-head h3 { margin: 6px 0 0; color: #f1e7d0; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.ltsp-recommend-head p { margin: 0; color: rgba(255,255,255,.37); font-size: 11.5px; line-height: 1.65; text-align: right; }

.ltsp-products-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.ltsp-product-card { min-width: 0; overflow: hidden; border: 1px solid rgba(224,178,87,.16); background: rgba(5,18,12,.62); transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease; }
.ltsp-product-card:hover { transform: translateY(-6px); border-color: rgba(224,178,87,.42); box-shadow: 0 20px 42px rgba(0,0,0,.28); }
.ltsp-product-image { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; background: #0b1510; }
.ltsp-product-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.ltsp-product-card:hover .ltsp-product-image img { transform: scale(1.055); }
.ltsp-product-no { position: absolute; right: 10px; top: 10px; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: rgba(3,13,9,.72); border: 1px solid rgba(229,185,96,.30); color: #e0b35c; font-family: Georgia, serif; font-size: 9px; backdrop-filter: blur(8px); }
.ltsp-product-copy { padding: 14px 15px 16px; }
.ltsp-product-copy h4 { margin: 6px 0 7px; color: #eee5d2; font-family: Georgia, serif; font-size: 15px; line-height: 1.3; font-weight: 400; }
.ltsp-product-price { margin-bottom: 10px; color: #d9ad59; font-size: 13px; }
.ltsp-product-price del { color: rgba(255,255,255,.28); }
.ltsp-product-price ins { color: #dfb35e; text-decoration: none; }
.ltsp-product-link { display: inline-flex; align-items: center; gap: 12px; color: rgba(236,199,121,.75); text-decoration: none !important; font-size: 8px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.ltsp-product-link span { font-size: 14px; transition: transform .25s ease; }
.ltsp-product-link:hover span { transform: translateX(4px); }
.ltsp-empty-products { padding: 22px; border: 1px solid rgba(224,178,87,.15); color: rgba(255,255,255,.45); text-align: center; }
.ltsp-error-msg { color: #e2b65f !important; }

.ltsp-stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ltsp-stars i { position: absolute; border-radius: 50%; background: rgba(238,202,130,.72); box-shadow: 0 0 10px rgba(230,184,93,.38); animation: ltspTwinkle ease-in-out infinite; }
.ltsp-orb { position: absolute; z-index: -2; width: 560px; height: 560px; border-radius: 50%; filter: blur(110px); opacity: .12; pointer-events: none; }
.ltsp-orb-a { left: -300px; top: 100px; background: #078c53; }
.ltsp-orb-b { right: -260px; top: 30px; background: #b5791d; }

.ltsp-smart-products { width: 100%; padding: 28px 0; font-family: Arial, Helvetica, sans-serif; }
.ltsp-smart-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.ltsp-smart-head h3 { margin: 5px 0 0; color: #252922; font-family: Georgia, serif; font-size: 26px; font-weight: 400; }
.ltsp-smart-loading { padding: 18px; border: 1px solid #e6dfcf; color: #777066; }
.ltsp-smart-products .ltsp-products-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ltsp-smart-products .ltsp-product-card { background: #fff; border-color: #e5ddca; }
.ltsp-smart-products .ltsp-product-copy h4 { color: #2d2d29; }
.ltsp-smart-products .ltsp-product-kicker { color: #9a741d; }
.ltsp-smart-products .ltsp-product-link { color: #9c7417; }
.ltsp-smart-products .ltsp-product-price { color: #9c7417; }

@keyframes ltspSpin { to { transform: rotate(360deg); } }
@keyframes ltspBreath { 0%,100% { transform: scale(.92); opacity: .65; } 50% { transform: scale(1.07); opacity: 1; } }
@keyframes ltspReveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ltspTwinkle { 0%,100% { opacity: .15; } 50% { opacity: .85; } }

@media (max-width: 850px) {
  .ltsp-reading-layout { grid-template-columns: 220px 1fr; gap: 28px; }
  .ltsp-tarot-frame { width: 205px; }
}
@media (max-width: 700px) {
  .ltsp-tarot { padding: 50px 13px; }
  .ltsp-stage, .ltsp-intro { min-height: 430px; }
  .ltsp-result { padding: 24px 14px; }
  .ltsp-reading-layout { grid-template-columns: 1fr; }
  .ltsp-tarot-frame { width: min(235px,72vw); }
  .ltsp-reading-copy { padding-top: 10px; }
  .ltsp-products-grid,
  .ltsp-smart-products .ltsp-products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .ltsp-recommend-head h3 { font-size: 21px; }
  .ltsp-material-box { align-items: flex-start; flex-direction: column; gap: 7px; }
  .ltsp-material-box strong { text-align: left; }
  .ltsp-smart-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 430px) {
  .ltsp-head h2 { font-size: 38px; }
  .ltsp-products-grid,
  .ltsp-smart-products .ltsp-products-grid { grid-template-columns: 1fr; }
  .ltsp-product-card { display: grid; grid-template-columns: 126px 1fr; }
  .ltsp-product-image { aspect-ratio: 1/1; }
  .ltsp-product-copy { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ltsp-tarot *, .ltsp-tarot *::before, .ltsp-tarot *::after { animation: none !important; transition: none !important; }
}
