/* ============================================================================
 * TraPay — /خرید-تتر-از-تراپی custom layout
 * Sibling of buy-trx.css. Green/brand-blue palette (USDT identity).
 * ============================================================================ */

:root {
    --hotv-green: #F08C1E;
    --hotv-bg-1: #2a1503;
    --hotv-bg-2: #0f172a;
}

/* HERO */
.hotv-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hotv-bg-1) 0%, var(--hotv-bg-2) 100%);
    color: #f8fafc;
    padding: 5rem 1.5rem 6rem;
    isolation: isolate;
}
.hotv-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hotv-hero__glow { position: absolute; width: 40rem; height: 40rem; border-radius: 50%; filter: blur(120px); opacity: 0.35; }
.hotv-hero__glow--green { background: var(--hotv-green); top: -10rem; right: -10rem; }
.hotv-hero__glow--brand { background: var(--brand, #0d3e7e); bottom: -15rem; left: -10rem; opacity: 0.55; }
.hotv-hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255,255,255,0.08); }

.hotv-hero__inner { position: relative; max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hotv-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 5rem; } }

/* minmax(0,1fr) on the TRACK + min-width:0 on the ITEM both needed: a long LTR
   token (USDT, TRC-20) sets the item's min-content, and a bare 1fr track grows to
   that min-content → column becomes wider than the viewport and shifts left in RTL. */
