/* PAPAREIL v6.2 — final polish for homepage, header and premium footer */

/* Header cleanup */
.pp-header{padding:10px 0 12px}
.pp-header-inner{gap:18px;border:1px solid #e7edf5;box-shadow:0 10px 26px rgba(17,44,84,.05)}
.pp-nav-items{gap:18px}
.pp-nav-items>li>a{font-size:15px;padding:10px 2px}
.pp-header-actions{gap:10px}
.pp-header-join{min-height:46px;padding:12px 16px;border-radius:999px;font-size:14px;white-space:nowrap}
.pp-signin{font-size:14px}
.pp-cart-number{font-size:10px}
.pp60-calm-control{min-height:42px;border-radius:999px;border:1px solid #dbe6f1;background:#f7fbff;color:#173a63;font-size:13px;font-weight:800;padding:10px 13px}
.pp-icon-action{width:42px;height:42px;border-radius:50%;background:#f7fbff;border:1px solid #deebf5}
.pp-header-search{border-top:1px solid #edf3f8}
.pp-header-search input{font-size:15px}

/* Premium recent forum area with right-side visual stack */
body.pp59-reference .pp62-recent-shell{display:grid;grid-template-columns:minmax(0,2.18fr) minmax(290px,.92fr);gap:16px;margin-top:16px;align-items:stretch}
body.pp59-reference .pp62-recent-shell .pp59-recent{margin-top:0;padding:20px 22px}
body.pp59-reference .pp62-recent-shell .pp59-section-head{margin-bottom:16px}
body.pp59-reference .pp62-recent-shell .pp59-recent-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.pp59-reference .pp62-recent-shell .pp59-recent-list>a{min-height:108px;padding:15px 14px;border-radius:16px;grid-template-columns:26px 1fr 20px;gap:8px;align-content:start;transition:transform .2s ease,box-shadow .2s ease}
body.pp59-reference .pp62-recent-shell .pp59-recent-list>a:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(19,44,80,.12)}
body.pp59-reference .pp62-recent-shell .pp59-recent-list strong{font-size:15px;line-height:1.34}
body.pp59-reference .pp62-recent-shell .pp59-recent-list small{font-size:13px;line-height:1.4;margin-top:2px}
body.pp59-reference .pp62-recent-side{display:grid;gap:16px}
body.pp59-reference .pp62-sidecard{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:208px;overflow:hidden;border-radius:22px;border:1px solid #d8e7ef;background:#eff7fb;color:#14345a;text-decoration:none;padding:18px;isolation:isolate;box-shadow:0 12px 30px rgba(26,59,93,.06)}
body.pp59-reference .pp62-sidecard img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
body.pp59-reference .pp62-sidecard::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(248,252,255,.14) 0%,rgba(15,41,71,.14) 28%,rgba(15,41,71,.76) 100%);z-index:-1}
body.pp59-reference .pp62-sidecard--story::before{background:linear-gradient(180deg,rgba(255,251,238,.12) 0%,rgba(35,48,75,.22) 30%,rgba(17,44,84,.84) 100%)}
body.pp59-reference .pp62-sidecard-tag{display:inline-flex;align-items:center;gap:8px;width:max-content;max-width:100%;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.88);color:#173a62;font-size:12px;font-weight:900;line-height:1.2;margin-bottom:10px}
body.pp59-reference .pp62-sidecard-tag svg{width:16px;height:16px}
body.pp59-reference .pp62-sidecard strong{font-size:24px;line-height:1.12;color:#fff;margin:0 0 8px;max-width:14ch}
body.pp59-reference .pp62-sidecard p{font-size:14px;line-height:1.5;color:rgba(255,255,255,.94);margin:0 0 12px;max-width:28ch}
body.pp59-reference .pp62-sidecard em{display:inline-flex;align-items:center;gap:7px;font-style:normal;font-size:14px;font-weight:900;color:#fff}

/* Premium footer */
.pp62-footer{background:radial-gradient(circle at top left,rgba(32,108,177,.18),transparent 30%),linear-gradient(180deg,#103058 0%,#122f56 60%,#102847 100%);color:#fff;padding:58px 0 22px;margin-top:42px;position:relative;overflow:hidden}
.pp62-footer::before,.pp62-footer::after{content:"";position:absolute;border-radius:50%;pointer-events:none;opacity:.22}
.pp62-footer::before{width:320px;height:320px;right:-110px;top:-120px;background:radial-gradient(circle,#ffd748 0%,transparent 68%)}
.pp62-footer::after{width:260px;height:260px;left:-80px;bottom:-120px;background:radial-gradient(circle,#4bb8ff 0%,transparent 70%)}
.pp62-footer-shell{position:relative;z-index:1}
.pp62-footer-hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,.9fr);gap:22px;align-items:stretch;padding:24px;border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.14);box-shadow:0 16px 42px rgba(0,0,0,.12)}
.pp62-footer-kicker{display:inline-block;margin-bottom:10px;font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:#ffd748}
.pp62-footer-hero h2{font-size:clamp(28px,3vw,40px);line-height:1.08;margin:0 0 12px;color:#fff}
.pp62-footer-hero p{font-size:16px;line-height:1.65;color:rgba(237,245,255,.92);margin:0;max-width:58ch}
.pp62-footer-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.pp62-footer-pill{display:inline-flex;align-items:center;gap:9px;padding:11px 15px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#fff;text-decoration:none;font-size:14px;font-weight:800;backdrop-filter:blur(2px)}
.pp62-footer-pill:hover{background:#ffd748;color:#102c51;border-color:#ffd748}
.pp62-footer-pill svg{width:18px;height:18px}
.pp62-footer-hero-art{position:relative;display:flex;align-items:flex-end;justify-content:flex-end;min-height:240px;border-radius:24px;background:linear-gradient(140deg,#fff6d1,#e8f7ff);padding:18px;overflow:hidden}
.pp62-footer-hero-art img{width:min(260px,100%);height:auto;object-fit:contain;filter:drop-shadow(0 16px 28px rgba(17,44,84,.18))}
.pp62-footer-badge{position:absolute;left:18px;top:18px;max-width:16ch;background:#fff;border-radius:18px;padding:12px 14px;color:#103159;font-size:13px;font-weight:900;line-height:1.35;box-shadow:0 10px 24px rgba(17,44,84,.09)}
.pp62-footer-grid{display:grid;grid-template-columns:1.18fr .92fr .92fr .92fr;gap:18px;margin-top:22px}
.pp62-footer-card{padding:22px;border-radius:24px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.11);min-width:0}
.pp62-footer-card h3{margin:0 0 12px;font-size:18px;line-height:1.2;color:#fff}
.pp62-footer-card p{font-size:14px;line-height:1.65;color:rgba(232,241,250,.86);margin:0 0 12px}
.pp62-footer-card nav,.pp62-footer-contact-list{display:grid;gap:10px}
.pp62-footer-card a{display:flex;align-items:center;gap:9px;text-decoration:none;color:#edf5ff;font-size:14px;line-height:1.45}
.pp62-footer-card a:hover{color:#ffd748}
.pp62-footer-contact-list a svg{width:16px;height:16px;flex-shrink:0}
.pp62-footer-card--contact{background:linear-gradient(140deg,rgba(255,255,255,.1),rgba(255,255,255,.04))}
.pp62-footer-card--legal{background:linear-gradient(140deg,rgba(255,255,255,.07),rgba(255,255,255,.03))}
.pp62-footer-admin-hint{display:inline-flex!important;align-items:center;justify-content:center;margin-top:14px;padding:10px 12px;border-radius:14px;background:rgba(255,215,72,.12)!important;border:1px dashed rgba(255,215,72,.6)!important;color:#ffd748!important;font-size:13px!important;font-weight:800}
.pp62-footer-bottom{display:flex;justify-content:space-between;gap:16px;margin-top:18px;padding:16px 4px 0;border-top:1px solid rgba(255,255,255,.12);font-size:13px;color:rgba(235,244,255,.82)}

/* Responsiveness */
@media(max-width:1240px){
  .pp-nav-items>li>a{font-size:14px}
  .pp-header-join{font-size:13px;padding:11px 14px}
  body.pp59-reference .pp62-recent-shell{grid-template-columns:minmax(0,1.65fr) minmax(280px,.95fr)}
  .pp62-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
  body.pp59-reference .pp62-recent-shell{grid-template-columns:1fr}
  body.pp59-reference .pp62-recent-side{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pp62-footer-hero{grid-template-columns:1fr}
}
@media(max-width:720px){
  .pp-header-actions{gap:6px}
  .pp-signin{display:none}
  .pp60-calm-control{padding:9px 11px;font-size:12px}
  body.pp59-reference .pp62-recent-shell .pp59-recent{padding:16px}
  body.pp59-reference .pp62-recent-shell .pp59-recent-list{grid-template-columns:1fr}
  body.pp59-reference .pp62-recent-side{grid-template-columns:1fr}
  .pp62-sidecard{min-height:198px}
  .pp62-sidecard strong{font-size:22px}
  .pp62-footer{padding-top:46px}
  .pp62-footer-grid{grid-template-columns:1fr}
  .pp62-footer-bottom{flex-direction:column}
}
@media(max-width:600px){
  .pp-header{padding:8px 0 10px}
  .pp-header-inner{gap:8px}
  .pp-icon-action{width:40px;height:40px}
  .pp60-calm-control{display:none}
  body.pp59-reference .pp62-recent-shell{margin-top:12px;gap:12px}
  body.pp59-reference .pp62-recent-shell .pp59-recent-list strong{font-size:14px}
  body.pp59-reference .pp62-recent-shell .pp59-recent-list small{font-size:12px}
  .pp62-footer-hero{padding:18px;border-radius:22px}
  .pp62-footer-hero h2{font-size:28px}
  .pp62-footer-hero p{font-size:15px}
  .pp62-footer-pill{width:100%;justify-content:center}
  .pp62-footer-hero-art{min-height:210px}
  .pp62-footer-card{padding:18px;border-radius:20px}
}
