.pt-page {
    --g:   var(--main-color, #f59e0b);
    --gl:  #fcd34d;
    --gd:  #92400e;
    --bg:  #0d0a04;
    --sf:  #111008;
    --sf2: #161208;
    --sf3: #1c1508;
    --br:  rgba(245,158,11,.11);
    --brh: rgba(245,158,11,.38);
    --tx:  #f0e6cc;
    --txm: #c8a96e;
    --txs: #7a6840;
    --r:   cubic-bezier(.4,0,.2,1);
    --f:   var(--main-font-family,'IRANSans'),sans-serif;

    font-family: var(--f);
    direction: rtl;
    background: var(--bg);
    min-height: 100vh;
    color: var(--tx);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.pt-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 20px 36px;
    background:
        radial-gradient(ellipse 140% 80% at 50% -15%,
            rgba(245,158,11,.18) 0%,
            transparent 60%),
        var(--sf);
    border-bottom: 1px solid var(--br);
    text-align: center;
}

/* orbs */
.pt-orb {
    position: absolute;
    border-radius: 50%;
    background: var(--g);
    pointer-events: none;
    filter: blur(100px);
}
.pt-orb--1 { width:340px; height:340px; opacity:.05; top:-160px; right:-120px; }
.pt-orb--2 { width:260px; height:260px; opacity:.04; bottom:-100px; left:-80px; }
.pt-orb--3 {
    width:180px; height:180px; opacity:.035;
    top:30%; left:50%; transform:translateX(-50%);
    animation: ptPulse 6s ease-in-out infinite;
}
@keyframes ptPulse {
    0%,100% { transform:translateX(-50%) scale(1); opacity:.035; }
    50%      { transform:translateX(-50%) scale(1.4); opacity:.06; }
}

/* particles */
.pt-particles { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.pt-p {
    position:absolute;
    width:2px; height:2px; border-radius:50%;
    background:var(--g);
    left: calc(var(--pi) * 10% + 2%);
    bottom: -6px;
    opacity: 0;
    animation: ptFloat calc(5s + var(--pi)*.35s) linear calc(var(--pi)*.55s) infinite;
}
@keyframes ptFloat {
    0%   { opacity:0;  transform:translateY(0) scale(1); }
    20%  { opacity:.6; }
    80%  { opacity:.1; }
    100% { opacity:0;  transform:translateY(-300px) scale(.1); }
}

.pt-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

/* breadcrumb */
.pt-bc-wrap   { margin-bottom: 20px; animation: ptFade .4s var(--r) both; }
.pt-breadcrumb,
.pt-breadcrumb span { display:inline-flex; align-items:center; flex-wrap:wrap; gap:4px; }
.pt-breadcrumb a {
    font-size: 11px; color: var(--txs);
    text-decoration: none; letter-spacing: .04em;
    transition: color .2s;
}
.pt-breadcrumb a:hover { color: var(--g); }
.breadcrumb-ind {
    display: inline-block;
    width: 4px; height: 4px;
    background: var(--g); border-radius: 50%; opacity: .4;
    vertical-align: middle; margin: 0 3px;
}
.breadcrumb_last { font-size:11px; color:var(--txm); letter-spacing:.04em; }

/* hero icon */
.pt-hero-icon {
    position: relative;
    width: 90px; height: 90px;
    margin: 0 auto 18px;
    animation: ptFade .45s var(--r) .05s both;
}
.pt-hero-icon-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    background:
        linear-gradient(var(--sf), var(--sf)) padding-box,
        conic-gradient(
            from 0deg,
            rgba(245,158,11,.8) 0%,
            rgba(245,158,11,.05) 45%,
            rgba(245,158,11,.8) 55%,
            rgba(245,158,11,.05) 100%
        ) border-box;
    animation: ptRing 5s linear infinite;
}
@keyframes ptRing { to { transform: rotate(360deg); } }

.pt-hero-icon-core {
    width: 100%; height: 100%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(245,158,11,.15) 0%, transparent 60%),
        var(--sf2);
    border: 1px solid var(--br);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 40px rgba(245,158,11,.12), inset 0 1px 0 rgba(245,158,11,.1);
}
.pt-hero-icon-glow {
    position: absolute;
    bottom: -12px; left: 50%; transform: translateX(-50%);
    width: 70px; height: 14px; border-radius: 50%;
    background: var(--g); filter: blur(16px); opacity: .3;
}

/* badge */
.pt-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 14px;
    background: rgba(245,158,11,.07);
    border: 1px solid rgba(245,158,11,.2);
    border-radius: 100px;
    font-size: 10px; font-weight: 600; color: var(--g); letter-spacing: .08em;
    margin-bottom: 12px;
    animation: ptFade .4s var(--r) .1s both;
}
.pt-badge-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--g); opacity: .7;
    animation: ptPulse2 2s ease-in-out infinite;
}
@keyframes ptPulse2 {
    0%,100% { opacity:.7; transform:scale(1); }
    50%      { opacity:1;  transform:scale(1.4); }
}

