/* PixelRealm Games — fiches V13 */

body.prg-detail-page {
  margin:0;
  min-height:100vh;
  background:#0b1220;
  color:#f1f2ff;
}

.prg-detail-page .topbar {
  position:sticky;
  top:0;
  z-index:50;
  background:#0b1220f7;
  border-bottom:1px solid #293550;
  backdrop-filter:blur(15px);
}

.prg-detail-page .topinner {
  max-width:none;
  height:76px;
  display:flex;
  align-items:center;
  gap:25px;
  padding:0 25px;
}

.prg-detail-page .brand {
  display:flex;
  align-items:center;
  gap:11px;
  min-width:245px;
  color:#fff;
  text-decoration:none;
  font-size:18px;
  font-weight:900;
  white-space:nowrap;
}

.prg-detail-page .brand img {
  width:52px;
  height:52px;
  object-fit:contain;
}

.prg-detail-page .brand strong {color:#ad8bff}

.prg-detail-page .search {
  flex:1;
  max-width:720px;
}

.prg-detail-page .search input {
  width:100%;
  padding:13px 18px;
  background:#17233a;
  border:1px solid #35435e;
  border-radius:12px;
  color:white;
  outline:none;
}

.prg-detail-page .header-note {
  margin-left:auto;
  color:#aeb5cc;
  white-space:nowrap;
  font-size:13px;
}

.prg-detail-page .seo-main {
  box-sizing:border-box;
  width:100%;
  max-width:1600px;
  margin:0 auto;
  padding:34px 32px 48px;
}

.prg-detail-page .seo-nav {
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-bottom:26px;
}

.prg-detail-page .seo-nav a {
  color:#c8b7ff;
  text-decoration:none;
}

.prg-detail-page .prg-detail-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:28px;
  align-items:start;
}

.prg-detail-page .prg-detail-content {min-width:0}

.prg-detail-page .seo-hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,350px);
  gap:30px;
  align-items:center;
  padding:30px;
  border:1px solid #35405e;
  border-radius:20px;
  background:linear-gradient(135deg,#151d32,#12182a);
}

.prg-detail-page .seo-hero h1 {
  margin-top:0;
  font-size:clamp(26px,3vw,42px);
  line-height:1.15;
}

.prg-detail-page .seo-hero img {
  display:block;
  width:100%;
  height:auto;
  border-radius:16px;
}

.prg-detail-page .seo-description {
  max-width:75ch;
  line-height:1.75;
  color:#c6ccdd;
}

.prg-detail-page .prg-ad-slot {
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:0;
  padding:22px;
  border:1px dashed #46516e;
  border-radius:16px;
  background:#10182a;
  color:#8d97b1;
  text-align:center;
  font-size:13px;
}

.prg-detail-page .prg-ad-slot strong {
  color:#b9bfd0;
  font-size:14px;
}

.prg-detail-page .prg-ad-sidebar {
  min-height:310px;
}

.prg-detail-page .prg-ad-banner {
  min-height:120px;
  margin:30px 0;
}

.prg-detail-page .prg-ad-amazon {
  min-height:170px;
  margin-top:20px;
}

.prg-detail-page .prg-related-section {
  margin-top:35px;
}

.prg-detail-page .prg-related-section h2 {
  font-size:25px;
}

.prg-detail-page .prg-game-related {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(165px,1fr));
  gap:16px;
}

.prg-detail-page .pr-footer {
  width:100%;
  max-width:none;
  margin:45px 0 0;
  clear:both;
}

@media(max-width:1100px) {
  .prg-detail-page .prg-detail-grid {
    grid-template-columns:1fr;
  }
  .prg-detail-page .prg-detail-ads {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
  }
  .prg-detail-page .prg-ad-amazon {margin-top:0}
}

@media(max-width:750px) {
  .prg-detail-page .topinner {
    height:auto;
    min-height:76px;
    padding:12px 16px;
    flex-wrap:wrap;
    gap:12px;
  }
  .prg-detail-page .brand {min-width:0;font-size:15px}
  .prg-detail-page .brand img {width:42px;height:42px}
  .prg-detail-page .search {
    flex-basis:100%;
    order:3;
    max-width:none;
  }
  .prg-detail-page .header-note {font-size:12px}
  .prg-detail-page .seo-main {padding:24px 16px}
  .prg-detail-page .seo-hero {
    grid-template-columns:1fr;
    padding:20px;
  }
  .prg-detail-page .seo-hero img {
    max-width:380px;
    margin:auto;
  }
  .prg-detail-page .prg-detail-ads {
    grid-template-columns:1fr;
  }
  .prg-detail-page .prg-game-related {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* V13 — alignement du bandeau inférieur du footer */
.prg-detail-page .pr-footer-bottom {
  box-sizing: border-box;
  width: calc(100% - 56px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.prg-detail-page .pr-footer-bottom > span {
  display: block;
  margin: 0;
  padding: 0;
}

.prg-detail-page .pr-footer-bottom > span:last-child {
  text-align: right;
}

@media (max-width: 600px) {
  .prg-detail-page .pr-footer-bottom {
    width: calc(100% - 40px);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .prg-detail-page .pr-footer-bottom > span:last-child {
    text-align: left;
  }
}

/* V13 — alignement définitif du copyright */
body.prg-detail-page footer.pr-footer .pr-footer-bottom {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: calc(100% - 56px) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left !important;
}

body.prg-detail-page footer.pr-footer .pr-footer-bottom > span:first-child {
  margin: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

body.prg-detail-page footer.pr-footer .pr-footer-bottom > span:last-child {
  margin: 0 !important;
  margin-left: auto !important;
  text-align: right !important;
}

@media (max-width: 600px) {
  body.prg-detail-page footer.pr-footer .pr-footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  body.prg-detail-page footer.pr-footer .pr-footer-bottom > span:last-child {
    margin-left: 0 !important;
    text-align: left !important;
  }
}