.hotv-hero__inner > * { min-width: 0; }
.hotv-hero__copy { max-width: 36rem; min-width: 0; }
.hotv-title, .hotv-lead { overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.hotv-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: rgba(240, 140, 30, 0.14);
    color: #fbd9a6;
    border: 1px solid rgba(240, 140, 30, 0.35);
    border-radius: 999px;
    font-size: 0.8125rem; font-weight: 600;
}
.hotv-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hotv-green); box-shadow: 0 0 12px var(--hotv-green); animation: hotv-pulse 2s ease-in-out infinite; }
@keyframes hotv-pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hotv-title {
    margin: 1.5rem 0 0;
    font-family: 'Estedad','Vazirmatn',sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.hotv-title__accent {
    background: linear-gradient(120deg, var(--hotv-green) 0%, #f9a94a 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.hotv-lead { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.95; color: rgba(248, 250, 252, 0.75); max-width: 32rem; }

/* CALCULATOR */
.hotv-calc {
    position: relative;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.hotv-calc__header { display: flex; align-items: center; gap: 0.85rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 1.5rem; }
.hotv-calc__mark {
    width: 48px; height: 48px;
    background: var(--hotv-green);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px -8px rgba(240,140,30,0.6);
    color: white; font-size: 1.5rem; font-weight: 800;
}
.hotv-calc__title { font-size: 1.0625rem; font-weight: 700; color: #f8fafc; }
.hotv-calc__sub { font-size: 0.8125rem; color: rgba(248,250,252,0.55); margin-top: 2px; }

.hotv-calc__field { display: block; margin-bottom: 0; }
.hotv-calc__field + .hotv-calc__field { margin-top: 0.5rem; }
.hotv-calc__label { display: block; font-size: 0.8125rem; font-weight: 600; color: rgba(248,250,252,0.55); margin-bottom: 0.5rem; }
.hotv-calc__input {
    display: flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.875rem;
    padding: 0.85rem 1rem;
    transition: border-color 0.2s, background 0.2s;
}
.hotv-calc__input:focus-within { border-color: rgba(240,140,30,0.5); background: rgba(255,255,255,0.08); }
.hotv-calc__input input, .hotv-calc__input output {
    flex: 1; min-width: 0; background: transparent; border: none; outline: none;
    color: #f8fafc;
    font-family: 'Estedad','Vazirmatn',sans-serif;
    font-size: 1.5rem; font-weight: 700;
    direction: ltr; text-align: end;
    font-variant-numeric: tabular-nums;
}
.hotv-calc__unit { flex-shrink: 0; font-size: 0.875rem; font-weight: 600; color: rgba(248,250,252,0.55); }
.hotv-calc__unit--brand { color: var(--hotv-green); }

.hotv-calc__swap {
    display: flex; align-items: center; justify-content: center;
    margin: 0.75rem auto; width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--hotv-green) 0%, #f9a94a 100%);
    border-radius: 50%; box-shadow: 0 4px 12px rgba(240,140,30,0.5); color: white;
}
.hotv-calc__swap svg { width: 16px; height: 16px; }

.hotv-calc__field--out .hotv-calc__input { border-color: rgba(240,140,30,0.3); }

.hotv-calc__cta {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    margin-top: 1.5rem; padding: 1rem 1.5rem;
    background: linear-gradient(120deg, var(--hotv-green) 0%, #f9a94a 100%);
    color: white; border-radius: 0.875rem;
    font-weight: 700; font-size: 0.95rem; text-decoration: none;
    box-shadow: 0 12px 32px -8px rgba(240,140,30,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}
.hotv-calc__cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -8px rgba(240,140,30,0.6); }
.hotv-calc__cta svg { width: 18px; height: 18px; }

.hotv-calc__meta { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.8125rem; color: rgba(248,250,252,0.55); text-align: center; }
.hotv-calc__meta strong { color: #f8fafc; font-weight: 600; }

/* SHARED H2 */
.hotv-h2 {
    font-family: 'Estedad','Vazirmatn',sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    line-height: 1.4;
    color: var(--ink, #111827);
    margin: 0 0 1.5rem;
}
.dark .hotv-h2 { color: #f8fafc; }

/* WHY */
.hotv-why { max-width: 72rem; margin: 0 auto; padding: 5rem 1.5rem; }
.hotv-why__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 700px) { .hotv-why__grid { grid-template-columns: repeat(3, 1fr); } }
.hotv-why__card {
    padding: 2rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.dark .hotv-why__card { background: #1f2937; border-color: #374151; }
.hotv-why__card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -16px rgba(0,0,0,0.15); }
.hotv-why__icon {
    width: 48px; height: 48px; border-radius: 0.875rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.hotv-why__icon svg { width: 24px; height: 24px; }
.hotv-why__icon--green { background: color-mix(in srgb, var(--hotv-green) 12%, white); color: var(--hotv-green); }
.hotv-why__icon--brand { background: color-mix(in srgb, var(--brand, #0d3e7e) 10%, white); color: var(--brand, #0d3e7e); }
.hotv-why__icon--amber { background: color-mix(in srgb, var(--accent, #f59e0b) 14%, white); color: var(--accent, #f59e0b); }
.hotv-why__card h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; font-weight: 700; color: var(--ink, #111827); }
.dark .hotv-why__card h3 { color: #f8fafc; }
.hotv-why__card p { margin: 0; font-size: 0.9375rem; line-height: 1.85; color: var(--muted, #6b7280); }

/* FLOW (4 steps) */
.hotv-flow { max-width: 72rem; margin: 0 auto; padding: 5rem 1.5rem; background: var(--brand-50, #eef4fc); border-radius: 0; }
.dark .hotv-flow { background: #0b1220; }
.hotv-flow__steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 700px) { .hotv-flow__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hotv-flow__steps { grid-template-columns: repeat(4, 1fr); } }
.hotv-flow__steps li {
    position: relative; padding: 2.5rem 1.5rem 1.75rem;
    background: white; border: 1px solid #e2e8f0; border-radius: 1.25rem;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.dark .hotv-flow__steps li { background: #1f2937; border-color: #374151; }
.hotv-flow__steps li:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -16px rgba(240,140,30,0.25); border-color: var(--hotv-green); }
.hotv-flow__steps li span {
    position: absolute; top: -1rem; right: 1.5rem;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--hotv-green); color: white;
    font-family: 'Estedad','Vazirmatn',sans-serif;
    font-weight: 800; font-size: 0.95rem;
    border-radius: 50%; box-shadow: 0 6px 18px -4px rgba(240,140,30,0.45);
}
.hotv-flow__steps li h3 { margin: 0 0 0.5rem; font-weight: 700; font-size: 1.0625rem; color: var(--ink, #111827); }
.dark .hotv-flow__steps li h3 { color: #f8fafc; }
.hotv-flow__steps li p { margin: 0; font-size: 0.9375rem; line-height: 1.75; color: var(--muted, #6b7280); }

/* NETWORKS */
.hotv-networks { max-width: 72rem; margin: 0 auto; padding: 5rem 1.5rem; }
.hotv-networks__sub { color: var(--muted, #6b7280); margin: -1rem 0 2rem; font-size: 0.9375rem; }
.hotv-networks__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .hotv-networks__grid { grid-template-columns: repeat(3, 1fr); } }
.hotv-net { background: white; border: 1px solid #e2e8f0; border-radius: 1.25rem; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.dark .hotv-net { background: #1f2937; border-color: #374151; }
.hotv-net:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -16px rgba(0,0,0,0.15); }
.hotv-net--pick { border-color: #EB0029; box-shadow: 0 0 0 4px rgba(235, 0, 41, 0.08); }
.hotv-net__head { display: grid; grid-template-columns: auto 1fr auto; gap: 0.85rem; align-items: center; padding: 1.25rem 1.5rem; background: color-mix(in srgb, var(--c) 8%, white); border-bottom: 1px solid color-mix(in srgb, var(--c) 15%, transparent); }
.dark .hotv-net__head { background: color-mix(in srgb, var(--c) 18%, #1f2937); }
.hotv-net__head img, .hotv-net__icon { width: 36px; height: 36px; background: white; border-radius: 0.5rem; padding: 4px; display: flex; align-items: center; justify-content: center; color: var(--c); font-size: 1.4rem; font-weight: 800; box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--c) 50%, transparent); }
.hotv-net__head strong { font-size: 1rem; font-weight: 800; color: var(--ink, #111827); }
.dark .hotv-net__head strong { color: #f8fafc; }
.hotv-net__head small { display: block; font-size: 0.8125rem; color: var(--muted, #6b7280); margin-top: 2px; }
.hotv-net__star { font-size: 0.75rem; font-weight: 700; color: white; background: #EB0029; padding: 0.3rem 0.65rem; border-radius: 999px; white-space: nowrap; }
.hotv-net__spec { margin: 0; padding: 1rem 1.5rem; }
.hotv-net__spec > div { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px dashed #e2e8f0; }
.dark .hotv-net__spec > div { border-color: #374151; }
.hotv-net__spec > div:last-child { border-bottom: none; }
.hotv-net__spec dt { font-size: 0.8125rem; color: var(--muted, #6b7280); }
.hotv-net__spec dd { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--ink, #111827); }
.dark .hotv-net__spec dd { color: #f8fafc; }
.hotv-net__spec dd a { color: var(--brand, #0d3e7e); text-decoration: none; font-weight: 700; }
.hotv-net__spec dd a:hover { text-decoration: underline; }
.hotv-net__highlight { color: var(--hotv-green) !important; font-size: 1.0625rem !important; font-weight: 800 !important; }

/* FAQ */
.hotv-faq { max-width: 60rem; margin: 0 auto; padding: 4rem 1.5rem; }
.hotv-faq details { background: white; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.25rem 1.5rem; margin-bottom: 0.75rem; transition: border-color 0.2s, background 0.2s; }
.dark .hotv-faq details { background: #1f2937; border-color: #374151; }
.hotv-faq details[open] { border-color: var(--hotv-green); background: color-mix(in srgb, var(--hotv-green) 3%, white); }
.dark .hotv-faq details[open] { background: color-mix(in srgb, var(--hotv-green) 12%, #1f2937); }
.hotv-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1rem; color: var(--ink, #111827); }
.dark .hotv-faq summary { color: #f8fafc; }
.hotv-faq summary::-webkit-details-marker { display: none; }
.hotv-faq__chev { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 300; background: color-mix(in srgb, var(--hotv-green) 12%, white); color: var(--hotv-green); border-radius: 50%; transition: transform 0.25s, background 0.25s; }
.hotv-faq details[open] .hotv-faq__chev { transform: rotate(45deg); background: var(--hotv-green); color: white; }
.hotv-faq p { margin: 1rem 0 0; color: var(--muted, #6b7280); line-height: 2; font-size: 0.9375rem; }
.hotv-faq p a { color: var(--brand, #0d3e7e); font-weight: 600; text-decoration: none; }
.hotv-faq p a:hover { text-decoration: underline; }

/* ARTICLE (SEO long-form) */
.hotv-article { max-width: 60rem; margin: 0 auto; padding: 4rem 1.5rem; }
.hotv-article__inner h2.hotv-h2 { margin-bottom: 1.5rem; }
.hotv-article__inner h3 {
    font-family: 'Estedad','Vazirmatn',sans-serif;
    font-weight: 700; font-size: 1.25rem; line-height: 1.5;
    color: var(--ink, #111827);
    margin: 2.5rem 0 1rem;
}
.dark .hotv-article__inner h3 { color: #f8fafc; }
.hotv-article__inner p { margin: 0 0 1rem; font-size: 1rem; line-height: 2; color: var(--ink, #111827); }
.dark .hotv-article__inner p { color: #e5e7eb; }
.hotv-article__inner ul { margin: 0 0 1.5rem; padding-inline-start: 1.5rem; list-style: disc; }
.hotv-article__inner li { margin: 0.5rem 0; font-size: 1rem; line-height: 1.95; color: var(--ink, #111827); }
.dark .hotv-article__inner li { color: #e5e7eb; }
.hotv-article__inner li strong { color: var(--hotv-green); }
.dark .hotv-article__inner li strong { color: #fbd9a6; }
.hotv-article__inner a { color: var(--brand, #0d3e7e); font-weight: 600; text-decoration: none; }
.hotv-article__inner a:hover { text-decoration: underline; }

/* FINAL CTA */
.hotv-cta-end { padding: 4rem 1.5rem 6rem; }
.hotv-cta-end__inner {
    max-width: 60rem; margin: 0 auto;
    background: linear-gradient(135deg, var(--hotv-green) 0%, #b5670f 100%);
    border-radius: 1.75rem; padding: 2.5rem;
    display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center;
    color: white;
    box-shadow: 0 30px 70px -20px rgba(240,140,30,0.45);
}
@media (min-width: 700px) { .hotv-cta-end__inner { grid-template-columns: auto 1fr auto; padding: 2rem 3rem; gap: 2rem; } }
.hotv-cta-end__coin {
    width: 64px; height: 64px;
    background: white; color: var(--hotv-green);
    border-radius: 1rem; padding: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 800;
    box-shadow: 0 12px 30px -8px rgba(0,0,0,0.3);
}
.hotv-cta-end__inner h2 { margin: 0; font-family: 'Estedad','Vazirmatn',sans-serif; font-weight: 800; font-size: 1.5rem; }
.hotv-cta-end__inner p { margin: 0.35rem 0 0; color: rgba(255,255,255,0.85); font-size: 0.9375rem; }
.hotv-cta-end__inner a {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: white; color: var(--hotv-green);
    padding: 0.85rem 1.5rem; border-radius: 0.875rem;
    font-weight: 700; font-size: 0.9375rem; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
}
.hotv-cta-end__inner a:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(0,0,0,0.3); }
.hotv-cta-end__inner a svg { width: 16px; height: 16px; }

[dir="rtl"] .rtl-flip { transform: scaleX(-1); }

/* ── Hero logo + CTA buttons (calculator removed from hero) ──────────────── */
.hotv-hero__actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}
.hotv-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 0.9rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .2s var(--tp-ease, ease), box-shadow .2s ease, background .2s ease;
}
.hotv-hero__cta:not(.hotv-hero__cta--ghost) {
    background: linear-gradient(120deg, #F9A94A 0%, #F08C1E 100%);
    color: #2a1503;
    box-shadow: 0 12px 30px -10px rgba(240,140,30,0.6);
}
.hotv-hero__cta:not(.hotv-hero__cta--ghost):hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px -10px rgba(240,140,30,0.75);
}
.hotv-hero__cta--ghost {
    background: rgba(255,255,255,0.06);
    color: #fbd9a6;
    border: 1px solid rgba(240,140,30,0.4);
}
.hotv-hero__cta--ghost:hover {
    background: rgba(240,140,30,0.14);
    transform: translateY(-2px);
}
.hotv-hero__cta svg { width: 20px; height: 20px; }

.hotv-hero__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.hotv-hero__logo img {
    width: 100%;
    max-width: 22rem;
    height: auto;
    filter: drop-shadow(0 24px 60px rgba(240,140,30,0.45));
    animation: hotv-float 5s ease-in-out infinite;
}
@keyframes hotv-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@media (prefers-reduced-motion: reduce) { .hotv-hero__logo img { animation: none; } }
@media (max-width: 899px) {
    .hotv-hero__logo { order: -1; }
    .hotv-hero__logo img { max-width: 13rem; }
}