.pt-hero-title {
    font-size: clamp(22px, 7vw, 44px);
    font-weight: 800;
    color: var(--tx);
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: .03em;
    background: linear-gradient(135deg, #fff 0%, var(--gl) 40%, var(--g) 70%, var(--gd) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: ptFade .45s var(--r) .14s both;
}

.pt-hero-sub {
    font-size: 12px; color: var(--txs);
    line-height: 1.8; margin: 0 0 14px;
    letter-spacing: .04em;
    animation: ptFade .45s var(--r) .18s both;
}

.pt-hero-count {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px;
    background: rgba(245,158,11,.06);
    border: 1px solid var(--br);
    border-radius: 100px;
    font-size: 10px; color: var(--txm);
    margin-bottom: 20px;
    animation: ptFade .45s var(--r) .22s both;
}
.pt-hero-count strong { color: var(--g); font-weight: 700; }

/* divider */
.pt-divider {
    display: flex; align-items: center; gap: 10px;
    animation: ptFade .45s var(--r) .26s both;
}
.pt-divider span:not(.pt-gem) {
    flex: 1; height: 1px;
    background: linear-gradient(to left, transparent, var(--br));
}
.pt-divider span:first-child {
    background: linear-gradient(to right, transparent, var(--br));
}

/* ══════════════════════════════════════
   SECTION / GRID
══════════════════════════════════════ */
.pt-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px 14px 56px;
    max-width: 1320px;
    margin: 0 auto;
}

/* ══════════════════════════════════════
   CARD
══════════════════════════════════════ */
.pt-card {
    animation: ptCardIn .5s var(--r) calc(var(--ci) * .07s) both;
}
@keyframes ptCardIn {
    from { opacity:0; transform:translateY(28px) scale(.91); }
    to   { opacity:1; transform:none; }
}

.pt-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--sf2);
    border: 1px solid var(--br);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 100%;
    transition: border-color .3s, transform .35s var(--r), box-shadow .35s;
    -webkit-tap-highlight-color: transparent;
}
.pt-card-link:hover,
.pt-card-link:focus-visible {
    border-color: var(--brh);
    transform: translateY(-8px);
    box-shadow:
        0 22px 55px rgba(245,158,11,.18),
        0 0 0 1px rgba(245,158,11,.22),
        inset 0 1px 0 rgba(245,158,11,.12);
    outline: none;
}

/* shine */
.pt-shine {
    position: absolute; inset: 0; z-index: 5; pointer-events: none;
    background: linear-gradient(115deg,
        transparent 25%,
        rgba(255,255,255,.09) 50%,
        transparent 75%);
    transform: translateX(130%);
    transition: transform .6s var(--r);
}
.pt-card-link:hover .pt-shine { transform: translateX(-130%); }

/* corner accents */
.pt-c { position:absolute; width:14px; height:14px; pointer-events:none; border-style:solid; border-color:rgba(245,158,11,.3); }
.pt-c--tl { top:9px; right:9px;  border-width:1.5px 0 0 1.5px; border-radius:3px 0 0 0; }
.pt-c--br { bottom:9px; left:9px; border-width:0 1.5px 1.5px 0; border-radius:0 0 3px 0; }

/* card number */
.pt-card-num {
    position: absolute;
    top: 10px; left: 10px;
    font-size: 10px; font-weight: 800;
    color: rgba(245,158,11,.25);
    letter-spacing: .12em;
    z-index: 3; line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* image */
.pt-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--sf3);
    flex-shrink: 0;
}
.pt-img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform .6s var(--r);
}
.pt-card-link:hover .pt-img { transform: scale(1.08); }

.pt-img-ph {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(ellipse at 50% 40%,
        rgba(245,158,11,.07) 0%, transparent 70%);
}
.pt-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(10,8,2,.96) 0%,
        rgba(10,8,2,.4)  45%,
        transparent      100%);
    z-index: 1;
    transition: opacity .35s;
}
.pt-card-link:hover .pt-img-overlay { opacity: .75; }

/* card body */
.pt-card-body {
    padding: 12px 13px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative; z-index: 2;
    flex: 1;
}

.pt-card-type-icon {
    width: 26px; height: 26px;
    border-radius: 8px;
    background: rgba(245,158,11,.09);
    border: 1px solid rgba(245,158,11,.18);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2px;
    transition: background .25s;
}
.pt-card-link:hover .pt-card-type-icon {
    background: rgba(245,158,11,.18);
}

.pt-card-title {
    font-size: 13px; font-weight: 700;
    color: var(--tx); margin: 0;
    line-height: 1.35; letter-spacing: .04em;
    transition: color .25s;
}
.pt-card-link:hover .pt-card-title { color: var(--g); }

