/*
Theme Name: 100tik.com
Theme URI: https://100tik.com/
Author: Farrokh Daei
Description: قالب رسمی، سبک و اختصاصی سایت درج آگهی صدتیک برای اجرای شورت‌کدهای افزونه‌های 100tik.
Version: 1.2.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: 100tik-com
*/

:root {
    --tik-bg: #f7f9fc;
    --tik-text: #172033;
    --tik-muted: #667085;
    --tik-line: #e7ebf2;
    --tik-primary: #0373ec;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--tik-bg);
    color: var(--tik-text);
    font-family: Estedad, Tahoma, Arial, sans-serif;
    line-height: 1.8;
    direction: rtl;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--tik-primary); text-decoration: none; }
button, input, select, textarea { font: inherit; }
.tik-site { min-height: 100vh; display: flex; flex-direction: column; }
.tik-main { width: 100%; flex: 1 0 auto; }
.tik-content { width: min(100%, 1920px); margin-inline: auto; }
.tik-content--plain { width: min(100% - 32px, 1180px); margin: 32px auto; padding: 28px; background: #fff; border: 1px solid var(--tik-line); border-radius: 18px; }
.tik-fallback-header, .tik-fallback-footer { background: #fff; border-color: var(--tik-line); border-style: solid; }
.tik-fallback-header { border-width: 0 0 1px; }
.tik-fallback-footer { border-width: 1px 0 0; margin-top: 32px; }
.tik-fallback-inner { width: min(100% - 32px, 1180px); min-height: 64px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tik-brand { color: var(--tik-text); font-size: 20px; font-weight: 800; }
.tik-menu { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.tik-empty { width: min(100% - 32px, 760px); margin: 64px auto; padding: 40px; text-align: center; background: #fff; border: 1px solid var(--tik-line); border-radius: 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Modern 404 */
.tik-404-page { position: relative; isolation: isolate; overflow: hidden; min-height: 680px; padding: clamp(28px, 6vw, 86px) 16px; background: linear-gradient(145deg, #f7fbff 0%, #fff 48%, #eef6ff 100%); }
.tik-404-page::before, .tik-404-page::after { content: ""; position: absolute; z-index: -1; border-radius: 999px; filter: blur(1px); }
.tik-404-page::before { width: 390px; height: 390px; inset: -160px auto auto -120px; background: rgba(3,115,236,.10); }
.tik-404-page::after { width: 320px; height: 320px; inset: auto -130px -150px auto; background: rgba(239,68,68,.07); }
.tik-404-shell { width: min(100%, 1080px); margin-inline: auto; display: grid; grid-template-columns: minmax(260px,.8fr) minmax(320px,1.2fr); align-items: center; gap: clamp(28px, 6vw, 80px); }
.tik-404-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.tik-404-code { color: #fff; font-size: clamp(92px, 16vw, 210px); font-weight: 900; line-height: .9; letter-spacing: -12px; text-shadow: 0 18px 50px rgba(3,115,236,.24); -webkit-text-stroke: 2px rgba(3,115,236,.18); }
.tik-404-disc { position: absolute; width: min(86vw, 390px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, #1686ff, #005dcc); box-shadow: 0 30px 80px rgba(3,115,236,.28), inset 0 1px 0 rgba(255,255,255,.4); z-index: -1; }
.tik-404-pin { position: absolute; top: 38px; left: 13%; width: 64px; height: 64px; border: 12px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 14px 30px rgba(0,0,0,.14); }
.tik-404-pin::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #ef4444; }
.tik-404-card { position: absolute; right: 3%; bottom: 32px; width: 170px; padding: 14px; border: 1px solid rgba(255,255,255,.75); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 18px 45px rgba(21,48,88,.16); backdrop-filter: blur(12px); }
.tik-404-card span { display: block; height: 9px; margin-top: 9px; border-radius: 10px; background: #dce9f8; }
.tik-404-card span:first-child { height: 74px; margin: 0; background: linear-gradient(135deg, #d7eaff, #eff6ff); }
.tik-404-copy { max-width: 590px; }
.tik-404-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 14px; color: #075db8; background: #e7f2ff; border-radius: 999px; font-size: 13px; font-weight: 700; }
.tik-404-copy h1 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 48px); line-height: 1.35; color: #10213d; }
.tik-404-copy > p { margin: 0 0 24px; color: #5f6f86; font-size: clamp(15px, 1.7vw, 18px); }
.tik-404-promo { margin: 24px 0; padding: 18px 20px; border: 1px solid #d8eaff; border-right: 4px solid var(--tik-primary); border-radius: 16px; background: rgba(255,255,255,.78); color: #34435a; }
.tik-404-promo strong { display: block; margin-bottom: 3px; color: #10213d; }
.tik-404-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.tik-404-btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border: 1px solid #d8e1ed; border-radius: 14px; color: #25344d; background: #fff; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tik-404-btn:hover { color: #10213d; border-color: #abc7e9; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(24,65,116,.12); }
.tik-404-btn--primary { color: #fff; border-color: #0373ec; background: linear-gradient(135deg, #1686ff, #0264cf); box-shadow: 0 12px 28px rgba(3,115,236,.23); }
.tik-404-btn--primary:hover { color: #fff; border-color: #0264cf; }
.tik-404-search { display: flex; gap: 8px; max-width: 520px; padding: 7px; border: 1px solid #dce5f0; border-radius: 15px; background: #fff; box-shadow: 0 12px 35px rgba(28,55,90,.08); }
.tik-404-search input { min-width: 0; flex: 1; height: 44px; padding: 0 14px; border: 0; outline: 0; color: #172033; background: transparent; }
.tik-404-search button { min-width: 94px; border: 0; border-radius: 11px; color: #fff; background: #172b4d; cursor: pointer; font-weight: 800; }

@media (max-width: 767px) {
    .tik-content--plain { width: min(100% - 20px, 1180px); margin-block: 16px; padding: 18px; border-radius: 14px; }
    .tik-fallback-inner { min-height: 56px; }
    .tik-menu { gap: 10px; font-size: 13px; }
    .tik-404-page { min-height: auto; padding: 28px 12px 48px; }
    .tik-404-shell { grid-template-columns: 1fr; gap: 12px; text-align: center; }
    .tik-404-visual { min-height: 275px; }
    .tik-404-disc { width: 245px; }
    .tik-404-code { font-size: 112px; letter-spacing: -8px; }
    .tik-404-pin { top: 8px; left: 19%; width: 46px; height: 46px; border-width: 9px; }
    .tik-404-card { width: 125px; right: 7%; bottom: 5px; padding: 10px; }
    .tik-404-card span:first-child { height: 48px; }
    .tik-404-copy { margin-inline: auto; }
    .tik-404-eyebrow { margin-bottom: 12px; }
    .tik-404-promo { text-align: right; }
    .tik-404-actions { justify-content: center; }
    .tik-404-btn { flex: 1 1 145px; padding-inline: 14px; }
    .tik-404-search { max-width: 100%; }
}
