/* =========================================================
   Tekino — قوانین و مقررات (هر کادر یک رنگ نئونی)
   فقط در صفحه «قوانین و مقررات» لود می‌شود
========================================================= */

.tk-tm-wrap { display: flex; flex-direction: column; gap: 22px; }

/* رنگ هر بخش و دکمه‌ی فهرست */
.tk-tm-cyan   { --cc: #00eaff; }
.tk-tm-pink   { --cc: #ff2d95; }
.tk-tm-green  { --cc: #39ff88; }
.tk-tm-orange { --cc: #ff8a1f; }
.tk-tm-purple { --cc: #a855f7; }
.tk-tm-blue   { --cc: #3b82f6; }
.tk-tm-yellow { --cc: #ffb703; }

/* ---------- معرفی ---------- */
.tk-tm-hero {
    padding: 28px 30px;
    color: #fff;
    border: 2px solid #a855f7;
    border-radius: 24px;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(0, 234, 255, .22), transparent 60%),
        radial-gradient(100% 80% at 0% 100%, rgba(236, 72, 153, .22), transparent 60%),
        linear-gradient(135deg, #211b2d, #17121f);
    box-shadow: 0 0 22px rgba(168, 85, 247, .55);
}
.tk-tm-badge {
    display: inline-block; padding: 6px 14px; margin-bottom: 12px;
    border: 1.5px solid #00eaff; border-radius: 999px;
    font-size: 13px; font-weight: 800; color: #a5f3fc;
    box-shadow: 0 0 10px rgba(0, 234, 255, .45);
}
.tk-tm-hero h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: #fff; line-height: 1.6; }
.tk-tm-hero p { max-width: 820px; margin: 0; font-size: 14.5px; line-height: 2.1; color: #e2e8f0; }

/* ---------- فهرست بخش‌ها ---------- */
.tk-tm-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tk-tm-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 14px; border: 2px solid var(--cc); border-radius: 12px;
    background: rgba(15, 23, 42, .55); color: #fff; text-decoration: none;
    font-size: 12.5px; font-weight: 800; line-height: 1.6;
    box-shadow: 0 0 10px color-mix(in srgb, var(--cc) 55%, transparent);
    transition: box-shadow .2s, transform .2s;
}
.tk-tm-chip:hover { box-shadow: 0 0 18px var(--cc); transform: translateY(-1px); color: #fff; }
.tk-tm-chip b {
    display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
    background: var(--cc); color: #0f172a; font-size: 11px; font-weight: 900;
}

/* ---------- کادر هر بخش ---------- */
.tk-tm-card {
    padding: 24px;
    background: #fff;
    border: 2px solid var(--cc);
    border-radius: 24px;
    box-shadow:
        0 0 18px color-mix(in srgb, var(--cc) 42%, transparent),
        inset 0 0 16px color-mix(in srgb, var(--cc) 6%, transparent);
    scroll-margin-top: 110px;
}

.tk-tm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tk-tm-ico {
    flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center;
    border-radius: 14px; font-size: 22px;
    background: color-mix(in srgb, var(--cc) 16%, #fff);
}
.tk-tm-head h2 {
    margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: 18px; font-weight: 900; color: #1e293b; line-height: 1.7;
}
.tk-tm-num {
    display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 4px;
    border: 2px solid var(--cc); border-radius: 50%;
    font-size: 13px; font-weight: 900; color: #1e293b;
    box-shadow: 0 0 9px color-mix(in srgb, var(--cc) 55%, transparent);
}

.tk-tm-intro { margin: 0 0 12px; font-size: 14px; font-weight: 700; line-height: 2.1; color: #475569; }

/* کادر برجسته‌ی متن قانون */
.tk-tm-law {
    margin: 0 0 14px; padding: 14px 18px;
    border: 2px dashed var(--cc); border-radius: 16px;
    background: color-mix(in srgb, var(--cc) 8%, #fff);
    font-size: 13.5px; font-weight: 800; line-height: 2.1; color: #1e293b;
}

/* فهرست نقطه‌ای */
.tk-tm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tk-tm-list li {
    position: relative; padding: 10px 40px 10px 14px;
    border: 1.5px solid color-mix(in srgb, var(--cc) 55%, #e2e8f0); border-radius: 14px;
    background: #fff; font-size: 13.8px; font-weight: 700; line-height: 2; color: #334155;
}
.tk-tm-list li::before {
    content: ""; position: absolute; top: 19px; right: 15px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--cc);
    box-shadow: 0 0 9px var(--cc);
}

.tk-tm-outro { margin: 14px 0 0; font-size: 12.5px; font-weight: 800; color: #94a3b8; }

/* ---------- مشخصات فروشنده ---------- */
.tk-tm-seller { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 4px; }
.tk-tm-box {
    display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 14px;
    border: 1.5px solid color-mix(in srgb, var(--cc) 70%, #fff); border-radius: 14px;
    background: color-mix(in srgb, var(--cc) 5%, #fff);
}
.tk-tm-box-wide { grid-column: 1 / -1; }
.tk-tm-box small { font-size: 12px; font-weight: 800; color: #94a3b8; }
.tk-tm-box strong, .tk-tm-box a {
    font-size: 14px; font-weight: 900; color: #1e293b; text-decoration: none; line-height: 1.9; overflow-wrap: anywhere;
}
.tk-tm-box a:hover { color: #4f46e5; }

/* ---------- موبایل ---------- */
@media (max-width: 900px) {
    .tk-tm-seller { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .tk-tm-wrap { gap: 14px; }
    .tk-tm-hero { padding: 18px 16px; border-radius: 18px; }
    .tk-tm-hero p { font-size: 13px; line-height: 2; }
    .tk-tm-nav { gap: 8px; margin-top: 16px; }
    .tk-tm-chip { padding: 6px 10px; font-size: 11.5px; }

    .tk-tm-card { padding: 16px; border-radius: 18px; scroll-margin-top: 90px; }
    .tk-tm-ico { width: 40px; height: 40px; font-size: 19px; border-radius: 12px; }
    .tk-tm-head h2 { font-size: 15.5px; }
    .tk-tm-intro { font-size: 13px; line-height: 2; }
    .tk-tm-law { padding: 12px 14px; font-size: 12.5px; }
    .tk-tm-list li { padding: 9px 36px 9px 12px; font-size: 13px; }
    .tk-tm-list li::before { right: 13px; top: 17px; }

    .tk-tm-seller { grid-template-columns: 1fr; gap: 8px; }
}
