/*
Theme Name: CryptoLearning Signal Clean
Theme URI: https://programinglearning.ir/
Author: CryptoLearningSignal
Author URI: https://programinglearning.ir/
Description: A clean, fast, RTL-friendly crypto blog theme with proper page content rendering, archives, and a professional registration landing template.
Version: 1.0.0
Text Domain: cryptolearning-signal-clean
*/
:root{
  --bg1:#060a18;
  --bg2:#0b1b2b;
  --panel:#0f1730cc;
  --panel2:#0b1226cc;
  --border:#1f2a4a;
  --text:#eaf0ff;
  --muted:#b8c2e0;
  --accent:#3ef0c9;
  --accent2:#7c5cff;
  --shadow:0 18px 55px rgba(0,0,0,.55);
  --radius:22px;
  --radius2:16px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1100px 700px at 15% 20%, #0c2a55 0%, transparent 55%),
              radial-gradient(900px 650px at 85% 20%, #12483d 0%, transparent 60%),
              linear-gradient(135deg, var(--bg1), var(--bg2));
  color:var(--text);
  direction: rtl;
}
a{color:inherit}
.container{width:min(1100px, calc(100% - 32px)); margin-inline:auto}
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(8,12,26,.88), rgba(8,12,26,.55));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:14px}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand-logo{width:44px; height:44px; border-radius:14px; overflow:hidden; background:rgba(255,255,255,.06); display:grid; place-items:center; box-shadow: var(--shadow)}
.brand-logo img{width:100%; height:100%; object-fit:cover}
.brand-text-main{font-weight:800; letter-spacing:.5px}
.brand-text-sub{font-size:.85rem; color:var(--muted)}
.main-nav ul{list-style:none; padding:0; margin:0; display:flex; gap:14px; flex-wrap:wrap}
.main-nav a{text-decoration:none; padding:8px 10px; border-radius:12px; color:var(--muted); border:1px solid transparent}
.main-nav a:hover{color:var(--text); border-color:rgba(255,255,255,.08); background:rgba(255,255,255,.04)}
.hero{
  padding:48px 0 26px;
}
.hero-card{
  border:1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(25,35,66,.65), rgba(10,15,32,.55));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:28px;
}
.hero-title{margin:0 0 10px; font-size: clamp(24px, 3.2vw, 40px); font-weight:900}
.hero-sub{margin:0; color:var(--muted); line-height:1.9}
.kpis{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.kpi{padding:8px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.09); background:rgba(255,255,255,.04); color:var(--muted); font-size:.9rem}
.kpi b{color:var(--text)}
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}
.card{
  grid-column: span 6;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(10,15,32,.55);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:18px 18px 14px;
}
@media (max-width:860px){ .card{grid-column: span 12} .header-inner{flex-direction:column; align-items:flex-start}}
.card-title{margin:0 0 10px; font-size:1.25rem}
.card-meta{color:var(--muted); font-size:.9rem; margin-bottom:10px}
.card p{margin:0; color:var(--muted); line-height:1.9}
.post-list{display:grid; grid-template-columns:repeat(12,1fr); gap:16px; padding:18px 0 50px}
.post-card{
  grid-column: span 6;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(10,15,32,.55);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:18px;
}
@media (max-width:860px){ .post-card{grid-column: span 12}}
.post-card-title{margin:0 0 8px; font-size:1.18rem}
.post-card-title a{text-decoration:none}
.post-card-meta{color:var(--muted); font-size:.9rem; margin-bottom:10px}
.post-card-excerpt{color:var(--muted); line-height:1.9}
.single-wrap{padding:26px 0 40px}
.single-title{margin:0 0 12px; font-size: clamp(22px, 2.8vw, 34px); font-weight:900}
.single-meta{color:var(--muted); margin:0 0 18px}
.single-content{
  border:1px solid rgba(255,255,255,.08);
  background: rgba(10,15,32,.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:22px;
  line-height:2.0;
  color:var(--text);
}
.single-content p, .single-content li{color:var(--muted)}
.single-content h2, .single-content h3{color:var(--text)}
.btn{
  display:inline-block; text-decoration:none;
  padding:10px 14px; border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color:var(--text);
}
.btn:hover{background: rgba(255,255,255,.08)}
.btn-accent{
  border-color: rgba(62,240,201,.35);
  background: rgba(62,240,201,.12);
}
.accordion{
  margin-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
}
.acc-item{border-bottom:1px solid rgba(255,255,255,.08)}
.acc-head{display:flex; justify-content:space-between; align-items:center; cursor:pointer; padding:14px 0; color:var(--text); font-weight:800}
.acc-body{display:none; padding:0 0 16px}
.acc-body p, .acc-body li{color:var(--muted)}
.notice{
  padding:12px 14px; border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:var(--muted);
}
.site-footer{
  border-top:1px solid rgba(255,255,255,.06);
  padding:18px 0;
  color:var(--muted);
  background: rgba(8,12,26,.55);
}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap}
.footer-links{display:flex; gap:10px; flex-wrap:wrap}
.footer-links a{color:var(--muted); text-decoration:none; padding:8px 10px; border-radius:12px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03)}
.footer-links a:hover{color:var(--text)}
.modal-backdrop{
  position:fixed; inset:0; display:none; place-items:center; z-index:60;
  background: rgba(0,0,0,.55);
}
.modal{
  width:min(720px, calc(100% - 28px));
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(18,26,48,.98), rgba(10,15,32,.98));
  box-shadow: var(--shadow);
  padding:18px;
}
.modal h3{margin:6px 0 10px}
.modal .close{float:left; cursor:pointer; padding:8px 10px; border-radius:12px; border:1px solid rgba(255,255,255,.10); background:rgba(255,255,255,.05)}
.small{font-size:.92rem; color:var(--muted); line-height:1.9}
