/* Rentora bosh sahifa. Tokenlar site.css da. Yagona "baland ovoz" — hero'dagi kalit birkasi. */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink-d);
  font-family: var(--text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 18ch; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec-tint { background: var(--paper-2); }
.sec-lead { margin: 20px 0 0; max-width: 40rem; font-size: 1.12rem; color: var(--slate); text-wrap: pretty; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--paper);
  background:
    radial-gradient(60% 70% at 85% 40%, rgba(255, 181, 71, 0.13), transparent 70%),
    radial-gradient(70% 80% at 10% 0%, rgba(124, 84, 232, 0.35), transparent 70%),
    var(--night);
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 104px)) 0 clamp(72px, 9vw, 120px);
}
.hero-in {
  max-width: 1200px; margin-inline: auto; padding-inline: 20px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: center;
}
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-stretch: 88%; max-width: 13ch; }
.lead { margin: 26px 0 0; max-width: 34rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--haze); text-wrap: pretty; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 0.95rem; color: var(--haze); }
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts li::before { content: ""; width: 14px; height: 2px; background: var(--amber); }

/* kalit birkasi: ijaradagi NFT — amber, ip bilan osilgan */
.tag {
  --cut: 34px;
  position: relative; justify-self: center; display: grid; gap: 14px;
  width: min(100%, 400px); padding: 64px 34px 32px;
  color: var(--ink-d); text-decoration: none; background: var(--amber);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
  border-radius: 0 0 22px 22px;
  transform: rotate(-4deg); transform-origin: 50% 0;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  margin-top: 70px;
}
.tag::before { /* ip */
  content: ""; position: absolute; left: 50%; top: -90px; width: 2px; height: 116px; background: linear-gradient(var(--night), rgba(246, 243, 252, 0.6)); transform: translateX(-50%);
}
.tag-hole { position: absolute; left: 50%; top: 24px; width: 18px; height: 18px; border-radius: 50%; background: var(--night); transform: translateX(-50%); box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5); }
.tag-kind { font-size: 0.92rem; font-weight: 600; opacity: 0.75; }
.tag-name {
  font-family: var(--display); font-weight: 800; font-stretch: 75%; line-height: 0.95; letter-spacing: -0.03em;
  font-size: clamp(2.6rem, 6.4vw, 4.4rem); overflow-wrap: anywhere; min-height: 1em;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.tag-name.out { opacity: 0; transform: translateY(8px); }
.tag-price { font-size: 1.05rem; }
.tag-price b { font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.tag-term { display: grid; gap: 8px; padding-top: 16px; border-top: 1.5px dashed rgba(58, 36, 0, 0.35); font-size: 0.92rem; }
.tag-bar { height: 6px; border-radius: 3px; background: rgba(58, 36, 0, 0.18); overflow: hidden; }
.tag-bar i { display: block; width: 34%; height: 100%; background: var(--ink-d); border-radius: inherit; }
.tag-state { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; }
.tag-state i { width: 9px; height: 9px; border-radius: 50%; background: #0F7A57; box-shadow: 0 0 0 4px rgba(15, 122, 87, 0.18); }
.tag:hover { box-shadow: 0 46px 90px -30px rgba(0, 0, 0, 0.8); }
.tag:focus-visible { outline-offset: 6px; }

/* ---------- qanday ishlaydi ---------- */
.flow { list-style: none; counter-reset: f; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.flow li { counter-increment: f; display: grid; align-content: start; gap: 10px; padding: 0 24px 0 0; }
.flow li::before {
  content: counter(f); font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 3.4rem; line-height: 1;
  color: var(--ink-d); padding-bottom: 18px; margin-bottom: 6px; border-bottom: 2px solid var(--ink-d);
}
.flow li:last-child::before { color: var(--amber); -webkit-text-stroke: 1.5px var(--ink-d); }
.flow b { font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.flow span { color: var(--slate); font-size: 0.98rem; }
.guard { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.guard > p { margin: 0; font-size: 1.12rem; max-width: 26rem; }
.guard-log { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.guard-log td { padding: 13px 0; border-bottom: 1px solid var(--paper-line); }
.guard-log td:first-child { width: 64px; color: var(--slate); font-variant-numeric: tabular-nums; }
.guard-log td:last-child { text-align: right; font-weight: 600; }
.guard-log .ok { color: #157A5A; }
.guard-log .no { color: #B3264E; }

/* ---------- katalog vitrinasi ---------- */
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.more { font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.shelf { list-style: none; margin: 40px 0 0; padding: 0; border-top: 2px solid var(--ink-d); }
.shelf a {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) 90px; gap: 16px; align-items: baseline;
  padding: 20px 4px; border-bottom: 1px solid var(--paper-line); text-decoration: none;
}
.sh-name { font-family: var(--display); font-weight: 800; font-stretch: 78%; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.1; overflow-wrap: anywhere; }
.sh-kind { color: var(--slate); font-size: 0.95rem; }
.sh-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.sh-state { justify-self: end; font-size: 0.9rem; font-weight: 600; color: var(--slate); }
.sh-state.free { color: #157A5A; }
.shelf a:hover .sh-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- dasturchilar ---------- */
.dev { background: var(--night); color: var(--paper); padding-block: clamp(72px, 10vw, 128px); }
.dev .sec-lead { color: var(--haze); }
.dev-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.eps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; }
.eps li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--night-line); }
.eps code, .eps span { font-family: var(--code); font-size: 0.86rem; }
.eps code { color: var(--mint-d); }
.eps code.p { color: var(--amber); }
.eps span { overflow-wrap: anywhere; }
.eps em { font-style: normal; color: var(--haze); font-size: 0.9rem; }
.dev-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.code { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 16px; overflow: hidden; }
.code-bar { display: flex; align-items: center; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--night-line); }
.code-bar button { padding: 9px 12px; border: 0; background: none; color: var(--haze); font: 500 0.9rem var(--text); cursor: pointer; border-bottom: 2px solid transparent; }
.code-bar button[aria-selected="true"] { color: var(--paper); border-bottom-color: var(--amber); }
.code-bar .code-copy { margin-left: auto; border: 1px solid var(--night-line); border-radius: 8px; margin-bottom: 8px; padding: 6px 10px; font-size: 0.82rem; }
.code-bar .code-copy.ok { color: var(--mint-d); }
.code pre { margin: 0; padding: 22px; overflow-x: auto; font: 0.84rem/1.75 var(--code); color: #E9E4FA; white-space: pre; -webkit-user-select: text; user-select: text; }
.code pre i { font-style: normal; color: #8D84B3; }

/* ---------- narx ---------- */
.formula {
  margin: 34px 0 0; font-family: var(--display); font-weight: 800; font-stretch: 80%; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(2.4rem, 7.2vw, 5.6rem);
}
.formula span { color: var(--amber); -webkit-text-stroke: 1.5px var(--ink-d); padding-inline: 0.08em; }
.formula-ex { margin: 22px 0 0; font-size: 1.1rem; color: var(--slate); }
.formula-ex b { color: var(--ink-d); }
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.terms > div { padding-top: 16px; border-top: 2px solid var(--ink-d); }
.terms b { font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.015em; }
.terms p { margin: 8px 0 0; color: var(--slate); }
.pay { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 48px; }
.pay p { margin: 0; font-weight: 600; }
.pay ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.pay li { display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border: 1px solid var(--paper-line); border-radius: 12px; font-weight: 600; background: #fff; }
.pay li img { width: 28px; height: 28px; border-radius: 7px; }
.pay li.soon { opacity: 0.45; }

/* ---------- savollar ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 40px; align-items: start; }
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq details:first-child { border-top: 2px solid var(--ink-d); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--text); font-weight: 400; font-size: 1.6rem; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 40rem; color: var(--slate); }

/* ---------- footer ---------- */
.ft { background: var(--night); color: var(--haze); padding-top: 64px; }
.ft-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
.ft-brand p { margin: 12px 0 0; }
.ft-links { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.ft-links div { display: grid; gap: 9px; align-content: start; }
.ft-links p { margin: 0 0 4px; color: var(--paper); font-weight: 600; }
.ft-links a { text-decoration: none; }
.ft-links a:hover { color: var(--paper); }
.ft-copy { margin-block: 0; padding-block: 40px; font-size: 0.88rem; }

/* ---------- moslashuv ---------- */
@media (max-width: 980px) {
  .hero-in, .dev-in, .guard, .faq-wrap { grid-template-columns: 1fr; }
  .tag { margin-top: 90px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .flow, .terms { grid-template-columns: 1fr; }
  .shelf a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .sh-kind { grid-column: 1; grid-row: 2; }
  .sh-price { grid-column: 1; grid-row: 3; }
  .sh-state { grid-column: 2; grid-row: 1; }
  .hero-act .b, .dev-act .b { flex: 1 1 100%; }
  .ft-in { grid-template-columns: 1fr; }
  .tag { --cut: 26px; padding: 58px 26px 26px; }
}
@media (prefers-reduced-motion: reduce) { .tag-name, .faq summary::after { transition: none; } }

/* ---------- giftlar kartasi (kompyuter) ---------- */
.gift-sec { display: none; padding-block: clamp(48px, 6vw, 80px); }
@media (min-width: 981px) { .gift-sec { display: block; } }
.gcard-home {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 40px; overflow: hidden;
  padding: clamp(36px, 4vw, 56px); border-radius: 28px; text-decoration: none; color: var(--paper);
  background: radial-gradient(70% 90% at 100% 0%, rgba(124, 84, 232, 0.5), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgba(255, 181, 71, 0.18), transparent 70%), var(--night);
  box-shadow: 0 30px 60px -30px rgba(18, 13, 38, 0.55); transition: transform .25s ease, box-shadow .25s ease;
}
.gcard-home:hover { transform: translateY(-3px); box-shadow: 0 38px 70px -30px rgba(18, 13, 38, 0.65); }
.gch-kicker { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); font-size: 0.82rem; font-weight: 600; color: var(--paper); }
.gcard-home h2 { margin-top: 18px; max-width: 16ch; color: var(--paper); }
.gcard-home p { margin: 16px 0 0; max-width: 30rem; color: var(--haze); font-size: 1.05rem; }
.gch-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.gch-price { display: grid; gap: 2px; }
.gch-price small { color: var(--haze); font-size: 0.82rem; }
.gch-price b { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; color: #FFB547; font-variant-numeric: tabular-nums; }
.gch-btn { padding: 14px 26px; border-radius: 14px; background: #FFB547; color: #3A2400; font-weight: 700; transition: filter .2s; }
.gcard-home:hover .gch-btn { filter: brightness(1.08); }
.gch-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: rotate(-4deg); }
.gch-tiles li { display: grid; place-items: center; aspect-ratio: 1; border-radius: 22px; font-size: clamp(2.2rem, 4vw, 3.4rem); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(2px); }
.gch-tiles li:nth-child(even) { transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) { .gcard-home, .gch-btn { transition: none; } }