.pt-card-desc {
    font-size: 10px; color: var(--txs);
    margin: 0; line-height: 1.6; letter-spacing: .03em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* footer row */
.pt-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--br);
}

.pt-card-count {
    display: flex; align-items: center; gap: 4px;
    font-size: 9px; color: var(--txs); letter-spacing: .04em;
}

/* CTA */
.pt-cta {
    display: flex; align-items: center; gap: 4px;
    font-size: 9px; font-weight: 600; letter-spacing: .07em;
    color: var(--g);
    opacity: 0; transform: translateX(5px);
    transition: opacity .25s, transform .25s;
}
.pt-card-link:hover .pt-cta,
.pt-card-link:focus-visible .pt-cta { opacity: 1; transform: none; }
@media (hover: none) { .pt-cta { opacity: 1; transform: none; } }

/* bottom glow line */
.pt-card-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right,
        transparent,
        rgba(245,158,11,.5) 50%,
        transparent);
    opacity: 0;
    transition: opacity .3s;
}
.pt-card-link:hover .pt-card-line { opacity: 1; }

/* ══════════════════════════════════════
   EMPTY STATE
══════════════════════════════════════ */
.pt-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.pt-empty-icon {
    width: 90px; height: 90px; border-radius: 50%;
    background: radial-gradient(ellipse at center,
        rgba(245,158,11,.07) 0%, transparent 70%);
    border: 1px solid var(--br);
    display: flex; align-items: center; justify-content: center;
}
.pt-empty-title {
    font-size: 15px; font-weight: 700; color: var(--txm); margin: 0;
}

/* ══════════════════════════════════════
   BASE ANIMATION
══════════════════════════════════════ */
@keyframes ptFade {
    from { opacity:0; transform:translateY(-10px); }
    to   { opacity:1; transform:none; }
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* 480px — 3 col */
@media (min-width: 480px) {
    .pt-section { grid-template-columns: repeat(1, 1fr); gap: 13px; }
}

/* 640px */
@media (min-width: 640px) {
    .pt-section  { padding: 26px 20px 64px; gap: 16px; }
    .pt-hero     { padding: 52px 28px 44px; }
    .pt-card-title { font-size: 14px; }
    .pt-card-body  { padding: 13px 15px 15px; }
}

/* 768px — 4 col */
@media (min-width: 768px) {
    .pt-section { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* 1024px — 5 col */
@media (min-width: 1024px) {
    .pt-section  { grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 32px 24px 72px; }
    .pt-hero     { padding: 68px 32px 56px; }
}

[data-theme="light"] .pt-page {
    --bg:  #fdf8f0;
    --sf:  #fff8ec;
    --sf2: #fef3d8;
    --sf3: #fde9b8;
    --br:  rgba(160,100,10,.13);
    --brh: rgba(160,100,10,.42);
    --tx:  #1a1208;
    --txm: #7a5c20;
    --txs: #9a7c40;
}

[data-theme="light"] .pt-hero {
    background:
        radial-gradient(ellipse 140% 80% at 50% -15%,
            rgba(200,140,20,.10) 0%, transparent 60%),
        var(--sf);
}

[data-theme="light"] .pt-hero-icon-ring {
    background:
        linear-gradient(var(--sf), var(--sf)) padding-box,
        conic-gradient(
            from 0deg,
            rgba(160,100,10,.55) 0%,
            rgba(160,100,10,.06) 45%,
            rgba(160,100,10,.55) 55%,
            rgba(160,100,10,.06) 100%
        ) border-box;
}

[data-theme="light"] .pt-hero-icon-core {
    background:
        radial-gradient(circle at 35% 30%, rgba(200,140,20,.10) 0%, transparent 60%),
        var(--sf2);
    box-shadow: 0 12px 40px rgba(160,100,10,.10), inset 0 1px 0 rgba(255,255,255,.7);
}

[data-theme="light"] .pt-hero-title {
    background: linear-gradient(135deg, #5c3d00 0%, #a06010 40%, #c8820a 70%, #7a4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .pt-card-link {
    background: var(--sf2);
}

[data-theme="light"] .pt-card-link:hover,
[data-theme="light"] .pt-card-link:focus-visible {
    box-shadow:
        0 22px 55px rgba(160,100,10,.11),
        0 0 0 1px rgba(160,100,10,.22),
        inset 0 1px 0 rgba(255,255,255,.7);
}

[data-theme="light"] .pt-img-overlay {
    background: linear-gradient(to top,
        rgba(253,248,240,.97) 0%,
        rgba(253,248,240,.40) 45%,
        transparent 100%);
}

[data-theme="light"] .pt-empty-icon {
    background: radial-gradient(ellipse at center,
        rgba(160,100,10,.07) 0%, transparent 70%);
}

[data-theme="light"] .pt-c {
    border-color: rgba(160,100,10,.25);
}