:root {
  --ra-bg: #f8fbff;
  --ra-ink: #182440;
  --ra-mu: #687793;
  --ra-bl: #5367e8;
  --ra-bl-light: #7279f5;
  --ra-cyan: #14a990;
  --ra-card: #ffffff;
  --ra-card-hover: #fcfdff;
  --ra-line: #e4e9f5;
  --ra-sh: 0 8px 30px rgba(36, 54, 105, 0.08);
  --ra-radius: 18px;
  --ra-grad: linear-gradient(115deg, #5367e8, #9564ed);
}

body {
  background: var(--ra-bg);
  color: var(--ra-ink);
  font-family: Vazirmatn, Tahoma, sans-serif;
  line-height: 1.8;
  margin: 0;
}

/* Unified Card System */
.card, .blog-card, .game-card, .platform-card {
  background: var(--ra-card) !important;
  border: 1px solid var(--ra-line) !important;
  border-radius: var(--ra-radius) !important;
  overflow: hidden;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  text-decoration: none !important;
  color: var(--ra-ink) !important;
  box-shadow: var(--ra-sh) !important;
}

.card:hover, .blog-card:hover, .game-card:hover {
  transform: translateY(-5px) !important;
  border-color: var(--ra-bl) !important;
  background: var(--ra-card-hover) !important;
  box-shadow: 0 15px 45px rgba(36, 54, 105, 0.12) !important;
}

.card .th, .blog-card-thumb, .game-card .th {
  aspect-ratio: 16/10 !important;
  width: 100% !important;
  overflow: hidden !important;
  background: #f0f3fb !important;
  position: relative !important;
}

.card .th img, .blog-card-thumb img, .game-card .th img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}

.card:hover img { transform: scale(1.05); }

.card .bd, .blog-card-body, .game-card .bd {
  padding: 18px !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.card h3, .blog-card h3, .game-card h3 {
  font-size: 17px !important;
  margin: 0 0 10px !important;
  color: var(--ra-ink) !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

.card p, .blog-card p, .game-card p {
  font-size: 13.5px !important;
  color: var(--ra-mu) !important;
  margin: 0 0 15px !important;
  line-height: 1.6 !important;
}

.card .pr, .card b.pr {
  margin-top: auto !important;
  color: var(--ra-bl) !important;
  font-weight: 900 !important;
  font-size: 18px !important;
}

/* Section Headings - Unified */
.sh, .ra-v28-section-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 25px !important;
  border-bottom: 1px solid var(--ra-line) !important;
  padding-bottom: 15px !important;
}

.sh h2, .ra-v28-section-head h2 {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: var(--ra-ink) !important;
  margin: 0 !important;
  position: relative !important;
}

.sh h2::after, .ra-v28-section-head h2::after {
  content: "";
  position: absolute;
  bottom: -16px;
  right: 0;
  width: 60px;
  height: 3px;
  background: var(--ra-grad);
  border-radius: 3px;
}

/* Grids */
.grid {
  display: grid !important;
  gap: 20px !important;
}
.g3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; }
.g4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; }

/* Buttons */
.btn {
  border-radius: 12px !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  transition: all 0.2s !important;
}

.btn.p {
  background: var(--ra-grad) !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(123, 66, 255, 0.3) !important;
}

.btn.p:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(123, 66, 255, 0.4) !important;
  filter: brightness(1.1) !important;
}

a{color:var(--bl);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block;height:auto}
h1,h2,h3{line-height:1.5;margin:0 0 10px;font-weight:800}
.wrap{width:min(1160px,92%);margin-inline:auto}
.sec{padding:48px 0}
.narrow{max-width:820px}
.center{text-align:center}

/* Buttons */
.btn{
  display:inline-block;border:1px solid var(--ln);background:var(--wh);color:var(--ink);
  border-radius:12px;padding:10px 20px;font:inherit;font-weight:600;cursor:pointer;
  transition:transform .15s,box-shadow .15s,background .15s;text-decoration:none
}
.btn:hover{text-decoration:none;box-shadow:var(--sh)}
.btn.p{background:linear-gradient(110deg,var(--bl),var(--vi));color:#fff;border:0}
.btn.p:hover{filter:brightness(1.05)}
.btn:active{transform:scale(.98)}
.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,button:focus-visible{
  outline:2px solid var(--bl);outline-offset:2px
}

/* Top bar & header */
.topbar{background:var(--ink);color:#cfd8ea;font-size:12.5px}
.topbar .wrap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:6px 0}
.topbar a{color:#fff}
.hd{background:var(--wh);border-bottom:1px solid var(--ln);position:sticky;top:0;z-index:30;backdrop-filter:saturate(1.2) blur(8px)}
.hd-in{display:flex;align-items:center;gap:16px;min-height:68px;position:relative}
.logo{font-size:21px;font-weight:800;color:var(--ink);text-decoration:none;white-space:nowrap}
.logo:hover{text-decoration:none}
.logo b{color:var(--bl)}
.logo img{max-height:44px;width:auto}

/* Nav */
#nav{margin-inline-start:auto}
.menu,.sub,.fmenu{list-style:none;margin:0;padding:0}
.menu{display:flex;align-items:center;gap:2px}
.menu>li{position:relative}
.menu a{display:block;padding:9px 13px;color:#42526c;font-weight:600;font-size:14px;border-radius:10px;text-decoration:none}
.menu a:hover{background:#eef2ff;color:var(--bl);text-decoration:none}
.tg{display:none;background:none;border:0;font:inherit;cursor:pointer;color:var(--mu);padding:6px 10px;border-radius:8px}
.tg:hover{background:#eef2ff;color:var(--bl)}
.sub{
  position:absolute;top:calc(100% - 2px);inset-inline-end:0;min-width:210px;
  background:var(--wh);border:1px solid var(--ln);border-radius:12px;box-shadow:var(--sh);
  padding:6px;display:none;z-index:40
}
.has:hover>.sub,.has:focus-within>.sub{display:block}
.sub .sub{top:0;inset-inline-end:100%;inset-inline-start:auto}
.sub a{padding:8px 12px;font-size:13.5px;border-radius:8px}
.burger{
  display:none;margin-inline-start:auto;background:var(--wh);border:1px solid var(--ln);
  border-radius:10px;font-size:22px;line-height:1;padding:6px 12px;cursor:pointer;color:var(--ink)
}
.cta{margin-inline-start:8px;white-space:nowrap}


/* ========== Mega Menu (p30day-style multi-column) ========== */
.menu > li.mega-parent { position: static; }
.menu > li.mega-parent > a { display: inline-flex; align-items: center; gap: 6px; }
.mega {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline: 0;
  z-index: 50;
  padding: 0 4%;
  pointer-events: none;
}
.mega-parent:hover > .mega,
.mega-parent:focus-within > .mega,
.mega-parent.open > .mega {
  display: block;
  pointer-events: auto;
}
.mega-in {
  display: grid;
  grid-template-columns: repeat(var(--mega-cols, 4), minmax(0, 1fr));
  gap: 8px 20px;
  background: var(--wh);
  border: 1px solid var(--ln);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(20, 35, 70, .14);
  padding: 22px 24px;
  margin-top: 6px;
  max-height: min(72vh, 520px);
  overflow: auto;
}
.mega[data-cols="2"] .mega-in { --mega-cols: 2; }
.mega[data-cols="3"] .mega-in { --mega-cols: 3; }
.mega[data-cols="4"] .mega-in { --mega-cols: 4; }
.mega[data-cols="5"] .mega-in { --mega-cols: 5; }
.mega[data-cols="6"] .mega-in { --mega-cols: 6; }
.mega-col { min-width: 0; }
.mega-h {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ln);
}
.mega-h a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: var(--ink);
  font-weight: 800;
  border-radius: 0;
  background: transparent !important;
}
.mega-h a:hover { color: var(--bl); text-decoration: none; }
.mega-desc {
  font-size: 12px;
  color: var(--mu);
  margin: 0 0 8px;
  line-height: 1.45;
}
.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mega-list a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  font-size: 13.2px;
  font-weight: 500;
  color: #42526c;
  border-radius: 8px;
}
.mega-list a:hover {
  background: #eef2ff;
  color: var(--bl);
  text-decoration: none;
}
.m-ico {
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 4px;
}
.mega-promo {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(145deg, #f4f7ff, #eef2ff);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid var(--ln);
}
.mega-promo img {
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.mega-promo p {
  font-size: 12.5px;
  color: var(--mu);
  margin: 0;
  line-height: 1.5;
}
.mega-cta {
  align-self: flex-start;
  font-size: 12.5px !important;
  padding: 7px 12px !important;
}

/* mobile: mega becomes accordion panel */
@media (max-width: 860px) {
  .menu > li.mega-parent { position: relative; }
  .mega {
    position: static;
    padding: 0;
    display: none;
  }
  .mega-parent.open > .mega { display: block; }
  .mega-in {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 8px 6px 12px;
    margin: 0;
    max-height: none;
    background: #f7f9fd;
  }
  .mega[data-cols] .mega-in { --mega-cols: 2; }
  .mega-promo { grid-column: 1 / -1; }
  .mega-h { font-size: 13px; }
  .mega-list a { padding: 9px 10px; }
}

@media (max-width: 480px) {
  .mega-in { grid-template-columns: 1fr; }
}

/* Footer menus (vertical) */
.fmenu{display:flex;flex-direction:column;gap:2px}
.fmenu a{
  display:block;padding:4px 0;color:#cfd8ea!important;font-size:13.5px;font-weight:500;border-radius:0
}
.fmenu a:hover{color:#fff!important;background:transparent;text-decoration:underline}
.fmenu .sub{display:none!important}

/* Slider */
.slider{position:relative;overflow:hidden;background:linear-gradient(120deg,#fff,#eaf0ff)}
.sl{display:none;position:relative;min-height:400px;align-items:center}
.sl.on{display:flex}
.sl .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sl-in{position:relative;z-index:1;padding:64px 0}
.sl-in h1{font-size:clamp(28px,5vw,48px);max-width:640px;margin-bottom:12px}
.sl-in p{max-width:560px;color:var(--mu);margin:0 0 18px}
.sl:has(.bg) .sl-in{color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.55)}
.sl:has(.bg) .sl-in p{color:rgba(255,255,255,.92)}
.sp,.sn{
  position:absolute;top:50%;transform:translateY(-50%);z-index:2;
  width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.9);
  font-size:22px;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.12);transition:background .15s
}
.sp:hover,.sn:hover{background:#fff}
.sp{inset-inline-end:14px}
.sn{inset-inline-start:14px}
.dots{position:absolute;bottom:16px;inset-inline:0;display:flex;gap:8px;justify-content:center;z-index:2}
.dots button{
  width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,.55);cursor:pointer;padding:0
}
.dots button.on{background:var(--bl);transform:scale(1.15)}

/* Hero (fallback) */
.hero{background:linear-gradient(120deg,#fff,#f0f3ff 55%,#e9f8f6);padding:72px 0}
.hero h1{font-size:clamp(32px,5vw,54px)}
.hero em{font-style:normal;color:var(--bl)}
.hero p{color:var(--mu);max-width:560px}

/* Stats */
.stats{
  display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:-28px;position:relative;z-index:3
}
.stats div{
  background:var(--wh);border:1px solid var(--ln);border-radius:16px;padding:16px 18px;box-shadow:var(--sh)
}
.stats b,.stats span{display:block}
.stats b{color:var(--bl);font-size:20px}
.stats span{color:var(--mu);font-size:12.5px}

/* Cards & grids */
.grid{display:grid;gap:18px}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
.card{
  background:var(--wh);border:1px solid var(--ln);border-radius:18px;overflow:hidden;
  color:inherit;display:block;transition:box-shadow .2s,transform .2s;text-decoration:none
}
.card:hover{box-shadow:var(--sh);transform:translateY(-3px);text-decoration:none}
.th{aspect-ratio:4/3;background:#eef1fa;overflow:hidden}
.th img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.card:hover .th img{transform:scale(1.04)}
.bd{padding:14px 16px}
.bd h3{font-size:16px;margin:4px 0 6px}
.bd p{margin:0;color:var(--mu);font-size:13.5px}
.bd small{color:var(--mu);font-size:12.5px}
.ph{
  width:100%;height:100%;display:grid;place-items:center;
  background:linear-gradient(135deg,#e6ebff,#e6f8f5);color:var(--bl);font-size:34px;font-weight:800
}
.pr{color:var(--bl);font-weight:800}
.big{font-size:24px}

/* Banners */
.banners{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;padding:8px 0 24px}
.bn{
  position:relative;border-radius:18px;overflow:hidden;min-height:160px;
  background:linear-gradient(120deg,var(--bl),var(--vi));color:#fff;display:flex;align-items:flex-end;
  text-decoration:none;transition:transform .2s
}
.bn:hover{transform:translateY(-2px);text-decoration:none}
.bn img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bn span{position:relative;padding:16px;display:block;text-shadow:0 2px 12px rgba(0,0,0,.5);z-index:1}
.bn b{display:block;font-size:18px}

.alt{background:#edf1fa}
.split{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start}
.sh{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.sh h2{margin:0;font-size:clamp(22px,3vw,28px)}
.sh a{font-size:14px;font-weight:600;white-space:nowrap}

/* Chips / filters */
.chips{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 18px}
.chip{
  border:1px solid var(--ln);background:var(--wh);border-radius:20px;padding:4px 14px;
  color:var(--ink);font-size:13.5px;text-decoration:none;transition:background .15s,color .15s
}
.chip:hover{border-color:var(--bl);color:var(--bl);text-decoration:none}
.chip.on{background:var(--bl);color:#fff;border-color:var(--bl)}
.bar{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0;align-items:center}

/* Forms */
input,select,textarea{
  width:100%;border:1px solid #dbe2ee;border-radius:10px;padding:10px 12px;
  font:inherit;background:var(--wh);color:var(--ink);transition:border-color .15s,box-shadow .15s
}
input:focus,select:focus,textarea:focus{border-color:var(--bl);box-shadow:0 0 0 3px rgba(66,99,235,.15);outline:none}
.bar input,.bar select{width:auto;flex:1;min-width:150px}
.card-form{
  background:var(--wh);border:1px solid var(--ln);border-radius:18px;padding:24px;margin:16px 0;
  box-shadow:0 4px 20px rgba(34,55,99,.04)
}
.card-form h3{margin:0 0 14px}
.card-form label{display:block;font-size:13px;font-weight:600;margin-bottom:12px}
.card-form input,.card-form select,.card-form textarea{margin-top:5px}
.card-form .btn{margin-top:6px;width:100%}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}

/* Flash / crumbs / prose */
.flash{background:#e7f8ef;color:#176c46;border-radius:12px;padding:12px 16px;margin:14px 0;border:1px solid #c6ecd6}
.flash.error{background:#fff0f0;color:#9d3030;border-color:#f0c8c8}
.crumbs{font-size:13px;color:var(--mu);padding-top:18px;padding-bottom:4px}
.crumbs a{color:var(--mu)}
.crumbs a:hover{color:var(--bl)}
.prose{line-height:2}
.prose img{border-radius:12px;margin:12px 0}
.prose p{margin:0 0 12px}
.lead{color:var(--mu);font-size:17px}
.hero-img{border-radius:18px;margin:12px 0;width:100%;max-height:420px;object-fit:cover}

/* Gallery / before-after */
.ba{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:#eef1fa;border-radius:14px;overflow:hidden}
.ba img{width:100%;aspect-ratio:4/3;object-fit:cover}
.gal a{display:block;border-radius:12px;overflow:hidden}
.gal img{width:100%;aspect-ratio:1;object-fit:cover;transition:transform .3s}
.gal a:hover img{transform:scale(1.05)}

/* FAQ */
details{background:var(--wh);border:1px solid var(--ln);border-radius:14px;padding:12px 16px;margin-bottom:10px}
summary{cursor:pointer;font-weight:600;list-style:none}
summary::-webkit-details-marker{display:none}
summary::after{content:"▾";float:left;color:var(--mu);font-size:12px;transition:transform .2s}
details[open] summary::after{transform:rotate(180deg)}
details p{color:var(--mu);margin:10px 0 0}

/* Comments */
.cm{background:var(--wh);border:1px solid var(--ln);border-radius:12px;padding:12px 14px;margin:8px 0}
.cm p{margin:4px 0 0;color:var(--mu)}
.cm b{font-size:14px}

/* Timeline (track) */
.tl{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.tl>div{
  flex:1;min-width:90px;text-align:center;padding:10px 8px;border-radius:12px;
  background:#eef1fa;color:var(--mu);font-size:12.5px;font-weight:600
}
.tl .done{background:#e0f2ee;color:#176c46}
.tl .now{background:var(--bl);color:#fff;box-shadow:0 4px 14px rgba(66,99,235,.35)}

/* Map */
.map{width:100%;height:280px;border:0;border-radius:14px;margin:14px 0}

/* Footer */
.ft{background:var(--ink);color:#cfd8ea;margin-top:48px;padding-top:40px}
.fg{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:28px}
.ft b{color:#fff;display:block;margin-bottom:10px;font-size:14px}
.ft a{color:#cfd8ea}
.ft a:hover{color:#fff}
.ft .fl{font-size:20px;margin-bottom:8px}
.ft p{margin:4px 0;font-size:13.5px;line-height:1.7}
.soc{display:inline-block;margin-inline-end:12px;margin-top:8px;font-weight:600}
.copy{text-align:center;padding:18px;margin-top:28px;border-top:1px solid #2c3c5a;font-size:12.5px;color:#8fa0bf}

/* Lightbox */
.lbo{
  position:fixed;inset:0;background:rgba(0,0,0,.88);display:grid;place-items:center;
  z-index:100;cursor:zoom-out;padding:16px
}
.lbo img{max-height:92vh;max-width:94vw;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5)}

/* Responsive */
@media(max-width:960px){
  .g4{grid-template-columns:repeat(3,1fr)}
  .fg{grid-template-columns:1fr 1fr;gap:24px}
}
@media(max-width:860px){
  .g3,.g4{grid-template-columns:repeat(2,1fr)}
  .split,.fg{grid-template-columns:1fr}
  .stats{grid-template-columns:repeat(2,1fr)}
  .burger{display:block}
  .cta{display:none}
  #nav{
    display:none;position:absolute;top:100%;inset-inline:0;background:var(--wh);
    border-bottom:1px solid var(--ln);padding:10px 4%;margin:0;max-height:75vh;overflow:auto;
    box-shadow:0 12px 30px rgba(34,55,99,.1)
  }
  #nav.open{display:block}
  .menu{flex-direction:column;align-items:stretch;gap:0}
  .menu a{padding:12px 14px;border-radius:10px}
  .has{display:flex;flex-wrap:wrap;align-items:center}
  .has>a{flex:1}
  .tg{display:block}
  .sub{
    position:static;display:none;width:100%;box-shadow:none;border:0;padding:0 8px 8px;
    background:transparent;min-width:0
  }
  .has.open>.sub{display:block}
  .has:hover>.sub{display:none}
  .has.open:hover>.sub{display:block}
  .sub a{padding:10px 14px}
  .sl{min-height:320px}
  .sl-in{padding:40px 0}
}
@media(max-width:520px){
  .g3,.g4{grid-template-columns:1fr}
  .sh h2{font-size:22px}
  .stats{grid-template-columns:1fr 1fr;gap:10px}
  .sec{padding:36px 0}
  .ba{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  *{transition:none!important;scroll-behavior:auto!important}
  .card:hover{transform:none}
}

/* Header search */
.hdr-search{display:flex;align-items:center;gap:0;margin-inline-start:8px;background:#f0f3fa;border:1px solid var(--ln);border-radius:999px;padding:2px 4px 2px 10px;max-width:200px}
.hdr-search input{border:0;background:transparent;padding:6px 4px;font-size:13px;width:100%;min-width:0}
.hdr-search input:focus{outline:none;box-shadow:none}
.hdr-search button{border:0;background:transparent;cursor:pointer;font-size:15px;padding:4px 8px;border-radius:999px}
.hdr-search button:hover{background:#e4e9f5}

/* Why us */
.why-grid{gap:16px}
.why-card{background:var(--wh);border:1px solid var(--ln);border-radius:16px;padding:20px 18px;box-shadow:0 4px 18px rgba(34,55,99,.04)}
.why-ic{font-size:28px;display:block;margin-bottom:8px}
.why-card h3{font-size:16px;margin:0 0 6px}
.why-card p{margin:0;color:var(--mu);font-size:13.5px}

/* Testimonials */
.tm{background:var(--wh);border:1px solid var(--ln);border-radius:16px;padding:18px;margin:0;box-shadow:0 4px 18px rgba(34,55,99,.04)}
.tm .stars{color:#f5a623;letter-spacing:2px;font-size:14px;margin-bottom:8px}
.tm p{margin:0 0 12px;color:var(--ink);font-size:14.5px;line-height:1.8}
.tm footer{display:flex;flex-direction:column;gap:2px;font-size:13px}
.tm footer b{color:var(--ink)}
.tm footer span{color:var(--mu)}

/* Search results */
.search-list{list-style:none;margin:0;padding:0}
.search-list li{border-bottom:1px solid var(--ln)}
.search-list a{display:block;padding:12px 4px;text-decoration:none;color:inherit}
.search-list a:hover{background:#f3f6fd}
.search-list b{display:block;color:var(--bl);margin-bottom:2px}
.search-list span{display:block;color:var(--mu);font-size:13.5px}

/* Share */
.share{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0;padding:12px 0;border-top:1px solid var(--ln);border-bottom:1px solid var(--ln);font-size:13.5px}
.share span{color:var(--mu);font-weight:600}
.share a{background:#eef2ff;color:var(--bl);padding:4px 12px;border-radius:999px;font-weight:600;text-decoration:none}
.share a:hover{background:var(--bl);color:#fff}

/* Floating contact bar */
.float-bar{position:fixed;bottom:18px;inset-inline-start:16px;z-index:60;display:flex;flex-direction:column;gap:8px}
.fb{display:inline-flex;align-items:center;gap:6px;padding:10px 14px;border-radius:999px;color:#fff!important;font-weight:700;font-size:13.5px;text-decoration:none!important;box-shadow:0 8px 24px rgba(0,0,0,.18);transition:transform .15s}
.fb:hover{transform:translateY(-2px)}
.fb.wa{background:#25d366}
.fb.call{background:#4263eb}
.fb.track{background:#17253d}

/* Back to top */
.to-top{position:fixed;bottom:18px;inset-inline-end:16px;z-index:60;width:44px;height:44px;border-radius:50%;border:0;background:var(--ink);color:#fff;font-size:18px;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .2s,transform .15s;box-shadow:0 8px 20px rgba(0,0,0,.2)}
.to-top.show{opacity:1;pointer-events:auto}
.to-top:hover{transform:translateY(-2px)}

@media(max-width:860px){
  .hdr-search{display:none}
  .float-bar{bottom:12px;inset-inline-start:10px}
  .fb{padding:9px 12px;font-size:12.5px}
  .to-top{bottom:12px;inset-inline-end:10px}
}
@media(max-width:520px){
  .why-grid{grid-template-columns:1fr 1fr}
}

/* ===== Trust & conversion polish ===== */
.trust-bar{background:#0f1b2d;color:#cfd8ea;font-size:12.5px;border-bottom:1px solid rgba(255,255,255,.06)}
.trust-bar .wrap{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;padding:8px 0}
.trust-bar span{opacity:.95;white-space:nowrap}

/* Hero extras */
.hero-badge{
  display:inline-block;background:rgba(66,99,235,.1);color:var(--bl);border:1px solid rgba(66,99,235,.2);
  border-radius:999px;padding:4px 12px;font-size:12.5px;font-weight:700;margin-bottom:14px
}
.hero-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.hero-trust{display:flex;flex-wrap:wrap;gap:14px;margin-top:20px;font-size:13px;color:var(--mu)}
.hero-trust span::before{content:"✓ ";color:var(--mint);font-weight:700}

/* Brands strip */
.brands-strip{background:var(--wh);border-block:1px solid var(--ln);padding:14px 0}
.brands-strip .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:center}
.brands-label{font-weight:700;color:var(--mu);font-size:13px;margin-inline-end:6px}
.brand-pill{
  background:#f0f3fa;border:1px solid var(--ln);border-radius:999px;padding:5px 14px;
  font-size:12.5px;font-weight:600;color:var(--ink)
}

/* Steps / how it works */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.step{
  background:var(--wh);border:1px solid var(--ln);border-radius:18px;padding:22px 18px;
  position:relative;box-shadow:0 4px 18px rgba(34,55,99,.04);transition:transform .2s,box-shadow .2s
}
.step:hover{transform:translateY(-3px);box-shadow:var(--sh)}
.step-num{
  width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,var(--bl),var(--vi));
  color:#fff;display:grid;place-items:center;font-weight:800;margin-bottom:12px;font-size:15px
}
.step h3{font-size:15.5px;margin:0 0 6px}
.step p{margin:0;color:var(--mu);font-size:13.5px}

/* Guarantee strip */
.guarantee{background:linear-gradient(120deg,#17253d,#2a3f66);color:#fff;padding:28px 0;margin:8px 0}
.guarantee .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.g-item{text-align:center;padding:8px}
.g-item b{display:block;font-size:15px;margin-bottom:4px}
.g-item span{display:block;font-size:12.5px;color:#cfd8ea}

/* Testimonials polish */
.tm-sec .tm-avg{font-size:13.5px;font-weight:700;color:#f5a623;white-space:nowrap}
.tm{position:relative}
.tm::before{
  content:"""";position:absolute;top:8px;inset-inline-end:14px;font-size:48px;color:rgba(66,99,235,.12);
  font-family:Georgia,serif;line-height:1
}

/* Form trust */
.form-trust{margin:-4px 0 14px;color:var(--mu);font-size:13.5px}
.form-perks{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 14px}
.form-perks li{font-size:12.5px;color:var(--mu);font-weight:600}

/* Portfolio before/after tag */
.th{position:relative}
.tag-ba{
  position:absolute;bottom:10px;inset-inline-start:10px;background:rgba(15,27,45,.82);color:#fff;
  font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:999px;backdrop-filter:blur(4px)
}

/* Contact cards */
.contact-cards{display:grid;gap:10px;margin:16px 0}
.cc{
  background:var(--wh);border:1px solid var(--ln);border-radius:14px;padding:12px 14px;
  display:flex;flex-direction:column;gap:2px
}
.cc b{font-size:13px}
.cc span{color:var(--mu);font-size:13.5px}
.contact-trust{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;font-size:13px;color:var(--mu)}

/* Footer trust */
.ft-trust{
  display:flex;flex-wrap:wrap;justify-content:center;gap:10px 20px;padding:16px 0 4px;
  border-top:1px solid #2c3c5a;margin-top:28px;font-size:12.5px;color:#a9b8d4
}
.ft-trust span::before{content:"✓ ";color:#28b8a7}

/* Stronger card elevation */
.card{box-shadow:0 2px 8px rgba(34,55,99,.03)}
.why-card{transition:transform .2s,box-shadow .2s}
.why-card:hover{transform:translateY(-3px);box-shadow:var(--sh)}

/* Slider CTA spacing */
.sl-in .btn{margin-top:6px}

@media(max-width:860px){
  .steps{grid-template-columns:repeat(2,1fr)}
  .guarantee .wrap{grid-template-columns:repeat(2,1fr)}
  .trust-bar .wrap{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding:8px 0;gap:16px}
  .trust-bar span{flex-shrink:0}
}
@media(max-width:520px){
  .steps{grid-template-columns:1fr}
  .guarantee .wrap{grid-template-columns:1fr}
  .hero-cta .btn{width:100%;text-align:center}
}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* Install service landing */
.install-hero{background:linear-gradient(125deg,#0f1b2d 0%,#1e3a6e 55%,#2a4a8a 100%);color:#fff;padding:56px 0 48px}
.install-hero h1{font-size:clamp(28px,4.5vw,44px);margin:0 0 12px}
.install-hero h1 em{font-style:normal;color:#9ec1ff}
.install-hero p{max-width:560px;color:#cfd8ea;margin:0 0 16px}
.install-hero .hero-badge{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.2)}
.install-hero .hero-trust span{color:#cfd8ea}
.install-hero .hero-trust span::before{color:#7ee2c5}
.install-hero .btn{box-shadow:none}
.install-hero .btn:not(.p){background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.25);color:#fff}
.alt-sec{background:#edf1fa;padding:48px 0;margin:0}

.pkg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.pkg-card{
  background:var(--wh);border:1px solid var(--ln);border-radius:18px;padding:22px;
  display:flex;flex-direction:column;gap:8px;box-shadow:0 4px 18px rgba(34,55,99,.05);
  transition:transform .2s,box-shadow .2s
}
.pkg-card:hover{transform:translateY(-3px);box-shadow:var(--sh)}
.pkg-top{display:flex;gap:8px;flex-wrap:wrap}
.pkg-plat,.pkg-cap{
  font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px
}
.pkg-plat{background:#e7efff;color:var(--bl)}
.pkg-cap{background:#eef1f6;color:var(--mu)}
.pkg-card h3{margin:4px 0;font-size:18px}
.pkg-count{margin:0;font-weight:700;color:var(--bl);font-size:14px}
.pkg-desc{margin:0;color:var(--mu);font-size:13.5px;flex:1}
.pkg-feat{margin:6px 0 0;padding:0 18px 0 0;color:var(--ink);font-size:13px}
.pkg-feat li{margin:3px 0}
.pkg-foot{display:flex;flex-direction:column;gap:2px;margin:10px 0}
.pkg-card .btn{width:100%;text-align:center;margin-top:4px}

.game-card{cursor:pointer}
.game-card .pick{
  display:flex;align-items:center;gap:8px;margin-top:10px;font-size:13px;font-weight:600;color:var(--bl)
}
.game-card .pick input{width:auto;accent-color:var(--bl)}
.chips-bar{align-items:center}
.chip-check{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;white-space:nowrap}
.chip-check input{width:auto}
.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:600px){.form-grid-2{grid-template-columns:1fr}}
.price-table{margin-top:12px}
.ptable{width:100%;border-collapse:collapse;background:var(--wh);border-radius:14px;overflow:hidden;border:1px solid var(--ln)}
.ptable th,.ptable td{padding:12px 14px;border-bottom:1px solid var(--ln);text-align:start}
.ptable th{background:#f7f9fc;font-size:12.5px;color:var(--mu)}
.svc-w{display:inline-block;background:#e6f8f1;color:#0b7a58;font-size:12px;font-weight:700;padding:2px 10px;border-radius:999px;margin-inline-start:6px}
.svc-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0 16px}

/* ==========================================================
   RAYAN AFZAR — PREMIUM UI REFRESH
   Accessible, responsive visual layer; existing PHP features
   and database workflows remain intact.
   ========================================================== */
:root{
  --ink:#111b31;--mu:#68758d;--bl:#5b63f6;--vi:#8b5cf6;--mint:#13b8a6;
  --bg:#f5f7fc;--wh:#fff;--ln:#e5e9f2;
  --sh:0 18px 48px rgba(20,31,60,.09);--radius:20px;
  --accent-grad:linear-gradient(115deg,#5865f2 0%,#8057e9 55%,#12b8a6 130%);
}
body{background:linear-gradient(180deg,#f8f9ff 0,#f4f6fb 45%,#f8f9fc 100%);color:#17223a;line-height:1.95}
::selection{background:#dcdfff;color:#20245d}
a{transition:color .18s ease}
.wrap{width:min(1200px,92%)}
.sec{padding:clamp(44px,6vw,76px) 0}
.sec h2,.sec-title{letter-spacing:-.45px}
.topbar{background:#101a30;color:#d8e0f2;font-size:12px}
.topbar .wrap{padding-block:8px}
.hd{background:rgba(255,255,255,.94);box-shadow:0 8px 30px rgba(17,27,49,.045);border-bottom:1px solid rgba(220,226,239,.8)}
.hd-in{min-height:78px;gap:14px}
.logo{font-size:22px;letter-spacing:-.5px}
.logo b{background:var(--accent-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.menu{gap:4px}
.menu a{font-size:13.5px;padding:10px 12px;color:#34415b}
.menu a:hover,.menu .has.open>a{background:#f0f1ff;color:#555ce7}
.sub{border:1px solid #e8eaf4;border-radius:15px;padding:8px;box-shadow:0 18px 44px rgba(20,31,60,.13)}
.sub a:hover{background:#f4f4ff}
.hdr-search{border-radius:12px;background:#f5f6fb;border:1px solid #e9ecf4;overflow:hidden}
.hdr-search input{background:transparent;min-width:90px}
.hdr-search button{background:transparent;color:#5964e9}
.btn{border-radius:13px;padding:11px 19px;font-weight:700;border-color:#e4e8f1;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(39,52,103,.12)}
.btn.p{background:var(--accent-grad);box-shadow:0 8px 18px rgba(91,99,246,.2)}
.btn.p:hover{filter:saturate(1.12) brightness(1.04)}
.cta{padding:10px 16px}
.trust-bar{background:#fff;border-bottom:1px solid #edf0f6}
.trust-bar .wrap{gap:12px 28px;padding-block:10px}
.trust-bar span{font-size:12px;color:#56627a}
.trust-bar span:before{filter:saturate(.8)}
/* Hero and primary sections */
.slider,.hero,.install-hero{isolation:isolate}
.slider{border-radius:0 0 28px 28px;overflow:hidden}
.sl-in{max-width:1200px;padding-block:clamp(54px,8vw,100px)}
.sl-in h1,.hero h1{font-size:clamp(29px,4.5vw,52px);line-height:1.42;letter-spacing:-1px}
.sl-in p,.hero p{font-size:clamp(14px,1.5vw,17px);line-height:2;color:rgba(255,255,255,.82);max-width:650px}
.hero-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.hero-cta .btn{min-width:145px}
.hero-badge,.badge{border-radius:999px}
.card,.why-card,.service-card,.product-card,.g-item,.tm,.pkg-card{
  border:1px solid rgba(225,230,241,.9);border-radius:20px;background:#fff;
  box-shadow:0 5px 22px rgba(23,36,72,.045);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.card:hover,.service-card:hover,.product-card:hover,.g-item:hover,.pkg-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(23,36,72,.10);border-color:#d9dcff}
.why-card{padding:22px}
.why-card:hover{transform:translateY(-4px);box-shadow:var(--sh)}
.why-card .ic,.service-card .ic{background:linear-gradient(135deg,#eff0ff,#e5fbf7);border-radius:15px}
.sec.alt,.alt-sec{background:linear-gradient(135deg,#eef1ff 0%,#f5f7fc 55%,#eaf9f6 130%)}
.sec-head{margin-bottom:26px}
.sec-head h2{font-size:clamp(23px,3vw,32px)}
.sec-head p{color:var(--mu)}
/* Forms */
.card-form,.trust-form{border:1px solid #e5e8f3;border-radius:22px;background:#fff;padding:clamp(18px,3vw,30px);box-shadow:0 18px 48px rgba(24,36,74,.07)}
.card-form h3{font-size:22px;letter-spacing:-.3px}
label{font-weight:650;color:#35415a}
input,select,textarea{border:1px solid #dfe4ef;border-radius:12px;background:#fbfcff;padding:12px 14px;min-height:46px;color:#1c2942;transition:border-color .18s,box-shadow .18s,background .18s}
input:hover,select:hover,textarea:hover{border-color:#c5caf5}
input:focus,select:focus,textarea:focus{border-color:#7279f5;box-shadow:0 0 0 4px rgba(91,99,246,.11);background:#fff;outline:0}
textarea{min-height:112px;resize:vertical}
.form-perks{display:flex;flex-wrap:wrap;gap:8px 18px;color:#64718a;font-size:12px;padding:0;margin-top:18px}
.form-perks li{list-style:none}
.form-perks li:before{content:'✓';color:#0eaa91;font-weight:900;margin-inline-end:6px}
.flash{border-radius:14px;border:1px solid #dcefe9;box-shadow:0 8px 24px rgba(25,80,65,.06)}
/* Product/service content */
.pkg-grid{gap:22px}
.pkg-card{padding:24px}
.pkg-plat{background:#eef0ff;color:#555de0}
.pkg-cap{background:#eaf8f5;color:#168675}
.pkg-card h3{font-size:19px}
.price-table,.ptable{border-radius:16px;box-shadow:0 8px 28px rgba(23,36,72,.04)}
.ptable th{background:#f1f3ff;color:#505c7a}
.ptable tr:last-child td{border-bottom:0}
/* Footer and quick actions */
.ft{background:radial-gradient(ellipse at 80% 0%,#253b69 0%,#111c33 48%,#0c1528 100%);color:#d4dced;margin-top:40px}
.ft .wrap{padding-top:44px;padding-bottom:24px}
.ft a{color:#d9e2f7}
.ft a:hover{color:#fff}
.fl{font-size:20px;color:#fff}
.copy{background:rgba(0,0,0,.18);color:#aab7cf;border-top:1px solid rgba(255,255,255,.08);padding:14px 4%;font-size:12px}
.float-bar{filter:drop-shadow(0 8px 18px rgba(10,20,45,.2))}
.float-bar .fb{border-radius:999px;padding:10px 16px;font-weight:700}
.to-top{border-radius:14px;background:var(--accent-grad);box-shadow:0 10px 24px rgba(70,76,180,.25)}
/* Tables, status and notices */
table{border-collapse:separate;border-spacing:0}
th{font-weight:750}
.tag,.status,.pill{border-radius:999px}
/* Accessibility and motion */
:focus-visible{outline:3px solid rgba(91,99,246,.55)!important;outline-offset:3px!important}
@media(hover:none){.card:hover,.service-card:hover,.product-card:hover,.g-item:hover,.pkg-card:hover{transform:none}}
@media(max-width:960px){
 .hd-in{min-height:68px}.hdr-search{display:none}
 #nav{box-shadow:0 20px 40px rgba(16,27,52,.12);border:1px solid #e8ebf4;border-radius:16px}
 .menu a{padding:11px 14px}
}
@media(max-width:860px){
 .sl-in{padding-block:54px}.trust-bar .wrap{gap:12px 20px}
 .ft .wrap{padding-top:32px}
}
@media(max-width:600px){
 .wrap{width:min(100% - 30px,1200px)}
 .sec{padding:42px 0}
 .hd-in{gap:8px}.logo{font-size:18px}.logo img{max-height:38px}
 .cta{font-size:12px;padding:8px 10px;margin-inline-start:0}
 .burger{font-size:20px;padding:6px 10px}
 .sl-in{padding:44px 0}.sl-in h1,.hero h1{font-size:29px}
 .hero-cta{display:grid;grid-template-columns:1fr 1fr}.hero-cta .btn{min-width:0;padding:10px 8px;font-size:13px}
 .card-form,.trust-form{padding:18px;border-radius:17px}
 .float-bar{inset-inline:10px;bottom:10px;justify-content:center;gap:7px}
 .float-bar .fb{font-size:12px;padding:9px 13px}
 .copy{padding-bottom:72px;line-height:2}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* ===== Platform-specific visual themes ===== */
:root{--theme-accent:#7c5cff;--theme-glow:rgba(124,92,255,.20)}
body{background-image:radial-gradient(ellipse at 8% 8%,rgba(90,111,255,.055),transparent 32%),radial-gradient(ellipse at 92% 30%,rgba(30,196,190,.045),transparent 30%);background-attachment:fixed}
.hero,.install-hero{position:relative;isolation:isolate;overflow:hidden}
.hero:before,.install-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 82% 22%,var(--theme-glow),transparent 30%),radial-gradient(circle at 12% 90%,rgba(35,190,190,.10),transparent 28%)}
.hero:after,.install-hero:after{content:"";position:absolute;z-index:-1;inset:0;opacity:.20;pointer-events:none;background-image:linear-gradient(135deg,transparent 48%,rgba(255,255,255,.5) 49%,transparent 50%),linear-gradient(45deg,transparent 48%,rgba(255,255,255,.35) 49%,transparent 50%);background-size:54px 54px}
/* PlayStation 5: midnight blue + electric cyan */
body.page-services-ps5,body.page-ps5{--theme-accent:#48d9f5;--theme-glow:rgba(45,195,255,.26)}
body.page-services-ps5 .hero,body.page-ps5 .hero,body.page-services-ps5 .install-hero{background:radial-gradient(ellipse at 78% 20%,#174c77 0%,transparent 42%),linear-gradient(125deg,#071626,#102d4c 58%,#101c36);color:#f4fbff;border-radius:0 0 34px 34px}
body.page-services-ps5 .hero p,body.page-ps5 .hero p{color:#c7e5f4}
body.page-services-ps5 .hero em,body.page-ps5 .hero em{color:#54e3ff}
/* PlayStation 4: deep indigo + violet */
body.page-services-ps4,body.page-ps4{--theme-accent:#a58aff;--theme-glow:rgba(139,92,246,.28)}
body.page-services-ps4 .hero,body.page-ps4 .hero,body.page-services-ps4 .install-hero{background:radial-gradient(ellipse at 80% 18%,#4b3285 0%,transparent 42%),linear-gradient(125deg,#17122f,#282052 58%,#171a38);color:#fff;border-radius:0 0 34px 34px}
body.page-services-ps4 .hero p,body.page-ps4 .hero p{color:#ddd5ff}
body.page-services-ps4 .hero em,body.page-ps4 .hero em{color:#c2aaff}
/* Xbox: graphite + Xbox green */
body.page-services-xbox,body.page-xbox{--theme-accent:#75ed69;--theme-glow:rgba(70,220,80,.23)}
body.page-services-xbox .hero,body.page-xbox .hero,body.page-services-xbox .install-hero{background:radial-gradient(ellipse at 80% 18%,#245f38 0%,transparent 42%),linear-gradient(125deg,#101b17,#1c3025 58%,#101c1b);color:#f4fff5;border-radius:0 0 34px 34px}
body.page-services-xbox .hero p,body.page-xbox .hero p{color:#ccebd1}
body.page-services-xbox .hero em,body.page-xbox .hero em{color:#83f477}
/* Repair pages: premium workshop atmosphere */
body.page-services .sec,body[class*="page-services-"] article.sec,body.page-prices .sec{position:relative}
body.page-services .sec:before,body[class*="page-services-"] article.sec:before,body.page-prices .sec:before{content:"";position:absolute;inset:12px -4vw 12px;z-index:-1;border-radius:28px;background:radial-gradient(ellipse at 8% 15%,rgba(83,105,255,.09),transparent 40%),linear-gradient(135deg,rgba(255,255,255,.88),rgba(239,243,255,.8));border:1px solid rgba(255,255,255,.8)}
body.page-services .card,body[class*="page-services-"] .card{box-shadow:0 14px 38px rgba(20,35,75,.09);border-color:rgba(119,139,190,.18)}
body.page-services .card:hover,body[class*="page-services-"] .card:hover{box-shadow:0 20px 48px rgba(52,76,150,.17)}
/* Shop and games sections get their own atmospheric canvas */
body.page-shop .sec{background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(235,241,255,.78));border:1px solid rgba(255,255,255,.9);border-radius:28px;padding:clamp(24px,4vw,48px);margin-block:24px;box-shadow:0 18px 50px rgba(32,50,100,.06)}
body.page-games .install-hero{background:radial-gradient(ellipse at 82% 18%,#31548d 0%,transparent 42%),linear-gradient(125deg,#11182c,#172c50 58%,#101c32);color:#fff;border-radius:0 0 34px 34px}
body.page-games .install-hero p{color:#d1def2}
body.page-games .install-hero .hero-badge{background:rgba(99,224,220,.14);border:1px solid rgba(99,224,220,.3);color:#a8fff1}
body.page-games .install-hero .btn:not(.p){background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.25);color:#fff}
body.page-games .why-card,body.page-games .pkg-card{border-radius:20px;box-shadow:0 14px 40px rgba(22,38,78,.08)}
/* Responsive polish */
@media(max-width:700px){.hero,.install-hero{border-radius:0 0 22px 22px}.hero{padding:48px 0}.body.page-shop .sec{padding:24px}}


/* Rayan Afzar responsive refinement + dedicated platform visual themes */
html,body{max-width:100%;overflow-x:hidden}
.wrap{width:min(1240px,94%)}
.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.card,.panel,.card-form{min-width:0;overflow-wrap:anywhere}
.card img,.th img{width:100%;object-fit:cover}
input,select,textarea,button{max-width:100%;font:inherit}
.hd-in{min-width:0;gap:clamp(7px,1.2vw,16px)}
.hdr-search{flex:0 1 190px;min-width:110px}
#nav{min-width:0}
@media(max-width:1320px){
 .burger{display:block;order:2}
 #nav{display:none;position:absolute;top:100%;inset-inline:0;background:var(--wh);border:1px solid var(--ln);border-radius:0 0 16px 16px;padding:12px 4%;margin:0;max-height:75vh;overflow:auto;box-shadow:var(--sh)}
 #nav.open{display:block}
 .menu{flex-direction:column;align-items:stretch;gap:0}
 .menu a{padding:11px 13px}
 .has{display:flex;flex-wrap:wrap;align-items:center}
 .has>a{flex:1}
 .tg{display:block}
 .sub{position:static;display:none;width:100%;box-shadow:none;border:0;padding:0 10px 8px;background:transparent;min-width:0}
 .has.open>.sub{display:block}.has:hover>.sub{display:none}.has.open:hover>.sub{display:block}
 .hd-in{flex-wrap:nowrap}.logo{order:1}.burger{order:2;margin-inline-start:auto}#nav{z-index:60}.hdr-search{order:3;max-width:190px}.cta{order:4}
}
@media(max-width:900px){.g3,.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.split,.fg{grid-template-columns:1fr}.hd-in{gap:8px}.cta{display:none}}
@media(max-width:600px){.g3,.g4{grid-template-columns:1fr}.hdr-search{display:none}.topbar .wrap{align-items:center}.sl{min-height:290px}.sl-in{padding:32px 0}.hero{padding:44px 0}.sec{padding:34px 0}.card-form{padding:16px}.wrap{width:92%}}
@media(min-width:1321px){.hd-in{gap:10px}.menu a{padding:8px 9px;font-size:13px}.hdr-search{max-width:165px}.cta{padding:9px 13px;font-size:13px}}

.platform-card{position:relative;isolation:isolate;border:1px solid rgba(255,255,255,.14);background:#101a2e;color:#f4f7ff;box-shadow:0 14px 34px rgba(10,20,42,.14);transition:transform .2s,box-shadow .2s}
.platform-card:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.95;pointer-events:none}
.platform-card .bd{color:#eef3ff}.platform-card .bd p,.platform-card .bd small{color:#c4d0e6}.platform-card h3{color:#fff}.platform-card .pr{color:#fff}
.theme-ps5:before{background:radial-gradient(circle at 85% 0,rgba(0,194,255,.32),transparent 42%),linear-gradient(135deg,#071b36,#102f55 55%,#07111f)}
.theme-ps4:before{background:radial-gradient(circle at 90% 5%,rgba(166,95,255,.36),transparent 44%),linear-gradient(135deg,#21133e,#32215f 55%,#11152d)}
.theme-xbox:before{background:radial-gradient(circle at 88% 0,rgba(100,220,75,.28),transparent 42%),linear-gradient(135deg,#0d251c,#123e2c 55%,#0a1713)}
.theme-repair:before{background:radial-gradient(circle at 88% 0,rgba(255,166,61,.25),transparent 42%),linear-gradient(135deg,#29202a,#45303a 55%,#151a2a)}
.theme-gaming:before{background:radial-gradient(circle at 88% 0,rgba(91,117,255,.3),transparent 42%),linear-gradient(135deg,#101a38,#242c57 55%,#111827)}
.platform-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(8,17,38,.24)}
.checkout-login{background:linear-gradient(135deg,#101d39,#192c50);color:#fff;border:1px solid #38517c;border-radius:18px;padding:24px}.checkout-login p{color:#c5d4ee}

.page-services,.page-shop,.page-games{background:radial-gradient(ellipse at 8% 0,rgba(60,100,230,.09),transparent 36%),var(--bg)}
.page-services .hero,.page-shop .hero{background:linear-gradient(120deg,#0b1b35,#182e55 58%,#101b31);color:#fff}
.page-services .hero p,.page-shop .hero p{color:#d4def1}
.page-games .hero{background:radial-gradient(circle at 85% 10%,rgba(130,92,255,.26),transparent 35%),linear-gradient(120deg,#15152f,#28204d 60%,#111a32);color:#fff}
.page-games .hero p{color:#d8d5f4}


/* =========================================================
   RAYAN AFZAR — GAMING PREMIUM THEME (local image edition)
   ========================================================= */
:root{
 --ink:#f4f6ff;--mu:#aab5d2;--bl:#268cff;--vi:#a855f7;--mint:#35e6c0;
 --bg:#070914;--wh:#10172b;--ln:rgba(119,139,255,.25);
 --sh:0 14px 42px rgba(22,68,180,.20);--radius:18px;
}
html{background:#070914}
body{background:#070914;color:#f4f6ff}
a{color:#8fc4ff}
.topbar{background:#080b18;color:#aab5d2;border-bottom:1px solid rgba(139,92,246,.18)}
.hd{background:rgba(7,9,20,.94);border-bottom:1px solid rgba(116,91,255,.3);box-shadow:0 8px 30px rgba(0,0,0,.24)}
.logo{color:#fff}.logo b{color:#bd83ff}
.menu a{color:#e3e8ff}.menu a:hover{background:rgba(125,77,255,.16);color:#d7aaff}
.sub{background:#11182d;border-color:var(--ln)}
.sub a{color:#e9edff}.sub a:hover{background:#202b4b}
.burger{background:#11182d;color:#fff;border-color:var(--ln)}
.btn{background:#11182d;color:#f4f6ff;border-color:rgba(129,147,255,.32);border-radius:999px}
.btn.p{background:linear-gradient(110deg,#5d16f5,#a900ff 55%,#6d38ff);box-shadow:0 0 22px rgba(145,45,255,.32);color:#fff}
.btn.p:hover{box-shadow:0 0 30px rgba(145,45,255,.55);filter:brightness(1.1)}
.trust-bar{background:#0d1024;border-bottom:1px solid rgba(106,125,255,.18);color:#b7c3ec}
.trust-bar .wrap{color:#b7c3ec}
.hero{
 position:relative;isolation:isolate;overflow:hidden;min-height:520px;padding:88px 0 82px;
 background:
  linear-gradient(90deg,rgba(7,9,20,.14),rgba(7,9,20,.78) 42%,rgba(7,9,20,.92)),
  url('images/hero-ps5.jpg') left center/auto 112% no-repeat,
  radial-gradient(ellipse at 82% 20%,#123b83 0,transparent 48%),
  radial-gradient(ellipse at 12% 90%,#40106d 0,transparent 45%),#080b1a;
 border-bottom:1px solid rgba(116,91,255,.32)
}
.hero:after{content:"";position:absolute;inset:0;z-index:-1;opacity:.12;background-image:linear-gradient(rgba(125,145,255,.5) 1px,transparent 1px),linear-gradient(90deg,rgba(125,145,255,.5) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(90deg,#000,transparent 90%)}
.hero .wrap{position:relative;z-index:1}
.hero h1{color:#fff;font-size:clamp(34px,5.4vw,64px);max-width:700px;text-shadow:0 4px 30px #000}
.hero em{color:#c16bff;text-shadow:0 0 24px rgba(173,70,255,.35)}
.hero p{color:#e1e8ff;max-width:590px}
.hero-badge,.hero-trust span{background:rgba(22,34,68,.72);border:1px solid rgba(142,157,255,.32);color:#e5eaff;border-radius:999px;padding:7px 14px}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}
.stats{margin-top:-28px}
.stats div,.why-card,.step,.tm,.card,.bn,.ra-gallery-item{position:relative;display:block;overflow:hidden;border-radius:16px;aspect-ratio:1.35/1;min-width:0;text-decoration:none;background:#e8edff;border:1px solid #e1e6f5;box-shadow:0 6px 18px rgba(30,45,90,.09)}
.stats b,.sh h2,.why-card h3,.step h3{color:#bd83ff}
.stats span,.why-card p,.step p,.bd p{color:#b4bfdc}
.sec{padding-top:54px;padding-bottom:54px}
.sh{border-bottom:1px solid rgba(143,93,255,.32);padding-bottom:12px;margin-bottom:20px}
.sh h2{font-size:clamp(20px,2.5vw,28px)}
.sh a{color:#c38aff}
.card{border-radius:18px;transition:transform .22s,border-color .22s,box-shadow .22s}
.card:hover,.ra-gallery-item:hover{transform:translateY(-5px);border-color:#8b5cf6;box-shadow:0 12px 36px rgba(71,48,180,.28)}
.th{background:#0c1430}
.bd small,.bd .pr,.pr{color:#8fc4ff}
.why-card{border-radius:18px;padding:20px}
.why-ic{filter:drop-shadow(0 0 10px rgba(93,137,255,.4))}
.brands-strip,.alt{background:#0c1021;border-block:1px solid rgba(111,132,255,.18);color:#dce5ff}
.brand-pill,.chip{background:#141d38;color:#dce5ff;border:1px solid rgba(129,147,255,.3)}
.step{border-radius:18px;padding:20px}
.step-num{background:linear-gradient(135deg,#5c22ed,#b12cff);color:white}
.banners .bn{border-radius:18px;overflow:hidden}
.tm{border-radius:18px;color:#e9edff}
.tm p{color:#c3cce5}
.guarantee{background:linear-gradient(100deg,#11142b,#101b3a,#17102c);border-block:1px solid rgba(126,102,255,.35);color:#f5f6ff}
.guarantee span{color:#b9c6e7}
details{background:#10172b;color:#edf1ff;border:1px solid var(--ln);border-radius:14px;padding:14px;margin:10px 0}
details p{color:#bdc8e4}
.ft{background:#050711;color:#d8e0f8;border-top:1px solid rgba(116,91,255,.3)}
.ft p,.ft a{color:#aeb9d7}
input,select,textarea{background:#0b1124!important;color:#f4f6ff!important;border:1px solid rgba(130,148,255,.35)!important}
input::placeholder,textarea::placeholder{color:#8592b5}
.flash{background:#111a31;color:#f4f6ff;border-color:var(--ln)}
.ra-visual-gallery{padding-top:38px}
.ra-gallery-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:stretch}
.ra-gallery-item{position:relative;display:block;overflow:hidden;border-radius:18px;aspect-ratio:16/10;text-decoration:none}
.ra-gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .45s;display:block}
.ra-gallery-item:hover img{transform:scale(1.07)}
.ra-gallery-item:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(3,5,16,.94))}
.ra-gallery-item>span{position:absolute;z-index:1;bottom:13px;right:16px;left:16px;display:flex;flex-direction:column;gap:2px;color:#fff}
.ra-gallery-item b{font-size:17px}.ra-gallery-item small{font-size:12px;color:#d2dcff}
@media(max-width:850px){
 .hero{min-height:460px;background-position:18% center;background-size:auto 100%}
 .ra-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:560px){
 .hero{padding:58px 0 62px;background-image:linear-gradient(90deg,rgba(7,9,20,.72),rgba(7,9,20,.88)),url('images/hero-ps5.jpg');background-position:25% center;background-size:auto 100%}
 .hero h1{font-size:34px}
 .stats{grid-template-columns:repeat(2,1fr)}
 .ra-gallery-grid{grid-template-columns:1fr}
 .ra-gallery-item{aspect-ratio:16/9}
 .hd-in{gap:8px}
}

/* Rayan Afzar dual theme: bright storefront is the default; dark neon remains available. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;border:1px solid #d9def0;background:#fff;color:#384568;border-radius:999px;padding:9px 13px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 4px 14px rgba(38,55,105,.07);transition:.2s}
.theme-toggle:hover{transform:translateY(-2px);border-color:#a8aaf7;box-shadow:0 8px 22px rgba(89,93,220,.14)}
.theme-icon{font-size:17px;line-height:1}
body[data-theme="light"]{--ink:#182440;--mu:#687793;--bl:#5367e8;--vi:#9564ed;--mint:#14a990;--bg:#f4f7ff;--wh:#fff;--ln:#e4e9f5;--sh:0 16px 42px rgba(36,54,105,.09);background:linear-gradient(180deg,#f9fbff 0,#f1f5ff 52%,#fbfcff 100%);color:#182440}
body[data-theme="light"] .topbar{background:#f0f3ff;color:#65718c;border-bottom:1px solid #e5e9f7}
body[data-theme="light"] .topbar a{color:#4756a0}
body[data-theme="light"] .hd{background:rgba(255,255,255,.96);border-bottom:1px solid #e5e9f5;box-shadow:0 8px 28px rgba(40,57,104,.07)}
body[data-theme="light"] .logo{color:#182440}
body[data-theme="light"] .menu a{color:#34415f}
body[data-theme="light"] .menu a:hover,body[data-theme="light"] .menu .has.open>a{background:#f0efff;color:#6752d9}
body[data-theme="light"] .sub{background:#fff;border-color:#e5e9f5}
body[data-theme="light"] .sub a{color:#34415f}
body[data-theme="light"] .burger{background:#fff;color:#34415f;border-color:#e2e7f2}
body[data-theme="light"] .btn{background:#fff;color:#263552;border-color:#e0e6f2}
body[data-theme="light"] .btn.p{background:linear-gradient(115deg,#5367e8,#9564ed);color:#fff;border:0;box-shadow:0 8px 20px rgba(105,91,220,.22)}
body[data-theme="light"] .trust-bar{background:#fff;border-bottom:1px solid #e9edf6;color:#586782}
body[data-theme="light"] .trust-bar .wrap{color:#586782}
body[data-theme="light"] .hero{background:radial-gradient(ellipse at 82% 18%,rgba(111,145,255,.25),transparent 42%),radial-gradient(ellipse at 12% 88%,rgba(190,145,255,.2),transparent 42%),linear-gradient(120deg,#f0f4ff,#e8edff 52%,#f6f1ff);border-bottom:1px solid #dfe5fa}
body[data-theme="light"] .hero:after{opacity:.16;background-image:linear-gradient(rgba(104,119,194,.35) 1px,transparent 1px),linear-gradient(90deg,rgba(104,119,194,.35) 1px,transparent 1px)}
body[data-theme="light"] .hero h1{color:#182440;text-shadow:none}
body[data-theme="light"] .hero em{color:#8751df;text-shadow:none}
body[data-theme="light"] .hero p{color:#52617f}
body[data-theme="light"] .hero-badge,body[data-theme="light"] .hero-trust span{background:rgba(255,255,255,.78);border:1px solid #dce3f7;color:#465675}
body[data-theme="light"] .stats div,body[data-theme="light"] .why-card,body[data-theme="light"] .step,body[data-theme="light"] .tm,body[data-theme="light"] .card,body[data-theme="light"] .bn,body[data-theme="light"] .ra-gallery-item{background:#fff;border:1px solid #e4e9f5;color:#1d2a46;box-shadow:0 8px 26px rgba(36,54,105,.065)}
body[data-theme="light"] .stats b,body[data-theme="light"] .sh h2,body[data-theme="light"] .why-card h3,body[data-theme="light"] .step h3{color:#6556d9}
body[data-theme="light"] .stats span,body[data-theme="light"] .why-card p,body[data-theme="light"] .step p,body[data-theme="light"] .bd p{color:#687793}
body[data-theme="light"] .sh{border-bottom:1px solid #e2e7f3}
body[data-theme="light"] .sh a{color:#6659d8}
body[data-theme="light"] .th{background:#f0f3fb}
body[data-theme="light"] .bd small,body[data-theme="light"] .bd .pr,body[data-theme="light"] .pr{color:#5869d9}
body[data-theme="light"] .brands-strip,body[data-theme="light"] .alt{background:#eef2ff;border-block:1px solid #e0e6f5;color:#354461}
body[data-theme="light"] .brand-pill,body[data-theme="light"] .chip{background:#fff;color:#455474;border:1px solid #e0e6f2}
body[data-theme="light"] .tm{color:#263552}
body[data-theme="light"] .tm p{color:#64718b}
body[data-theme="light"] .guarantee{background:linear-gradient(100deg,#e9edff,#f5f0ff,#e8f8f5);border-block:1px solid #dfe5f4;color:#263552}
body[data-theme="light"] .guarantee span{color:#596987}
body[data-theme="light"] details{background:#fff;color:#263552;border:1px solid #e2e8f3}
body[data-theme="light"] details p{color:#66738d}
body[data-theme="light"] .ft{background:linear-gradient(135deg,#172544,#263965);color:#e8edff;border-top:1px solid #354b7b}
body[data-theme="light"] .ft p,body[data-theme="light"] .ft a{color:#d0daf1}
body[data-theme="light"] .copy{background:rgba(5,12,29,.25);color:#c0cbe4}
body[data-theme="light"] input,body[data-theme="light"] select,body[data-theme="light"] textarea{background:#fff!important;color:#1c2942!important;border:1px solid #dfe5f1!important}
body[data-theme="light"] input::placeholder,body[data-theme="light"] textarea::placeholder{color:#8995ad}
body[data-theme="light"] .flash{background:#f0fbf7;color:#205d50;border-color:#cfeee3}
body[data-theme="light"] .checkout-login{background:linear-gradient(135deg,#eef1ff,#f8f4ff);color:#263552;border:1px solid #dce3f5}
body[data-theme="light"] .checkout-login p{color:#66738d}
body[data-theme="light"] .platform-card:hover{box-shadow:0 18px 42px rgba(44,62,120,.13)}
body[data-theme="light"] .ra-gallery-item:after{background:linear-gradient(transparent,rgba(12,20,43,.86))}
body[data-theme="light"] .theme-toggle{background:#f6f7ff;border-color:#dce2f2;color:#46537a}
body[data-theme="dark"] .theme-toggle{background:#11182d;border-color:rgba(129,147,255,.32);color:#eef1ff}
body[data-theme="dark"] .theme-toggle:hover{border-color:#a855f7}
@media(max-width:960px){.theme-toggle{padding:8px 10px}.theme-label{display:none}}
@media(max-width:560px){.theme-toggle{width:38px;height:38px;padding:0}.theme-icon{font-size:19px}}
/* Storefront-style image shelf */
.ra-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ra-gallery-item{aspect-ratio:16/10;border-radius:20px}
.ra-gallery-item>span{padding:12px 14px;right:10px;left:10px;bottom:10px}
@media(min-width:1050px){.ra-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ra-gallery-item:first-child{grid-column:span 2;aspect-ratio:16/7}}
@media(max-width:600px){.ra-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ra-gallery-item{aspect-ratio:1/1}.ra-gallery-item:first-child{grid-column:span 2;aspect-ratio:16/9}.ra-gallery-item b{font-size:14px}}


/* V12 — storefront layout tuned to the supplied reference */
body[data-theme="light"]{background:#fff;color:#111b3b}
body[data-theme="light"] .topbar{background:#0b1530;color:#eef2ff}
body[data-theme="light"] .topbar a{color:#fff}
body[data-theme="light"] .hd{background:rgba(255,255,255,.98);box-shadow:0 5px 22px rgba(31,45,90,.08)}
body[data-theme="light"] .trust-bar{background:#f1f2ff;color:#39446b;border-bottom:1px solid #e5e7ff}
body[data-theme="light"] .trust-bar span{color:#39446b}
body[data-theme="light"] .hero{min-height:330px;padding:58px 0;background:
 linear-gradient(90deg,rgba(5,14,52,.12),rgba(5,14,52,.28)),
 url('images/hero-ps5.jpg') center 45%/cover no-repeat;color:#fff}
body[data-theme="light"] .hero h1,body[data-theme="light"] .hero p{color:#fff;text-shadow:0 2px 12px #07143c}
body[data-theme="light"] .hero em{color:#d9a2ff}
body[data-theme="light"] .hero-badge,body[data-theme="light"] .hero-trust span{background:rgba(14,25,73,.65);color:#fff;border:1px solid rgba(255,255,255,.25)}
.ra-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px;margin-bottom:22px}
.ra-benefit{display:flex;align-items:center;gap:15px;min-height:86px;padding:14px 18px;border:1px solid #e1e5ff;border-radius:16px;background:linear-gradient(120deg,#fff,#f1f1ff);box-shadow:0 8px 22px rgba(48,54,130,.09)}
.ra-benefit>span{font-size:32px;filter:drop-shadow(0 5px 6px rgba(70,40,200,.22))}
.ra-benefit b,.ra-benefit small{display:block}.ra-benefit b{font-size:16px;color:#151d42}.ra-benefit small{font-size:12px;color:#687394}
.ra-visual-gallery{padding-top:12px;padding-bottom:22px}
.ra-visual-gallery .sh,.ra-games-section .sh{display:flex;align-items:center;justify-content:space-between;border:0;margin-bottom:14px}
.ra-visual-gallery .sh h2,.ra-games-section .sh h2{color:#172044;font-size:23px}
.ra-gallery-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.ra-gallery-item{aspect-ratio:1.12;border-radius:13px;box-shadow:0 5px 18px rgba(29,42,94,.15)}
.ra-gallery-item>span{bottom:9px;right:10px;left:10px}
.ra-gallery-item b{font-size:13px}.ra-gallery-item small{font-size:10px}
.ra-games-section{padding-top:10px;padding-bottom:28px}
.ra-games-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.game-card{overflow:hidden;border:1px solid #e6e9f5;background:#fff;box-shadow:0 6px 18px rgba(34,46,92,.09)}
.game-card .th{height:auto;aspect-ratio:0.78;position:relative;overflow:hidden;background:#101a39}
.game-card .th img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.game-card:hover .th img{transform:scale(1.06)}
.game-cover-title{position:absolute;inset:auto 0 0;padding:34px 10px 9px;background:linear-gradient(transparent,rgba(4,8,24,.9));color:#fff;font-size:12px;font-weight:800}
.game-card .bd{padding:10px 12px}
.game-card .bd h3{font-size:14px}
.game-card .bd p{font-size:11px;line-height:1.7;color:#697592}
body[data-theme="light"] .game-card .bd small{color:#6253d8}
body[data-theme="light"] .sec .sh{border-color:#eceeff}
body[data-theme="light"] .card{background:#fff;border-color:#e7eaf5;box-shadow:0 6px 22px rgba(34,46,92,.07)}
body[data-theme="light"] .bd p{color:#66718b}
body[data-theme="dark"] .ra-benefit{background:linear-gradient(120deg,#141d39,#17142e);border-color:#353d75}
body[data-theme="dark"] .ra-benefit b{color:#f1f2ff}
body[data-theme="dark"] .ra-benefit small{color:#b6c2e4}
body[data-theme="dark"] .ra-visual-gallery .sh h2,body[data-theme="dark"] .ra-games-section .sh h2{color:#e9eaff}
body[data-theme="dark"] .game-card{background:#111a32;border-color:#323d70}
@media(max-width:1050px){
 .ra-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ra-games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ra-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
 .ra-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .ra-gallery-item{aspect-ratio:1}
 .ra-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ra-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .ra-benefit{padding:10px;min-height:76px;gap:8px}
 .ra-benefit>span{font-size:25px}
 .ra-benefit b{font-size:12px}.ra-benefit small{font-size:10px}
 body[data-theme="light"] .hero{min-height:360px;background-position:42% center}
}

/* V13: pixel-matched supplied reference screenshot assets */
body[data-theme="light"] .hero.ra-reference-hero{height:auto;min-height:0;padding:0;margin:0;background:#08143c;border:0;line-height:0;overflow:hidden}
.ra-reference-hero>img{display:block;width:100%;height:auto;aspect-ratio:1536/320;object-fit:cover}
.ra-reference-hero .ra-ref-hit{position:absolute;display:block;z-index:2;top:65%;height:17%;width:14%;border-radius:40px}
.ra-reference-hero .ra-ref-repair{right:19%;}.ra-reference-hero .ra-ref-shop{right:4.5%;}
.ra-gallery-item{aspect-ratio:209/170!important;border-radius:12px!important}
.ra-gallery-item>span{display:none!important}
.ra-gallery-item:after{display:none!important}
.ra-games-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important}
.game-card .th{aspect-ratio:224/171!important;height:auto!important}
.game-card .th img{object-fit:cover!important}
.game-cover-title{display:none!important}
.game-card .bd{padding:8px 10px}
@media(max-width:1050px){.ra-games-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:560px){.ra-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ra-reference-hero>img{aspect-ratio:16/7;object-fit:cover}}

/* v14: reliable home fallback carousel and game cover images */
.ra-fallback-slider .sl{min-height:390px;background:#101735}
.ra-fallback-slider .sl .bg{filter:brightness(.78);object-fit:cover}
.ra-fallback-slider .sl-in{width:min(1180px,92%);margin-inline:auto;text-align:right;padding-block:70px}
.ra-fallback-slider .sl-in h1,.ra-fallback-slider .sl-in p{color:#fff}
.ra-fallback-slider .sl-in h1{font-size:clamp(28px,4vw,48px);font-weight:900}
.ra-fallback-slider .sl-in p{font-size:clamp(14px,1.5vw,19px)}
.ra-fallback-slider .dots{position:absolute;z-index:3;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.ra-fallback-slider .dots button{width:9px;height:9px;border:0;border-radius:50%;padding:0;background:#ffffff99;cursor:pointer}
.ra-fallback-slider .dots button.on{width:24px;border-radius:10px;background:#7900ff}
.ra-games-grid .game-card .th img{display:block;width:100%;height:100%;object-fit:cover}

/* v15: consistent local artwork layout */
.ra-gallery-grid{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch}
.ra-gallery-item{aspect-ratio:1.35/1;min-height:0}
.ra-gallery-item img{display:block;width:100%;height:100%;object-fit:cover}
.ra-games-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.game-card .th{aspect-ratio:3/4;height:auto;min-height:0}
.game-card .th img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.game-card .bd{min-height:112px}
.card .th img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:1100px){
 .ra-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ra-games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:620px){
 .ra-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ra-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ra-gallery-item{aspect-ratio:1.2/1}
}


/* ================= V20: طرح مرجع صفحه اصلی (هدر، هرو، مزیت‌ها، گالری، بازی‌ها) ================= */
.ico{flex:none;display:inline-block;vertical-align:middle}
/* نوار بالایی */
.topbar{background:#0a1233;color:#e9ecff;font-size:12.5px;border:0}
.topbar .wrap,.hd .wrap{width:min(1445px,94%)}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:0;min-height:38px;flex-wrap:nowrap}
.tb-soc,.tb-sup{display:flex;align-items:center;gap:18px}
.tb-soc a,.tb-sup a,.tb-sup-t{display:inline-flex;align-items:center;gap:6px;color:#e9ecff;text-decoration:none;font-weight:500}
.tb-soc a:hover,.tb-sup a:hover{color:#fff;text-decoration:underline}
.tb-sup .theme-toggle{background:transparent;border:1px solid rgba(255,255,255,.25);color:#e9ecff;border-radius:999px;padding:1px 10px;font:inherit;font-size:11.5px;cursor:pointer;line-height:1.7}
.tb-sup .theme-toggle:hover{background:rgba(255,255,255,.1)}
/* هدر */
.hd{background:#fff;border-bottom:1px solid #eceffb;box-shadow:0 2px 14px rgba(40,50,120,.05)}
.hd-in{min-height:77px;gap:22px}
.logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:#14193c}
.logo-ic{display:grid;place-items:center;width:56px;height:46px;color:#5b3fe0}
.logo-ic .ico{width:56px;height:46px;stroke-width:1.5;fill:rgba(124,58,237,.14)}
.logo-tx{display:flex;flex-direction:column;line-height:1.15}
.logo-tx b{font-size:26px;font-weight:900;color:#14193c}
.logo-tx small{font-size:12px;letter-spacing:3.4px;color:#2b3260;font-weight:500;text-align:center}
.hd nav{flex:1;display:flex;align-items:center;justify-content:center}
.hd .menu{gap:2px}
.hd .menu>li{position:relative}
.hd .menu>li>a{position:relative;padding:8px 15px;font-size:15px;font-weight:600;color:#1d2347;border-radius:10px;background:none}
.hd .menu>li>a:hover{color:#6d28d9;background:transparent}
.hd .menu>li.on>a{color:#6d28d9}
.hd .menu>li.on>a::after{content:"";position:absolute;inset-inline:15px;bottom:-19px;height:3px;border-radius:3px;background:linear-gradient(90deg,#8b5cf6,#6d28d9)}
.hdr-search{display:flex;align-items:center;flex-direction:row;gap:0;margin:0;width:255px;max-width:255px;height:46px;padding:0;background:#eef0fb;border:0;border-radius:16px;overflow:hidden}
.hdr-search button{order:0;display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:14px;background:linear-gradient(135deg,#6d28d9,#4f2fe0);color:#fff;cursor:pointer;padding:0;font-size:0;flex:none}
.hdr-search button:hover{background:linear-gradient(135deg,#7c3aed,#5b3fe0)}
.hdr-search input{order:1;flex:1;border:0;background:transparent;padding:0 12px;font:inherit;font-size:13.5px;color:#2a3260;min-width:0}
.hdr-search input::placeholder{color:#7a82a6}
.hdr-search input:focus{box-shadow:none;outline:none}
.hd .cta{display:inline-flex;align-items:center;gap:9px;margin:0;height:50px;padding:0 24px;border-radius:16px;font-size:15px;font-weight:700;white-space:nowrap;background:linear-gradient(135deg,#6d28d9,#4f2fe0);color:#fff;border:0;box-shadow:0 8px 22px rgba(91,63,224,.32)}
.hd .cta:hover{box-shadow:0 10px 26px rgba(91,63,224,.45);transform:translateY(-1px)}

/* هرو */
body .slider.rf-slider{border-radius:0;background:#0b1239;overflow:hidden}
body .rf-slider .sl{min-height:clamp(250px,20.9vw,360px);align-items:center}
body .rf-slider .sl .bg{filter:none;object-fit:cover;object-position:center}
body .rf-slider .sl .sl-in{position:relative;width:min(1445px,94%);max-width:none;margin-inline:auto;padding:30px 0;display:flex;flex-direction:column;align-items:flex-start;text-align:right;color:#fff;text-shadow:none}
body .rf-slider .sl .sl-in h1{margin:0 0 4px;max-width:none;font-size:clamp(34px,4.1vw,62px);line-height:1.25;font-weight:900;letter-spacing:0;background:linear-gradient(180deg,#fff 10%,#c9bdff 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
body .rf-slider .sl .sl-in .rf-sub{margin:0 0 8px;max-width:none;font-size:clamp(18px,2.15vw,32px);font-weight:800;line-height:1.5;background:linear-gradient(90deg,#c084fc,#8b2cf5);-webkit-background-clip:text;background-clip:text;color:transparent}
body .rf-slider .sl .sl-in .rf-line{margin:0 0 18px;max-width:none;font-size:clamp(13px,1.1vw,17px);color:#eef0ff;line-height:1.8}
.rf-btns{display:flex;gap:16px;flex-wrap:wrap}
.rf-btn{display:inline-flex;align-items:center;gap:10px;height:clamp(42px,3.4vw,52px);padding:0 clamp(18px,2vw,30px);border-radius:999px;font-size:clamp(13px,1vw,15px);font-weight:700;text-decoration:none;white-space:nowrap;transition:transform .15s,box-shadow .15s}
.rf-btn:hover{transform:translateY(-2px);text-decoration:none}
.rf-btn-p{color:#fff;background:linear-gradient(120deg,#7c3aed,#5b21e0);box-shadow:0 0 0 1px rgba(255,255,255,.14) inset,0 8px 26px rgba(124,58,237,.55)}
.rf-btn-o{color:#fff;background:rgba(10,14,50,.35);border:1.5px solid rgba(255,255,255,.92);backdrop-filter:blur(2px)}
.rf-btn-o:hover{background:rgba(255,255,255,.14)}
body .rf-slider .sp,body .rf-slider .sn{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(7,10,38,.82);color:#fff;font-size:28px;line-height:1;box-shadow:0 4px 14px rgba(0,0,0,.35);cursor:pointer;z-index:3}
body .rf-slider .sp{inset-inline-end:20px}
body .rf-slider .sn{inset-inline-start:20px}
body .rf-slider .sp:hover,body .rf-slider .sn:hover{background:#6d28d9;color:#fff}
body .rf-slider .dots{bottom:14px;gap:9px;z-index:3}
body .rf-slider .dots button{width:10px;height:10px;padding:0;border:0;border-radius:99px;background:#fff;opacity:.95;transform:none;transition:width .2s}
body .rf-slider .dots button.on{width:26px;background:linear-gradient(90deg,#a855f7,#6d28d9);transform:none}

/* کارت‌های مزیت */
.rf-w{width:min(1445px,94%)}
.rf-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:12px;margin-bottom:26px}
.rf-benefit{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:86px;padding:10px 26px;border:1px solid #e2e5fb;border-radius:16px;background:linear-gradient(115deg,#fff 0%,#f1f0ff 100%);box-shadow:0 8px 24px rgba(48,54,130,.10)}
.rf-benefit b,.rf-benefit small{display:block}
.rf-benefit b{font-size:18px;font-weight:800;color:#12183d;line-height:1.5}
.rf-benefit small{font-size:12.5px;color:#66708e;line-height:1.6}
.rf-benefit img{width:78px;height:60px;object-fit:contain;flex:none;filter:drop-shadow(0 6px 8px rgba(80,60,200,.22))}

/* سرتیتر بخش‌ها */
.rf-sec{padding:0 0 26px}
.rf-sh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;border:0}
.rf-sh h2{display:flex;align-items:center;gap:12px;margin:0;font-size:23px;font-weight:800;color:#12183d}
.rf-badge{display:grid;place-items:center;width:38px;height:34px;border-radius:10px;background:linear-gradient(135deg,#6d28d9,#4f2fe0);color:#fff;box-shadow:0 5px 14px rgba(91,63,224,.35)}
.rf-more{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#3b3f9b;text-decoration:none}
.rf-more:hover{color:#6d28d9;text-decoration:none}

/* ردیف تصاویر گالری و کاور بازی‌ها (ترتیب مانند طرح مرجع: از چپ به راست) */
.rf-strip{display:grid;gap:14px;direction:ltr;align-items:stretch}
.rf-strip-eq{grid-template-columns:repeat(6,minmax(0,1fr))}
.rf-games{grid-template-columns:223fr 222fr 222fr 231fr 230fr 244fr}
.rf-tile{position:relative;display:block;overflow:hidden;border-radius:13px;min-width:0;background:#e8ebfb;box-shadow:0 6px 18px rgba(29,42,94,.18);border:0;transition:transform .25s,box-shadow .25s}
.rf-tile:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(80,50,200,.32)}
.rf-tile img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s}
.rf-tile:hover img{transform:scale(1.05)}
.rf-game{aspect-ratio:222/171}

@media(max-width:1200px){.hd .menu>li>a{padding:8px 10px}.hdr-search{width:200px}}
@media(max-width:1050px){
  .rf-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rf-strip,.rf-strip-eq,.rf-games{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .rf-strip .rf-tile{aspect-ratio:1.3!important}
  .hd .menu>li.on>a::after{display:none}
}
@media(max-width:900px){
  .hd-in{gap:10px}.logo-tx b{font-size:21px}.logo-ic,.logo-ic .ico{width:44px;height:38px}
  .topbar .wrap{justify-content:space-between}.tb-soc span{display:none}.tb-soc{gap:14px}
  .hd nav{display:none;flex:none}.hd nav.open{display:block}
  body .rf-slider .sl{min-height:300px}
  body .rf-slider .sl .bg{object-position:60% center}
  body .rf-slider .sl::after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(6,8,32,.78),rgba(6,8,32,.15) 80%)}
  body .rf-slider .sl .sl-in{z-index:2}
  body .rf-slider .sp,body .rf-slider .sn{width:36px;height:36px;font-size:22px}
}
@media(max-width:560px){
  .rf-benefits{gap:10px}.rf-benefit{padding:8px 12px;min-height:76px}.rf-benefit b{font-size:14px}.rf-benefit small{font-size:11px}.rf-benefit img{width:52px;height:40px}
  .rf-strip,.rf-strip-eq,.rf-games{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
  .rf-sh h2{font-size:19px}.rf-btns{gap:10px}
}
/* حالت تیره */
body[data-theme="dark"] .hd{background:#0f1633;border-color:#252d5c}
body[data-theme="dark"] .logo-tx b,body[data-theme="dark"] .hd .menu>li>a{color:#eef0ff}
body[data-theme="dark"] .logo-tx small{color:#aab3e6}
body[data-theme="dark"] .hdr-search{background:#1a2250}
body[data-theme="dark"] .hdr-search input{color:#eef0ff}
body[data-theme="dark"] .rf-benefit{background:linear-gradient(115deg,#141d39,#17142e);border-color:#353d75}
body[data-theme="dark"] .rf-benefit b,body[data-theme="dark"] .rf-sh h2{color:#f1f2ff}
body[data-theme="dark"] .rf-benefit small,body[data-theme="dark"] .rf-more{color:#b6c2e4}

/* اصلاحات دقیق‌تر طبق مرجع */
body .rf-slider .sl .sl-in h1,body .rf-slider .sl .sl-in .rf-sub{padding-inline:6px;margin-inline:-6px}
body .rf-slider .dots{direction:ltr}
.rf-sh-rev h2{flex-direction:row-reverse}
.logo-ic{width:56px;height:44px}
.logo-ic img{display:block;width:56px;height:44px;object-fit:contain}
.hdr-search input,.hdr-search input:focus{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0}
.tb-sup{gap:26px}

/* بلوک متن هرو: وسط‌چین و کمی به‌سمت راست مانند طرح مرجع */
body .rf-slider .sl .sl-in{width:min(440px,64%);margin-inline:max(64px,calc(18.2% - 220px)) auto;align-items:center;text-align:center}
body .rf-slider .sl .sl-in h1{font-size:clamp(32px,3.35vw,52px)}
body .rf-slider .sl .sl-in .rf-sub{font-size:clamp(17px,1.8vw,28px)}
body .rf-slider .sl .sl-in .rf-btns{justify-content:center}
@media(max-width:900px){body .rf-slider .sl .sl-in{width:min(440px,84%);margin:0 auto}}
@media(max-width:900px){
  .hd .cta,.hdr-search{display:none!important}
  .hd .burger{display:block;margin-inline-start:auto}
  body .rf-slider .sl::after{background:linear-gradient(0deg,rgba(6,8,32,.82),rgba(6,8,32,.55))}
}

/* ===== صفحه اخبار - طراحی پورتال خبری ===== */
.news-page{margin-top:0}
.breaking-ticker{background:#fff3cd;border-left:4px solid var(--bl);padding:8px 16px;margin-bottom:16px;font-size:13px;color:#664d00;overflow:hidden}
.breaking-inner{display:flex;align-items:center;gap:12px}
.breaking-label{font-weight:800;color:var(--ink);text-transform:uppercase;letter-spacing:.5px}
.breaking-marquee{flex:1;overflow:hidden;white-space:nowrap}
.breaking-marquee a{color:#664d00;text-decoration:underline;margin-right:24px;font-weight:600;white-space:nowrap}
.breaking-marquee a:last-child{margin-right:0}

.news-header{background:linear-gradient(135deg,var(--ink),#24375d);color:#fff;border-radius:var(--radius);padding:32px 24px;margin-bottom:24px;position:relative;overflow:hidden}
.news-header::after{content:"";position:absolute;right:-60px;top:-60px;width:200px;height:200px;background:radial-gradient(circle,rgba(66,99,235,.15),transparent 70%);border-radius:50%}
.news-header h1{font-size:clamp(28px,4vw,42px);margin:0 0 8px;color:#fff;line-height:1.3}
.news-sub{color:#cfd8ea;font-size:16px;margin:0 0 16px;max-width:700px}
.news-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:16px}
.news-search{display:flex;gap:8px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:rgba(255,255,255,.08);padding:4px 10px}
.news-search input{background:transparent;border:0;color:#fff;padding:6px 8px;outline:none;font:inherit}
.news-search-btn{background:var(--bl);color:#fff;border:0;padding:8px 14px;border-radius:8px;font:inherit;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px}
.news-search-btn:hover{background:var(--vi)}
.news-cats{display:flex;gap:8px;flex-wrap:wrap}
.cat-all{background:rgba(255,255,255,.15);color:#fff;padding:6px 12px;border-radius:20px;font-size:13px;border:1px solid rgba(255,255,255,.25)}
.cat-pill{background:rgba(255,255,255,.12);color:#fff;padding:6px 12px;border-radius:20px;font-size:13px;border:1px solid rgba(255,255,255,.25)}
.cat-pill:hover{background:var(--bl);text-decoration:none}

.news-grid-layout{display:grid;grid-template-columns:1fr 300px;gap:24px}
.news-featured{background:var(--wh);border:1px solid var(--ln);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.feat-thumb{height:320px;overflow:hidden;position:relative}
.feat-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.news-featured:hover .feat-thumb img{transform:scale(1.05)}
.feat-cat{position:absolute;left:16px;bottom:16px;background:var(--bl);color:#fff;padding:6px 14px;border-radius:20px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;z-index:2;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.feat-body{padding:24px;display:flex;flex-direction:column;flex:1}
.feat-body h2{font-size:clamp(22px,2.5vw,28px);margin:0 0 12px;line-height:1.4}
.feat-body h2 a{color:var(--ink)}
.feat-body h2 a:hover{color:var(--bl);text-decoration:none}
.feat-excerpt{color:var(--mu);font-size:15px;line-height:1.8;margin:0 0 16px;flex:1}
.feat-meta{display:flex;gap:16px;font-size:13px;color:var(--mu);border-top:1px solid var(--ln);padding-top:14px}
.feat-meta span{display:flex;align-items:center;gap:6px}
.read-time{background:var(--bg);color:var(--ink);padding:2px 10px;border-radius:12px;font-size:12px;font-weight:600;border:1px solid var(--ln)}
.feat-readmore{display:inline-flex;align-items:center;gap:6px;margin-top:20px;padding:10px 20px;background:var(--bl);color:#fff;border-radius:10px;font-size:14px;font-weight:700;text-decoration:none;border:0;cursor:pointer}
.feat-readmore:hover{background:var(--vi);text-decoration:none}

.news-articles-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.news-article-card{background:var(--wh);border:1px solid var(--ln);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.news-article-card:hover{transform:translateY(-4px);box-shadow:var(--sh)}
.art-thumb{height:200px;overflow:hidden;position:relative}
.art-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.news-article-card:hover .art-thumb img{transform:scale(1.05)}
.art-cat{position:absolute;left:12px;bottom:12px;background:var(--vi);color:#fff;padding:4px 12px;border-radius:20px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;z-index:2;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.art-body{padding:16px;display:flex;flex-direction:column;flex:1}
.art-body h3{font-size:17px;margin:0 0 8px;line-height:1.5}
.art-body h3 a{color:var(--ink)}
.art-body h3 a:hover{color:var(--bl);text-decoration:none}
.art-excerpt{color:var(--mu);font-size:13.5px;line-height:1.7;margin:0 0 12px;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.art-meta{display:flex;gap:14px;font-size:12px;color:var(--mu);border-top:1px solid var(--ln);padding-top:10px}
.art-time{background:var(--bg);color:var(--ink);padding:1px 8px;border-radius:10px;font-size:11px;font-weight:600;border:1px solid var(--ln)}
.art-readmore{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding:8px 14px;background:var(--bl);color:#fff;border-radius:8px;font-size:13px;font-weight:600;text-decoration:none;text-align:center;border:0;cursor:pointer}
.art-readmore:hover{background:var(--vi);text-decoration:none}

.news-sidebar{display:flex;flex-direction:column;gap:16px}
.sidebar-box{background:var(--wh);border:1px solid var(--ln);border-radius:var(--radius);padding:18px}
.sidebar-title{font-size:15px;display:flex;align-items:center;gap:8px;margin:0 0 14px;color:var(--ink)}
.ico-box{width:18px;height:18px;stroke-width:1.5}
.news-list{list-style:none;margin:0;padding:0}
.news-list li{border-bottom:1px solid var(--ln);padding:10px 0}
.news-list li:last-child{border-bottom:0}
.news-list li a{color:var(--ink);font-size:14px;display:block;line-height:1.5}
.news-list li a:hover{color:var(--bl);text-decoration:none}
.news-list li.empty{color:var(--mu);font-size:13px;padding:10px 0}
.cat-list{list-style:none;margin:0;padding:0}
.cat-list li{padding:8px 0;border-bottom:1px solid var(--ln)}
.cat-list li:last-child{border-bottom:0}
.cat-list li a{color:var(--ink);font-size:14px}
.cat-list li a:hover{color:var(--bl);text-decoration:none}

@media(max-width:1024px){
  .news-grid-layout{grid-template-columns:1fr}
  .news-sidebar{display:none}
}
@media(max-width:640px){
  .news-articles-grid{grid-template-columns:1fr}
  .news-header{padding:24px 16px}
  .feat-thumb{height:240px}
  .art-thumb{height:160px}
}

/* Rayan Afzar account entry in the public header */
.ra-account-link{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;min-height:46px;padding:6px 13px;border:1px solid #e2e8f4;border-radius:14px;background:linear-gradient(145deg,#fff,#f6f8ff);color:#182b50;text-decoration:none;box-shadow:0 5px 16px rgba(18,38,76,.07);transition:.2s ease}
.ra-account-link:hover{transform:translateY(-2px);border-color:#b9c9ed;box-shadow:0 9px 22px rgba(35,76,150,.13)}
.ra-account-link>.ico{width:19px;height:19px;color:#3568cf}
.ra-account-link span{display:flex;flex-direction:column;gap:1px;line-height:1.35;text-align:right}
.ra-account-link b{font-size:12px;font-weight:800}.ra-account-link small{font-size:9px;color:#8792a7;font-weight:500;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ra-account-link i{font-style:normal;color:#8b98ae;font-size:12px;margin-inline-start:2px}
.ra-account-admin{border-color:#d8e4ff;background:linear-gradient(135deg,#102a60,#1c4a9a);color:#fff;box-shadow:0 7px 18px rgba(20,55,120,.2)}
.ra-account-admin:hover{border-color:#7fa8f5;color:#fff;box-shadow:0 10px 24px rgba(20,55,120,.28)}
.ra-account-admin>.ico,.ra-account-admin i{color:#bcd4ff}.ra-account-admin small{color:#c3d5f4}
.ra-account-secondary{align-self:center;color:#52678c;font-size:10px;font-weight:700;text-decoration:none;padding:8px 9px;border-radius:9px;background:#f2f5fb}
@media(max-width:1100px){.ra-account-link{min-height:40px;padding:5px 9px;gap:6px}.ra-account-link small{display:none}.ra-account-link b{font-size:11px}}
@media(max-width:900px){.ra-account-link{margin-inline-start:auto}.ra-account-secondary{display:none}}
@media(max-width:600px){.ra-account-link{min-height:36px;padding:5px 8px;border-radius:11px}.ra-account-link b{font-size:10px}.ra-account-link>.ico{width:16px;height:16px}.ra-account-link i{display:none}}
.ra-account-link{order:5}

.ra-account-dropdown{position:relative;display:inline-block}.ra-account-btn{background:none;border:1px solid #ccc;border-radius:50%;padding:6px;cursor:pointer}.ra-account-menu{display:none;position:absolute;left:0;top:100%;background:#fff;border:1px solid #ddd;border-radius:8px;min-width:160px;box-shadow:0 4px 12px rgba(0,0,0,.1);z-index:100}.ra-account-menu a{display:block;padding:8px 12px;text-decoration:none;color:#333}.ra-account-menu a:hover{background:#f5f5f5}.ra-account-dropdown.open .ra-account-menu{display:block}

.ra-hero{position:relative;overflow:hidden;background:#0b1239}.ra-hero-slides{position:relative;min-height:360px}.ra-hero-slide{display:none;position:relative;min-height:360px;align-items:center}.ra-hero-slide.is-active{display:flex}.ra-hero-slide .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ra-hero-content{position:relative;z-index:1;color:#fff;padding:40px 0;text-align:right}.ra-hero-content h1{font-size:clamp(28px,4vw,48px);margin:0 0 8px}.ra-hero-sub{margin:0 0 8px;font-size:18px;color:#c084fc}.ra-hero-line{margin:0 0 16px;color:#eef0ff}.ra-hero-btns{display:flex;gap:10px;flex-wrap:wrap}.ra-hero-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;font-size:24px;cursor:pointer;z-index:2}.ra-hero-nav.prev{inset-inline-start:14px}.ra-hero-nav.next{inset-inline-end:14px}.ra-hero-dots{position:absolute;bottom:14px;inset-inline:0;display:flex;gap:8px;justify-content:center;z-index:2}.ra-hero-dots button{width:10px;height:10px;border:0;border-radius:50%;background:#fff;opacity:.8;cursor:pointer}.ra-hero-dots button.is-active{width:24px;border-radius:10px;background:#7900ff;opacity:1}

.ra-chat-widget{position:fixed;inset-inline-end:18px;bottom:18px;z-index:999}.ra-chat-btn{width:56px;height:56px;border:0;border-radius:50%;background:#6d28d9;color:#fff;font-size:24px;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.2)}.ra-chat-panel{position:absolute;inset-inline-end:0;bottom:70px;width:340px;max-width:calc(100vw - 24px);background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 16px 40px rgba(0,0,0,.18);overflow:hidden}.ra-chat-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:#6d28d9;color:#fff}.ra-chat-head button{background:none;border:0;color:#fff;font-size:20px;cursor:pointer}.ra-chat-msgs{height:320px;overflow:auto;padding:12px;background:#f8fafc;display:flex;flex-direction:column;gap:8px}.ra-chat-msg{max-width:85%;padding:10px 12px;border-radius:12px;font-size:13px;line-height:1.7;white-space:pre-wrap}.ra-chat-msg.bot{background:#fff;border:1px solid #e5e7eb;align-self:flex-start}.ra-chat-msg.user{background:#6d28d9;color:#fff;align-self:flex-end}.ra-chat-form{display:flex;gap:8px;padding:10px;border-top:1px solid #e5e7eb;background:#fff}.ra-chat-form input{flex:1;border:1px solid #d1d5db;border-radius:10px;padding:10px;font:inherit}.ra-chat-form button{border:0;border-radius:10px;padding:10px 14px;background:#6d28d9;color:#fff;cursor:pointer}

.ra-chat-notif{position:absolute;inset-inline-end:0;bottom:70px;width:260px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 12px 30px rgba(0,0,0,.16);padding:12px 14px;cursor:pointer}.ra-chat-notif b{display:block;margin:0 0 4px;color:#111827}.ra-chat-notif p{margin:0;color:#374151;font-size:13px}.ra-chat-notif-close{position:absolute;top:6px;inset-inline-start:8px;border:0;background:none;font-size:18px;cursor:pointer;color:#6b7280}.ra-chat-quick{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border-bottom:1px solid #e5e7eb;background:#fff}.ra-chat-quick button{border:1px solid #d8b4fe;background:#faf5ff;color:#6d28d9;border-radius:999px;padding:6px 10px;font:inherit;font-size:12px;cursor:pointer}.ra-chat-quick button:hover{background:#f3e8ff}

.lbo.on{display:grid}

/* ===== Rayan Afzar Neon Gaming header + mega menu ===== */
:root{--ra-neon:#742cff;--ra-cyan:#087bff;--ra-night:#050817;--ra-panel:#0b1027;--ra-border:rgba(112,83,255,.42)}
body{background:#050817;color:#f5f6ff}
.topbar{background:#030615;border-bottom:1px solid rgba(112,83,255,.2);color:#e9e8ff}
.topbar .wrap{min-height:42px}
.hd{position:relative;z-index:80;background:linear-gradient(180deg,#090d22,#070b1b);border-bottom:1px solid #4322c5;box-shadow:0 8px 35px rgba(40,15,130,.2)}
.hd-in{min-height:72px;gap:20px}
.logo{color:#fff!important}.logo-tx b{font-size:22px;letter-spacing:-.5px}.logo-ic{filter:drop-shadow(0 0 12px #772dff)}
.hdr-search{background:#080d20;border:1px solid #302b68;border-radius:18px;min-width:250px}.hdr-search input{color:#fff}.hdr-search input::placeholder{color:#9ba4c6}
.hdr-search button{color:#fff}.cta{display:none!important}
.ra-neon-nav{flex:1;min-width:0;z-index:90}.ra-nav-links{display:flex;align-items:center;justify-content:center;gap:4px}
.ra-nav-item{position:static}.ra-nav-trigger,.ra-nav-simple,.ra-nav-home{display:flex;align-items:center;gap:8px;padding:14px 12px;color:#f5f3ff!important;text-decoration:none!important;font-weight:700;font-size:13px;border-radius:12px;white-space:nowrap;transition:.2s}
.ra-nav-trigger i{font-style:normal;color:#a78bfa}.ra-nav-trigger:hover,.ra-nav-simple:hover{background:rgba(105,52,255,.16);color:#c8b5ff!important}
.ra-nav-home{background:linear-gradient(135deg,#7a24ff,#3f17d8);box-shadow:0 0 22px rgba(111,39,255,.48);padding-inline:18px}
.ra-mega-panel{position:absolute;top:calc(100% - 1px);right:0;left:0;padding:16px 3.5vw 20px;background:rgba(5,8,24,.98);border-top:1px solid #38218e;border-bottom:1px solid #5c2bff;box-shadow:0 24px 60px rgba(0,0,0,.6);opacity:0;visibility:hidden;transform:translateY(10px);transition:.22s;backdrop-filter:blur(18px)}
.ra-nav-item:hover>.ra-mega-panel,.ra-nav-item:focus-within>.ra-mega-panel,.ra-nav-item.open>.ra-mega-panel{opacity:1;visibility:visible;transform:translateY(0)}
.ra-mega-grid{max-width:1450px;margin:auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;direction:rtl}
.ra-mega-card{min-width:0;background:linear-gradient(180deg,#0d1532,#080d20);border:1px solid rgba(72,80,180,.55);border-radius:13px;overflow:hidden;box-shadow:0 8px 26px rgba(0,0,0,.3);transition:.2s}
.ra-mega-card:hover{border-color:#873cff;transform:translateY(-3px);box-shadow:0 0 24px rgba(105,45,255,.2)}
.ra-mega-cover{height:108px;display:block;position:relative;overflow:hidden;text-decoration:none!important;color:#fff!important}
.ra-mega-cover:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(0deg,rgba(3,5,20,.98),transparent)}
.ra-mega-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.ra-mega-card:hover .ra-mega-cover img{transform:scale(1.07)}
.ra-mega-cover b{position:absolute;z-index:1;bottom:9px;right:12px;font-size:15px;text-shadow:0 2px 8px #000}
.ra-mega-card ul{list-style:none;margin:0;padding:8px 12px 3px}.ra-mega-card li a{display:flex;align-items:center;gap:8px;padding:6px 0;color:#e9eaff!important;text-decoration:none!important;font-size:12px}.ra-mega-card li a svg{color:#9b53ff;flex:none}.ra-mega-card li a:hover{color:#bca2ff!important}
.ra-mega-more{display:flex;justify-content:space-between;align-items:center;margin:8px 10px 11px;padding:8px 11px;border-radius:9px;background:linear-gradient(100deg,#3811a8,#5c20e9);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:800}
.burger{background:#17103b;color:#fff;border:1px solid #6330e8;border-radius:10px}
@media(max-width:1200px){.ra-nav-trigger,.ra-nav-simple{padding:12px 7px;font-size:12px}.ra-mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ra-mega-panel{max-height:75vh;overflow:auto}}
@media(max-width:900px){.hd-in{flex-wrap:wrap}.ra-neon-nav{order:5;flex-basis:100%;display:none}.ra-neon-nav.open{display:block}.ra-nav-links{display:flex;flex-direction:column;align-items:stretch}.ra-nav-item{position:relative;width:100%}.ra-nav-trigger,.ra-nav-simple,.ra-nav-home{width:100%;justify-content:space-between}.ra-mega-panel{position:static;display:none;opacity:1;visibility:visible;transform:none;padding:10px;background:#070b1c;max-height:none}.ra-nav-item.open>.ra-mega-panel{display:block}.ra-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hdr-search{flex:1;min-width:0}.burger{display:block!important}}
@media(max-width:520px){.ra-mega-grid{grid-template-columns:1fr 1fr;gap:7px}.ra-mega-cover{height:85px}.ra-mega-card li a{font-size:11px}.logo-tx b{font-size:17px}}
/* Neon support widget matching the approved home-page reference */
.ra-chat-btn{background:linear-gradient(135deg,#862fff,#4015d2)!important;box-shadow:0 0 26px #702bff99,0 10px 28px #0008!important;border:1px solid #a36aff!important}
.ra-chat-panel{background:#0a1027!important;border:1px solid #7741ef!important;box-shadow:0 20px 60px #000b,0 0 30px #4d1bb344!important;color:#f5f5ff!important}
.ra-chat-head{background:linear-gradient(110deg,#7027f3,#3711b6)!important;padding:15px 16px!important}.ra-chat-head b{font-size:14px}
.ra-chat-msgs{background:#090f25!important}.ra-chat-msg.bot{background:#151e3d!important;border:1px solid #2b3a70!important;color:#eef1ff!important}.ra-chat-msg.user{background:linear-gradient(120deg,#762cff,#4214c6)!important}
.ra-chat-form{background:#080e22!important;border-top:1px solid #283568!important}.ra-chat-form input{background:#101a37!important;border:1px solid #35447e!important;color:#fff!important}.ra-chat-form input::placeholder{color:#8996bf}.ra-chat-form button{background:linear-gradient(120deg,#7d2cff,#4215d1)!important}
.ra-chat-quick{background:#0b132d!important;border-color:#273466!important}.ra-chat-quick button{background:#151c3d!important;border-color:#5031a4!important;color:#d9c8ff!important}.ra-chat-quick button:hover{background:#30116f!important}
.ra-chat-notif{background:#111a38!important;border-color:#6d3ae4!important;color:#fff!important}.ra-chat-notif b,.ra-chat-notif p{color:#fff!important}

/* Rayan Afzar v27: adaptive mega menu and premium homepage */
:root{--ra-menu-bg:#0a1028;--ra-menu-card:#111a38;--ra-menu-text:#f4f5ff;--ra-menu-muted:#aab4d5;--ra-menu-line:rgba(133,111,255,.28);--ra-menu-hover:rgba(120,73,255,.16);--ra-menu-shadow:0 24px 70px rgba(0,0,0,.42);--ra-menu-accent:var(--bl,#7b42ff);--ra-menu-accent2:var(--ac,#12b9e8)}
body[data-theme="light"]{--ra-menu-bg:#fff;--ra-menu-card:#f5f7ff;--ra-menu-text:#17213a;--ra-menu-muted:#5d6882;--ra-menu-line:rgba(63,76,125,.17);--ra-menu-hover:rgba(105,65,225,.09);--ra-menu-shadow:0 24px 60px rgba(25,35,70,.18)}
body[data-theme="dark"]{--ra-menu-bg:#080d20;--ra-menu-card:#111a38;--ra-menu-text:#f4f5ff;--ra-menu-muted:#aab4d5;--ra-menu-line:rgba(133,111,255,.28);--ra-menu-hover:rgba(120,73,255,.16);--ra-menu-shadow:0 24px 70px rgba(0,0,0,.48)}
body[data-theme="light"]{background:var(--bg,#f4f6fb);color:var(--ink,#17213a)}body[data-theme="dark"]{background:#070b18;color:#f4f5ff}
.ra-neon-nav .ra-nav-trigger,.ra-neon-nav .ra-nav-simple{color:var(--ra-menu-text)!important}.ra-neon-nav .ra-nav-trigger:hover,.ra-neon-nav .ra-nav-simple:hover{background:var(--ra-menu-hover);color:var(--ra-menu-accent)!important}
.ra-mega-panel{background:var(--ra-menu-bg)!important;border-top:1px solid var(--ra-menu-line)!important;border-bottom:1px solid var(--ra-menu-line)!important;box-shadow:var(--ra-menu-shadow)!important;color:var(--ra-menu-text)!important}
.ra-mega-inner{max-width:1320px;margin:auto;display:grid;grid-template-columns:minmax(280px,.82fr) minmax(420px,1.18fr);gap:20px;direction:rtl}
.ra-mega-feature{position:relative;display:block;min-height:290px;border-radius:18px;overflow:hidden;color:#fff!important;text-decoration:none!important;background:#111a38;border:1px solid var(--ra-menu-line)}.ra-mega-feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s}.ra-mega-feature:hover img{transform:scale(1.045)}.ra-mega-feature-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,7,22,.97),rgba(4,7,22,.05) 75%)}.ra-mega-feature-copy{position:absolute;right:22px;left:22px;bottom:22px;display:grid;gap:9px}.ra-mega-feature-copy small{color:#c5b6ff;letter-spacing:1.4px;font-size:10px;font-weight:800}.ra-mega-feature-copy b{font-size:25px}.ra-mega-feature-copy em{font-style:normal;color:#e4e7ff;font-size:13px;line-height:1.9}
.ra-mega-content{padding:16px 18px;border:1px solid var(--ra-menu-line);border-radius:18px;background:var(--ra-menu-card);display:flex;flex-direction:column}.ra-mega-heading{display:flex;align-items:center;gap:12px;padding:0 0 14px;border-bottom:1px solid var(--ra-menu-line);color:var(--ra-menu-text)}.ra-mega-heading>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,var(--ra-menu-accent),var(--ra-menu-accent2));color:#fff}.ra-mega-heading b{display:block;font-size:17px}.ra-mega-heading small{display:block;margin-top:3px;color:var(--ra-menu-muted);font-size:11px}
.ra-mega-links{list-style:none;margin:12px 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px}.ra-mega-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 13px;border:1px solid var(--ra-menu-line);border-radius:11px;color:var(--ra-menu-text)!important;text-decoration:none!important;background:transparent;font-size:13px;transition:.18s}.ra-mega-links a:hover{background:var(--ra-menu-hover);border-color:var(--ra-menu-accent);color:var(--ra-menu-accent)!important;transform:translateX(-2px)}.ra-mega-links a i{font-style:normal;color:var(--ra-menu-accent)}.ra-mega-all{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding:12px 14px;border-radius:11px;background:linear-gradient(110deg,var(--ra-menu-accent),#4420bf);color:#fff!important;text-decoration:none!important;font-weight:800;font-size:12px}
@media(max-width:900px){.ra-mega-inner{grid-template-columns:1fr}.ra-mega-feature{min-height:170px}.ra-mega-links{grid-template-columns:1fr 1fr}.ra-mega-content{padding:12px}}@media(max-width:520px){.ra-mega-links{grid-template-columns:1fr}.ra-mega-feature{min-height:145px}.ra-mega-feature-copy b{font-size:19px}}
.page-home .ra-hero{min-height:clamp(420px,48vw,620px);border-radius:0 0 28px 28px;overflow:hidden;position:relative;background:#080d20;isolation:isolate}.page-home .ra-hero:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(5,8,22,.88),rgba(5,8,22,.55) 44%,rgba(5,8,22,.08)),linear-gradient(0deg,rgba(5,8,22,.4),transparent 55%)}.page-home .ra-hero-slide{opacity:0;transition:opacity .7s}.page-home .ra-hero-slide.is-active{opacity:1}.page-home .ra-hero-slide>.bg,.page-home .ra-hero-slide>img.bg{width:100%;height:100%;object-fit:cover;filter:saturate(1.08)}.page-home .ra-hero-content{position:relative;z-index:2;min-height:clamp(420px,48vw,620px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-to
