:root {
  --pg-bg: #f6f8fb;
  --pg-surface: #ffffff;
  --pg-ink: #0b1120;
  --pg-ink-2: #1c2740;
  --pg-muted: #5d6b82;
  --pg-line: #e4e9f2;
  --pg-accent: #0e6fbd;
  --pg-accent-2: #e11d48;
  --pg-accent-soft: #e8f2fb;
  --pg-dark: #0b1120;
  --pg-dark-2: #141d33;
  --pg-radius: 20px;
  --pg-radius-lg: 28px;
  --pg-shadow: 0 10px 40px rgba(11, 17, 32, 0.08);
  --pg-shadow-lg: 0 24px 70px rgba(11, 17, 32, 0.16);
  --pg-font: "Inter", system-ui, -apple-system, sans-serif;
  --pg-display: "Space Grotesk", "Inter", sans-serif;
  --pg-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --pg-header-h: 118px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.font-sans,
body {
  font-family: var(--pg-font);
  background: var(--pg-bg);
  color: var(--pg-ink);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.pg-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.pg-section {
  padding: clamp(56px, 8vw, 110px) 0;
  position: relative;
}

.pg-section--tight {
  padding: clamp(36px, 5vw, 64px) 0;
}

.pg-section--dark {
  background: var(--pg-dark);
  color: #e6ebf5;
}

.pg-section--alt {
  background: var(--pg-surface);
}

.pg-section--line {
  border-top: 1px solid var(--pg-line);
}

.pg-media {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.pg-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.pg-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pg-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pg-accent);
  margin-bottom: 14px;
}

.pg-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--pg-accent);
  display: inline-block;
}

.pg-section--dark .pg-kicker {
  color: #7cc4f5;
}
.pg-section--dark .pg-kicker::before {
  background: #7cc4f5;
}

.pg-h1,
.pg-h2,
.pg-h3 {
  font-family: var(--pg-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--pg-ink);
}

.pg-section--dark .pg-h1,
.pg-section--dark .pg-h2,
.pg-section--dark .pg-h3 {
  color: #f2f6fc;
}

.pg-h1 {
  font-size: clamp(2.1rem, 5.4vw, 4rem);
}
.pg-h2 {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
}
.pg-h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.pg-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--pg-muted);
  margin-top: 14px;
}

.pg-section--dark .pg-lead {
  color: #aeb9cf;
}

.pg-text p {
  margin-bottom: 1em;
  line-height: 1.75;
  color: var(--pg-ink-2);
}
.pg-section--dark .pg-text p {
  color: #c6cfdf;
}

.pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
  font-family: var(--pg-font);
}

.pg-btn:hover {
  transform: translateY(-2px);
}

.pg-btn--primary {
  background: var(--pg-accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(14, 111, 189, 0.32);
}
.pg-btn--primary:hover {
  background: #0b5d9e;
}

.pg-btn--accent {
  background: var(--pg-accent-2);
  color: #fff;
  box-shadow: 0 10px 26px rgba(225, 29, 72, 0.3);
}
.pg-btn--accent:hover {
  background: #be123c;
}

.pg-btn--ghost {
  background: transparent;
  color: var(--pg-ink);
  border-color: var(--pg-line);
}
.pg-btn--ghost:hover {
  border-color: var(--pg-accent);
  color: var(--pg-accent);
}

.pg-btn--dark {
  background: var(--pg-ink);
  color: #fff;
}
.pg-btn--dark:hover {
  background: var(--pg-ink-2);
}

.pg-btn--light {
  background: #fff;
  color: var(--pg-ink);
}
.pg-btn--light:hover {
  background: #e8eef7;
}

.pg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--pg-accent-soft);
  color: var(--pg-accent);
  border: 1px solid #d3e5f5;
}

.pg-chip--dark {
  background: rgba(255, 255, 255, 0.08);
  color: #dce6f5;
  border-color: rgba(255, 255, 255, 0.14);
}

.pg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--pg-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
}

.pg-badge--live {
  background: var(--pg-accent-2);
  color: #fff;
}
.pg-badge--live i {
  font-size: 0.5rem;
  animation: pg-pulse 1.4s infinite;
}

.pg-badge--breaking {
  background: var(--pg-ink);
  color: #fff;
}
.pg-badge--pro {
  background: var(--pg-accent);
  color: #fff;
}
.pg-badge--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.pg-badge--soft {
  background: var(--pg-accent-soft);
  color: var(--pg-accent);
}

@keyframes pg-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.pg-num {
  font-family: var(--pg-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.pg-mono {
  font-family: var(--pg-mono);
  font-variant-numeric: tabular-nums;
}

.pg-card {
  background: var(--pg-surface);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius);
  box-shadow: var(--pg-shadow);
  color: var(--pg-ink);
}

.pg-card--pad {
  padding: clamp(20px, 3vw, 32px);
}

.pg-link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--pg-accent);
}
.pg-link-more i {
  transition: transform 0.2s ease;
  font-size: 0.8em;
}
.pg-link-more:hover i {
  transform: translateX(4px);
}

.pg-figure {
  border-radius: var(--pg-radius);
  overflow: hidden;
  position: relative;
}
.pg-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-grid {
  display: grid;
  gap: 24px;
}
.pg-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.pg-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.pg-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.pg-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.pg-split--rev {
  grid-template-columns: 0.95fr 1.05fr;
}

/* ============ HEADER ============ */

.pg-header {
  position: sticky;
  top: 0;
  z-index: 900;
  font-family: var(--pg-font);
}

.pg-header-top {
  background: var(--pg-dark);
  color: #c9d4e8;
  font-size: 0.78rem;
}

.pg-header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.pg-header-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.pg-header-meta span,
.pg-header-meta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.pg-header-meta i {
  color: #6ea8dd;
  font-size: 0.7rem;
}
.pg-header-meta a:hover {
  color: #fff;
}

.pg-header-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.pg-live-dot {
  color: var(--pg-accent-2);
  font-size: 0.55rem;
  animation: pg-pulse 1.4s infinite;
}

.pg-header-main {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pg-line);
}

.pg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.pg-logo img {
  height: 44px;
  width: auto;
}

.pg-nav {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
}

.pg-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pg-ink-2);
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
  transition:
    color 0.2s,
    background 0.2s;
}
.pg-nav a:hover {
  color: var(--pg-accent);
  background: var(--pg-accent-soft);
}

.pg-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pg-header-search {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pg-ink-2);
  border: 1px solid var(--pg-line);
}
.pg-header-search:hover {
  color: var(--pg-accent);
  border-color: var(--pg-accent);
}

.pg-burger {
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--pg-line);
  background: #fff;
  color: var(--pg-ink);
  font-size: 1rem;
  cursor: pointer;
}

.pg-drawer {
  display: none;
  background: var(--pg-dark);
  color: #e6ebf5;
  padding: 28px 20px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pg-drawer.open {
  display: block;
}

.pg-drawer-nav {
  display: flex;
  flex-direction: column;
}
.pg-drawer-nav a {
  padding: 13px 4px;
  font-family: var(--pg-display);
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pg-drawer-nav a::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: #56759e;
}
.pg-drawer-nav a:hover {
  color: #7cc4f5;
  padding-left: 10px;
}

.pg-drawer-contacts {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: #aab8d0;
}
.pg-drawer-contacts i {
  color: #6ea8dd;
  margin-right: 8px;
  width: 16px;
}
.pg-drawer-contacts a:hover {
  color: #fff;
}

.pg-drawer-socials {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}
.pg-drawer-socials a,
.pg-footer-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #c9d4e8;
  transition:
    background 0.2s,
    color 0.2s;
}
.pg-drawer-socials a:hover,
.pg-footer-socials a:hover {
  background: var(--pg-accent);
  color: #fff;
  border-color: var(--pg-accent);
}

/* ============ FOOTER ============ */

.pg-footer {
  background: #05070d;
  color: #b7c2d6;
  font-size: 0.9rem;
  margin-top: auto;
}

.pg-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.8fr 1fr;
  gap: 40px;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: 48px;
}

.pg-footer-logo {
  height: 46px;
  width: auto;
  margin-bottom: 18px;
}

.pg-footer-brand p {
  line-height: 1.7;
  color: #8d99b4;
  max-width: 320px;
}

.pg-footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pg-footer-col h3 {
  font-family: var(--pg-display);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pg-footer-col a,
.pg-footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  color: #8d99b4;
  line-height: 1.5;
}
.pg-footer-col a:hover {
  color: #fff;
}
.pg-footer-col i {
  color: #45628f;
  font-size: 0.75rem;
  margin-top: 4px;
}

.pg-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  color: #6b7892;
}

.pg-totop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pg-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: var(--pg-shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
  z-index: 800;
}
.pg-totop.show {
  opacity: 1;
  pointer-events: auto;
}
.pg-totop:hover {
  transform: translateY(-3px);
}

/* ============ HERO / SLIDER ============ */

.pg-hero {
  position: relative;
  overflow: hidden;
  background: var(--pg-dark);
  color: #f2f6fc;
}

.pg-hero-slides {
  position: relative;
  min-height: clamp(520px, 70vh, 680px);
}

.pg-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
}

.pg-hero-slide.active {
  opacity: 1;
  position: relative;
}

.pg-hero-slide .pg-media-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  width: 100%;
  padding: clamp(48px, 7vw, 96px) 0;
}

.pg-hero-title {
  font-family: var(--pg-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.pg-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.pg-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: #aab8d0;
  margin: 16px 0 26px;
}
.pg-hero-meta i {
  color: #7cc4f5;
  margin-right: 6px;
}

.pg-hero-frame {
  border-radius: var(--pg-radius-lg);
  overflow: hidden;
  min-height: 320px;
  position: relative;
  box-shadow: var(--pg-shadow-lg);
}

.pg-hero-frame .pg-author {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 12px 16px;
}
.pg-hero-frame .pg-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.pg-hero-frame .pg-author b {
  color: #fff;
  font-size: 0.9rem;
  display: block;
}
.pg-hero-frame .pg-author span {
  color: #aab8d0;
  font-size: 0.78rem;
}

.pg-hero-nav {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.pg-hero-dot {
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.pg-hero-dot.active {
  background: #fff;
}

/* ============ TICKER ============ */

.pg-ticker {
  background: var(--pg-ink);
  color: #cdd8ea;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pg-ticker-track {
  display: flex;
  gap: 44px;
  padding: 12px 0;
  white-space: nowrap;
  animation: pg-marquee 36s linear infinite;
  width: max-content;
}
.pg-ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pg-mono);
  font-size: 0.8rem;
}
.pg-ticker-track i {
  color: #7cc4f5;
}

@keyframes pg-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ============ BENTO ============ */

.pg-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 18px;
}

.pg-bento > * {
  border-radius: var(--pg-radius);
  overflow: hidden;
  position: relative;
}

.pg-bento-xl {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 320px;
}
.pg-bento-h {
  grid-column: span 2;
}
.pg-bento-v {
  grid-row: span 2;
}

.pg-bento-item {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--pg-surface);
  border: 1px solid var(--pg-line);
  color: var(--pg-ink);
}
.pg-bento-item.pg-media {
  color: #fff;
  border: none;
}

.pg-bento-item h3 {
  font-family: var(--pg-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 10px 0 6px;
}
.pg-bento-xl h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}
.pg-bento-item p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--pg-muted);
}
.pg-bento-item.pg-media p {
  color: #c6cfdf;
}

.pg-bento-feed {
  max-height: 100%;
  overflow: hidden;
}
.pg-bento-feed ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pg-bento-feed li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--pg-line);
  font-size: 0.85rem;
  line-height: 1.5;
}
.pg-bento-feed li:last-child {
  border-bottom: none;
}
.pg-bento-feed .pg-mono {
  color: var(--pg-accent-2);
  font-size: 0.75rem;
  white-space: nowrap;
}
.pg-bento-feed i {
  color: var(--pg-accent);
  font-size: 0.7rem;
  margin-top: 4px;
}

/* ============ REVIEW / SCORE ============ */

.pg-score {
  font-family: var(--pg-display);
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--pg-accent);
}
.pg-section--dark .pg-score {
  color: #7cc4f5;
}

.pg-plusminus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pg-plusminus > div {
  border-radius: var(--pg-radius);
  padding: 24px;
  color: var(--pg-ink);
}
.pg-plus {
  background: var(--pg-accent-soft);
  border: 1px solid #cfe4f6;
}
.pg-minus {
  background: #fdeef2;
  border: 1px solid #f6d3dd;
}
.pg-plusminus h4 {
  font-family: var(--pg-display);
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pg-plus h4 i {
  color: var(--pg-accent);
}
.pg-minus h4 i {
  color: var(--pg-accent-2);
}
.pg-plusminus ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pg-plusminus li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--pg-ink-2);
}
.pg-plus li i {
  color: var(--pg-accent);
  margin-top: 4px;
}
.pg-minus li i {
  color: var(--pg-accent-2);
  margin-top: 4px;
}

.pg-prog {
  margin-bottom: 16px;
}
.pg-prog-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.pg-prog-track {
  height: 8px;
  border-radius: 6px;
  background: #e4e9f2;
  overflow: hidden;
}
.pg-section--dark .pg-prog-track {
  background: rgba(255, 255, 255, 0.1);
}
.pg-prog-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--pg-accent), #38a4f0);
  width: 0;
  transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pg-prog-fill--red {
  background: linear-gradient(90deg, var(--pg-accent-2), #f0607f);
}

/* ============ TIMELINE / RELEASE RADAR ============ */

.pg-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--pg-accent) var(--pg-line);
}
.pg-rail::-webkit-scrollbar {
  height: 6px;
}
.pg-rail::-webkit-scrollbar-thumb {
  background: var(--pg-accent);
  border-radius: 6px;
}
.pg-rail::-webkit-scrollbar-track {
  background: var(--pg-line);
  border-radius: 6px;
}

.pg-rail-card {
  flex: 0 0 clamp(260px, 30vw, 340px);
  scroll-snap-align: start;
  border-radius: var(--pg-radius);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}
.pg-rail-card h3 {
  font-family: var(--pg-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pg-rail-card .pg-rail-hover {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.pg-rail-card:hover .pg-rail-hover {
  opacity: 1;
  transform: none;
}
.pg-rail-card p {
  font-size: 0.85rem;
  color: #c6cfdf;
  line-height: 1.55;
  margin-bottom: 14px;
}

.pg-count {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.pg-count-cell {
  background: var(--pg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
  min-width: 84px;
}
.pg-count-cell b {
  display: block;
  font-family: var(--pg-mono);
  font-size: 1.9rem;
  color: #fff;
}
.pg-count-cell span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8d99b4;
}
.pg-count-sep {
  font-family: var(--pg-mono);
  font-size: 1.6rem;
  color: #56759e;
}

/* ============ FILTER CHIPS / TABS ============ */

.pg-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.pg-filter {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--pg-line);
  background: var(--pg-surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pg-ink-2);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.pg-filter:hover {
  border-color: var(--pg-accent);
  color: var(--pg-accent);
}
.pg-filter.active {
  background: var(--pg-ink);
  color: #fff;
  border-color: var(--pg-ink);
}

.pg-section--dark .pg-filter {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #c6cfdf;
}
.pg-section--dark .pg-filter.active {
  background: #fff;
  color: var(--pg-ink);
}

/* ============ TABLES ============ */

.pg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.pg-table th {
  font-family: var(--pg-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pg-muted);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--pg-line);
}
.pg-table td {
  padding: 14px;
  border-bottom: 1px solid var(--pg-line);
  vertical-align: middle;
}
.pg-table tr:hover td {
  background: var(--pg-accent-soft);
}
.pg-section--dark .pg-table th {
  color: #8d99b4;
  border-color: rgba(255, 255, 255, 0.12);
}
.pg-section--dark .pg-table td {
  border-color: rgba(255, 255, 255, 0.08);
  color: #c6cfdf;
}
.pg-section--dark .pg-table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.pg-up {
  color: var(--pg-accent);
}

/* ============ VIDEO ============ */

.pg-video-stage {
  border-radius: var(--pg-radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pg-video-play {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--pg-ink);
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s;
}
.pg-video-play::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: pg-pulse 1.8s infinite;
}
.pg-video-play:hover {
  transform: scale(1.08);
}
.pg-video-meta {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.pg-video-meta h3 {
  color: #fff;
  font-family: var(--pg-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.pg-video-meta p {
  color: #c6cfdf;
  font-size: 0.85rem;
  margin-top: 4px;
}

.pg-queue {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pg-queue-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--pg-line);
  background: var(--pg-surface);
  align-items: center;
  transition: border-color 0.2s;
}
.pg-queue-item:hover {
  border-color: var(--pg-accent);
}
.pg-queue-item img {
  width: 96px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
}
.pg-queue-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}
.pg-queue-item span {
  font-size: 0.75rem;
  color: var(--pg-muted);
  font-family: var(--pg-mono);
}
.pg-queue-item.seen {
  opacity: 0.55;
}

/* ============ POLL / VOTE ============ */

.pg-poll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--pg-radius-lg);
  overflow: hidden;
}
.pg-poll-side {
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pg-poll-side h3 {
  font-family: var(--pg-display);
  font-size: 1.5rem;
  font-weight: 700;
}
.pg-poll-side .pg-poll-pct {
  font-family: var(--pg-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 700;
}
.pg-poll-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  overflow: hidden;
  margin: 14px 0 20px;
}
.pg-poll-bar i {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 4px;
}

/* ============ DEALS ============ */

.pg-deal-pct {
  font-family: var(--pg-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--pg-accent-2);
}
.pg-price-old {
  text-decoration: line-through;
  color: var(--pg-muted);
  font-size: 0.85rem;
}
.pg-price-new {
  font-family: var(--pg-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.pg-sub-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pg-sub-col {
  border-radius: var(--pg-radius);
  border: 1px solid var(--pg-line);
  padding: 22px;
  background: var(--pg-surface);
}
.pg-sub-col h4 {
  font-family: var(--pg-display);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pg-sub-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pg-sub-col li {
  display: flex;
  gap: 9px;
  padding: 6px 0;
  font-size: 0.88rem;
}
.pg-sub-col li i {
  color: var(--pg-accent);
  margin-top: 4px;
  font-size: 0.75rem;
}

/* ============ LEADERBOARD ============ */

.pg-lb-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--pg-line);
  border-radius: 16px;
  background: var(--pg-surface);
  margin-bottom: 10px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.pg-lb-row:hover {
  transform: translateX(6px);
  box-shadow: var(--pg-shadow);
}
.pg-lb-pos {
  font-family: var(--pg-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--pg-accent);
}
.pg-lb-row h4 {
  font-weight: 700;
  font-size: 1rem;
}
.pg-lb-row p {
  font-size: 0.8rem;
  color: var(--pg-muted);
}
.pg-lb-trend {
  font-family: var(--pg-mono);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pg-lb-trend i.fa-arrow-up {
  color: var(--pg-accent);
}
.pg-lb-trend i.fa-arrow-down {
  color: var(--pg-accent-2);
}

/* ============ MASONRY ============ */

.pg-masonry {
  columns: 3;
  column-gap: 16px;
}
.pg-masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--pg-radius);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.pg-masonry-item img {
  width: 100%;
}
.pg-masonry-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(5, 7, 13, 0.9));
  color: #fff;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.pg-masonry-item:hover .pg-masonry-cap {
  opacity: 1;
  transform: none;
}
.pg-masonry-cap b {
  display: block;
  font-family: var(--pg-display);
}

/* ============ QUIZ ============ */

.pg-quiz {
  border-radius: var(--pg-radius-lg);
  overflow: hidden;
  background: var(--pg-dark);
  color: #eef3fb;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.pg-quiz-visual {
  min-height: 380px;
  position: relative;
}
.pg-quiz-body {
  padding: clamp(26px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pg-quiz-q {
  font-family: var(--pg-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 12px 0 22px;
}
.pg-quiz-opts {
  display: grid;
  gap: 10px;
}
.pg-quiz-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #eef3fb;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}
.pg-quiz-opt:hover {
  border-color: #7cc4f5;
}
.pg-quiz-opt .pg-quiz-key {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pg-mono);
  font-size: 0.8rem;
}
.pg-quiz-opt.correct {
  border-color: #38a4f0;
  background: rgba(56, 164, 240, 0.15);
}
.pg-quiz-opt.wrong {
  border-color: var(--pg-accent-2);
  background: rgba(225, 29, 72, 0.12);
}
.pg-quiz-opt:disabled {
  cursor: default;
  opacity: 0.85;
}
.pg-quiz-foot {
  margin-top: 18px;
  font-size: 0.82rem;
  color: #8d99b4;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============ NEWSLETTER / CTA ============ */

.pg-cta {
  border-radius: var(--pg-radius-lg);
  padding: clamp(32px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--pg-dark);
}
.pg-cta h2 {
  font-family: var(--pg-display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.pg-cta p {
  color: #b7c2d6;
  line-height: 1.7;
  max-width: 560px;
}

.pg-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pg-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--pg-ink-2);
}
.pg-section--dark .pg-field label,
.pg-cta .pg-field label {
  color: #c6cfdf;
}
.pg-input,
.pg-select,
.pg-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--pg-line);
  background: var(--pg-surface);
  font-family: var(--pg-font);
  font-size: 0.95rem;
  color: var(--pg-ink);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.pg-input:focus,
.pg-select:focus,
.pg-textarea:focus {
  outline: none;
  border-color: var(--pg-accent);
  box-shadow: 0 0 0 3px rgba(14, 111, 189, 0.15);
}
.pg-input.pg-err,
.pg-select.pg-err,
.pg-textarea.pg-err {
  border-color: var(--pg-accent-2);
}
.pg-field-err {
  font-size: 0.78rem;
  color: var(--pg-accent-2);
  margin-top: 5px;
  display: none;
}
.pg-field-err.show {
  display: block;
}
.iti {
  width: 100%;
}
.iti__dropdown-content,
.iti__country-name,
.iti__dial-code {
  color: var(--pg-ink);
}
.pg-textarea {
  min-height: 130px;
  resize: vertical;
}
.pg-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--pg-ink-2);
  line-height: 1.55;
}
.pg-check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--pg-accent);
}
.pg-check a {
  color: var(--pg-accent);
  text-decoration: underline;
}
.pg-cta .pg-check {
  color: #b7c2d6;
}
.pg-cta .pg-check a {
  color: #7cc4f5;
}
.pg-cta .pg-input,
.pg-cta .pg-select,
.pg-cta .pg-textarea {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.pg-cta .pg-input::placeholder,
.pg-cta .pg-textarea::placeholder {
  color: #77879f;
}
.pg-cta .pg-select option {
  color: var(--pg-ink);
}

.pg-form-note {
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.pg-form-note.show {
  display: block;
}
.pg-form-note.ok {
  background: var(--pg-accent-soft);
  color: var(--pg-accent);
  border: 1px solid #cfe4f6;
}
.pg-form-note.err {
  background: #fdeef2;
  color: var(--pg-accent-2);
  border: 1px solid #f6d3dd;
}
.pg-cta .pg-form-note.ok {
  background: rgba(56, 164, 240, 0.15);
  color: #a9d8f7;
  border-color: rgba(124, 196, 245, 0.4);
}

.pg-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pg-spin 0.7s linear infinite;
  display: none;
}
.pg-btn.loading .pg-spinner {
  display: inline-block;
}
.pg-btn.loading {
  opacity: 0.8;
  pointer-events: none;
}

@keyframes pg-spin {
  to {
    transform: rotate(360deg);
  }
}

.pg-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ============ ACCORDION / FAQ ============ */

.pg-acc {
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius);
  overflow: hidden;
  background: var(--pg-surface);
}
.pg-acc-item + .pg-acc-item {
  border-top: 1px solid var(--pg-line);
}
.pg-acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--pg-font);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--pg-ink);
  text-align: left;
}
.pg-acc-btn i {
  color: var(--pg-accent);
  transition: transform 0.25s;
  font-size: 0.8rem;
}
.pg-acc-item.open .pg-acc-btn i {
  transform: rotate(180deg);
}
.pg-acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.pg-acc-panel > div {
  padding: 0 24px 22px;
  color: var(--pg-muted);
  line-height: 1.7;
  font-size: 0.92rem;
}
.pg-section--dark .pg-acc {
  background: var(--pg-dark-2);
  border-color: rgba(255, 255, 255, 0.1);
}
.pg-section--dark .pg-acc-item + .pg-acc-item {
  border-color: rgba(255, 255, 255, 0.08);
}
.pg-section--dark .pg-acc-btn {
  color: #eef3fb;
}
.pg-section--dark .pg-acc-panel > div {
  color: #8d99b4;
}

/* ============ EDITORIAL VOICES ============ */

.pg-voices {
  display: flex;
  gap: 12px;
  min-height: 460px;
}
.pg-voice {
  flex: 1;
  border-radius: var(--pg-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  background: var(--pg-dark-2);
  min-width: 0;
}
.pg-voice.open {
  flex: 3.2;
}
.pg-voice .pg-voice-inner {
  position: absolute;
  inset: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s 0.15s;
}
.pg-voice.open .pg-voice-inner {
  opacity: 1;
}
.pg-voice .pg-voice-vert {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--pg-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #c6cfdf;
  white-space: nowrap;
}
.pg-voice.open .pg-voice-vert {
  opacity: 0;
}
.pg-voice-inner img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.pg-voice-inner h3 {
  font-family: var(--pg-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.pg-voice-inner p {
  font-size: 0.85rem;
  color: #b7c2d6;
  margin: 8px 0 14px;
  line-height: 1.6;
}

/* ============ STATS ============ */

.pg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pg-stat {
  background: var(--pg-surface);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius);
  padding: 26px;
  text-align: left;
}
.pg-stat .pg-num {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  color: var(--pg-accent);
  display: block;
}
.pg-stat span {
  font-size: 0.85rem;
  color: var(--pg-muted);
  margin-top: 6px;
  display: block;
}
.pg-section--dark .pg-stat {
  background: var(--pg-dark-2);
  border-color: rgba(255, 255, 255, 0.08);
}
.pg-section--dark .pg-stat .pg-num {
  color: #7cc4f5;
}
.pg-section--dark .pg-stat span {
  color: #8d99b4;
}

/* ============ STEPS ============ */

.pg-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.pg-step {
  background: var(--pg-surface);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius);
  padding: 26px;
  position: relative;
}
.pg-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--pg-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pg-accent);
  display: block;
  margin-bottom: 12px;
}
.pg-step h4 {
  font-family: var(--pg-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.pg-step p {
  font-size: 0.88rem;
  color: var(--pg-muted);
  line-height: 1.6;
}
.pg-section--dark .pg-step {
  background: var(--pg-dark-2);
  border-color: rgba(255, 255, 255, 0.08);
}
.pg-section--dark .pg-step h4 {
  color: #fff;
}
.pg-section--dark .pg-step p {
  color: #8d99b4;
}

/* ============ TIMELINE VERTICAL ============ */

.pg-timeline {
  position: relative;
  padding-left: 30px;
}
.pg-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--pg-accent), transparent);
}
.pg-tl-item {
  position: relative;
  padding-bottom: 26px;
}
.pg-tl-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pg-accent);
  border: 3px solid var(--pg-bg);
  box-shadow: 0 0 0 2px var(--pg-accent);
}
.pg-tl-item b {
  font-family: var(--pg-mono);
  color: var(--pg-accent);
  font-size: 0.8rem;
}
.pg-tl-item h4 {
  font-family: var(--pg-display);
  font-weight: 700;
  margin: 4px 0 6px;
}
.pg-tl-item p {
  font-size: 0.9rem;
  color: var(--pg-muted);
  line-height: 1.6;
}
.pg-section--dark .pg-tl-item::before {
  border-color: var(--pg-dark);
}
.pg-section--dark .pg-tl-item h4 {
  color: #fff;
}
.pg-section--dark .pg-tl-item p {
  color: #8d99b4;
}

/* ============ PRICING ============ */

.pg-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pg-price-card {
  background: var(--pg-surface);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.pg-price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pg-shadow-lg);
}
.pg-price-card.hot {
  border-color: var(--pg-accent);
  box-shadow: 0 18px 50px rgba(14, 111, 189, 0.18);
}
.pg-price-card .pg-badge {
  position: absolute;
  top: -12px;
  left: 32px;
}
.pg-price-card h3 {
  font-family: var(--pg-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.pg-price-card .pg-price {
  font-family: var(--pg-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--pg-ink);
  margin: 12px 0 4px;
}
.pg-price-card .pg-price small {
  font-size: 0.85rem;
  color: var(--pg-muted);
  font-weight: 500;
}
.pg-price-card > p {
  font-size: 0.88rem;
  color: var(--pg-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.pg-price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.pg-price-card li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.9rem;
}
.pg-price-card li i {
  color: var(--pg-accent);
  margin-top: 4px;
  font-size: 0.8rem;
}

/* ============ SERVICE CARDS ============ */

.pg-svc {
  background: var(--pg-surface);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.pg-svc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pg-accent), #38a4f0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.pg-svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--pg-shadow-lg);
  border-color: #cfe4f6;
}
.pg-svc:hover::before {
  transform: scaleX(1);
}
.pg-svc i.pg-svc-ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--pg-accent-soft);
  color: var(--pg-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.pg-svc h3 {
  font-family: var(--pg-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.pg-svc p {
  font-size: 0.88rem;
  color: var(--pg-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.pg-svc .pg-svc-price {
  font-family: var(--pg-display);
  font-weight: 700;
  color: var(--pg-ink);
  margin-bottom: 14px;
}

/* ============ NEWS CARDS ============ */

.pg-news-card {
  background: var(--pg-surface);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.pg-news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pg-shadow-lg);
}
.pg-news-img {
  aspect-ratio: 16/9;
  position: relative;
}
.pg-news-img .pg-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}
.pg-news-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pg-news-body h3 {
  font-family: var(--pg-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 10px 0 8px;
}
.pg-news-card:hover .pg-news-body h3 {
  color: var(--pg-accent);
}
.pg-news-body p {
  font-size: 0.86rem;
  color: var(--pg-muted);
  line-height: 1.6;
  flex: 1;
}
.pg-news-meta {
  display: flex;
  gap: 14px;
  font-size: 0.75rem;
  color: var(--pg-muted);
  font-family: var(--pg-mono);
  margin-top: 14px;
}
.pg-news-meta i {
  margin-right: 5px;
}

/* ============ FEATURE / GENERIC BLOCKS ============ */

.pg-feat {
  background: var(--pg-surface);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius);
  padding: 26px;
}
.pg-feat i.pg-feat-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--pg-accent-soft);
  color: var(--pg-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pg-feat h3 {
  font-family: var(--pg-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.pg-feat p {
  font-size: 0.88rem;
  color: var(--pg-muted);
  line-height: 1.6;
}
.pg-section--dark .pg-feat {
  background: var(--pg-dark-2);
  border-color: rgba(255, 255, 255, 0.08);
}
.pg-section--dark .pg-feat h3 {
  color: #fff;
}
.pg-section--dark .pg-feat p {
  color: #8d99b4;
}

/* ============ QUOTES ============ */

.pg-quote {
  background: var(--pg-surface);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius);
  padding: 28px;
  position: relative;
  color: var(--pg-ink);
}
.pg-quote i.pg-quote-ic {
  color: var(--pg-accent);
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.pg-quote p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--pg-ink-2);
  font-style: italic;
  margin-bottom: 16px;
}
.pg-quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pg-quote footer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.pg-quote footer b {
  font-size: 0.88rem;
  display: block;
}
.pg-quote footer span {
  font-size: 0.78rem;
  color: var(--pg-muted);
}

/* ============ MAP / CONTACT ============ */

.pg-map {
  border-radius: var(--pg-radius-lg);
  overflow: hidden;
  border: 1px solid var(--pg-line);
  box-shadow: var(--pg-shadow);
}
.pg-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.pg-contact-tile {
  background: var(--pg-surface);
  border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pg-contact-tile i {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--pg-accent-soft);
  color: var(--pg-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pg-contact-tile b {
  display: block;
  margin-bottom: 4px;
}
.pg-contact-tile p,
.pg-contact-tile a {
  font-size: 0.88rem;
  color: var(--pg-muted);
  line-height: 1.55;
}
.pg-contact-tile a:hover {
  color: var(--pg-accent);
}

/* ============ COOKIE BANNER ============ */

.pg-cookie {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100vw - 32px));
  z-index: 999999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--pg-line);
  border-radius: 22px;
  box-shadow: var(--pg-shadow-lg);
  padding: 20px 24px;
  display: none;
  align-items: center;
  gap: 18px;
  font-family: var(--pg-font);
}
.pg-cookie.show {
  display: flex;
}
.pg-cookie p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--pg-ink-2);
  flex: 1;
}
.pg-cookie-btns {
  display: flex;
  gap: 8px;
  flex: none;
}
.pg-cookie-btns button {
  border: none;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--pg-font);
  font-size: 0.82rem;
  font-weight: 700;
  transition: opacity 0.2s;
}
.pg-cookie-btns .ck-no {
  background: #eef2f8;
  color: var(--pg-ink-2);
}
.pg-cookie-btns .ck-yes {
  background: var(--pg-ink);
  color: #fff;
}
.pg-cookie-btns button:hover {
  opacity: 0.85;
}

/* ============ LIGHTBOX ============ */

.pg-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 13, 0.92);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.pg-lightbox.open {
  display: flex;
}
.pg-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: var(--pg-shadow-lg);
}
.pg-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ============ ARTICLE ============ */

.pg-article {
  max-width: 780px;
  margin: 0 auto;
}
.pg-article p {
  line-height: 1.85;
  margin-bottom: 1.3em;
  color: var(--pg-ink-2);
  font-size: 1.02rem;
}
.pg-article h2 {
  font-family: var(--pg-display);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 2em 0 0.8em;
  color: var(--pg-ink);
}
.pg-article h3 {
  font-family: var(--pg-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 1.8em 0 0.7em;
  color: var(--pg-ink);
}
.pg-article blockquote {
  border-left: 3px solid var(--pg-accent);
  padding: 8px 0 8px 22px;
  margin: 1.8em 0;
  font-family: var(--pg-display);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--pg-ink);
}
.pg-article ul {
  margin: 0 0 1.3em;
  padding-left: 22px;
}
.pg-article li {
  line-height: 1.8;
  color: var(--pg-ink-2);
  margin-bottom: 6px;
}
.pg-article img {
  border-radius: var(--pg-radius);
  margin: 2em 0;
}
.pg-article a {
  color: var(--pg-accent);
  text-decoration: underline;
}

/* ============ SCANLINE / RETRO ============ */

.pg-crt {
  position: relative;
}
.pg-crt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.03) 0 1px,
    transparent 1px 3px
  );
  pointer-events: none;
}

/* ============ BLUEPRINT GRID ============ */

.pg-blueprint {
  background-image:
    linear-gradient(rgba(14, 111, 189, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 111, 189, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ============ TERMINAL ============ */

.pg-terminal {
  font-family: var(--pg-mono);
  background: var(--pg-dark);
  color: #9fd1f7;
  border-radius: var(--pg-radius);
  padding: 26px;
  font-size: 0.85rem;
  line-height: 1.9;
}
.pg-terminal .up {
  color: #38a4f0;
}
.pg-terminal .down {
  color: #f0607f;
}

/* ============ VINYL ============ */

.pg-vinyl-disc {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #1c2740 30%, transparent 31%),
    repeating-radial-gradient(circle, #0b1120 0 3px, #141d33 3px 5px);
  box-shadow: var(--pg-shadow-lg);
  position: relative;
  animation: pg-vinyl 14s linear infinite;
}
.pg-vinyl-disc::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--pg-accent);
  border: 4px solid #0b1120;
}
@keyframes pg-vinyl {
  to {
    transform: rotate(360deg);
  }
}

/* ============ SOUNDWAVE ============ */

.pg-wave {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 56px;
}
.pg-wave i {
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, #38a4f0, var(--pg-accent));
  animation: pg-wave 1.1s ease-in-out infinite;
}
.pg-wave i:nth-child(2n) {
  animation-delay: 0.15s;
}
.pg-wave i:nth-child(3n) {
  animation-delay: 0.3s;
}
.pg-wave i:nth-child(4n) {
  animation-delay: 0.45s;
}
.pg-wave i:nth-child(5n) {
  animation-delay: 0.6s;
}
@keyframes pg-wave {
  0%,
  100% {
    height: 20%;
  }
  50% {
    height: 100%;
  }
}

/* ============ BRUTALIST / HARD SHADOW ============ */

.pg-brutal {
  border: 2px solid var(--pg-ink);
  box-shadow: 7px 7px 0 var(--pg-ink);
  border-radius: 0;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  background: var(--pg-surface);
}
.pg-brutal:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--pg-accent);
}

/* ============ CLASSIFIED / RUMORS ============ */

.pg-classified {
  font-family: var(--pg-mono);
  border: 1px dashed #8d99b4;
  background: repeating-linear-gradient(
    45deg,
    #f2f5fa 0 14px,
    #eaeef6 14px 28px
  );
}
.pg-stamp {
  display: inline-block;
  font-family: var(--pg-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--pg-accent-2);
  border: 2px solid var(--pg-accent-2);
  border-radius: 6px;
  padding: 5px 14px;
  transform: rotate(-4deg);
  text-transform: uppercase;
}
.pg-redact {
  background: var(--pg-ink);
  color: var(--pg-ink);
  border-radius: 4px;
  padding: 0 8px;
  user-select: none;
}

/* ============ HUD / TECH DECOR ============ */

.pg-corner {
  position: relative;
}
.pg-corner::before,
.pg-corner::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--pg-accent);
}
.pg-corner::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}
.pg-corner::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

/* ============ DARK CARD ============ */

.pg-dcard {
  background: var(--pg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--pg-radius);
  padding: 26px;
  color: #dbe4f2;
}
.pg-dcard h3,
.pg-dcard h4 {
  color: #fff;
  font-family: var(--pg-display);
  font-weight: 700;
}
.pg-dcard p {
  color: #8d99b4;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============ BREADCRUMB ============ */

.pg-crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--pg-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pg-crumbs a {
  color: var(--pg-accent);
  font-weight: 600;
}
.pg-crumbs a:hover {
  text-decoration: underline;
}
.pg-crumbs i {
  font-size: 0.6rem;
}

/* ============ INNER HERO (podstrony) ============ */

.pg-pagehero {
  background: var(--pg-dark);
  color: #f2f6fc;
  padding: clamp(56px, 9vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.pg-pagehero .pg-h1 {
  color: #fff;
}
.pg-pagehero .pg-lead {
  color: #b7c2d6;
  max-width: 720px;
}
.pg-pagehero .pg-crumbs {
  color: #8d99b4;
}
.pg-pagehero .pg-crumbs a {
  color: #7cc4f5;
}
.pg-pagehero-bg {
  position: absolute;
  inset: 0;
}

/* ============ LOGO/AVATAR STACK ============ */

.pg-avatars {
  display: flex;
}
.pg-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--pg-surface);
  object-fit: cover;
  margin-left: -10px;
}
.pg-avatars img:first-child {
  margin-left: 0;
}
.pg-section--dark .pg-avatars img {
  border-color: var(--pg-dark);
}

/* ============ TAG LIST ============ */

.pg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============ MISC ============ */

.pg-hr {
  border: none;
  border-top: 1px solid var(--pg-line);
  margin: 40px 0;
}
.pg-section--dark .pg-hr {
  border-color: rgba(255, 255, 255, 0.1);
}

.pg-center {
  text-align: center;
}
.pg-italic {
  font-style: italic;
}
.pg-dropcap::first-letter {
  font-family: var(--pg-display);
  font-size: 3.4em;
  float: left;
  line-height: 0.8;
  padding: 6px 10px 0 0;
  font-weight: 700;
  color: var(--pg-accent);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1180px) {
  .pg-nav {
    display: none;
  }
  .pg-burger {
    display: inline-flex;
  }
  .pg-footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .pg-footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 1024px) {
  .pg-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pg-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pg-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .pg-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .pg-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .pg-bento-xl {
    grid-column: span 2;
  }
  .pg-hero-slide .pg-media-inner {
    grid-template-columns: 1fr;
  }
  .pg-hero-frame {
    min-height: 400px;
  }
  .pg-voices {
    flex-direction: column;
    min-height: 0;
  }
  .pg-voice {
    min-height: 74px;
  }
  .pg-voice.open {
    min-height: 320px;
  }
  .pg-voice .pg-voice-vert {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .pg-quiz {
    grid-template-columns: 1fr;
  }
  .pg-quiz-visual {
    min-height: 260px;
  }
  .pg-split,
  .pg-split--rev {
    grid-template-columns: 1fr;
  }
  .pg-pricing {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pg-masonry {
    columns: 2;
  }
}

@media (max-width: 700px) {
  .pg-header-meta span,
  .pg-header-meta a {
    font-size: 0.72rem;
  }
  .pg-header-meta {
    gap: 12px;
  }
  .pg-header-live {
    display: none;
  }
  .pg-grid-2,
  .pg-grid-3,
  .pg-grid-4 {
    grid-template-columns: 1fr;
  }
  .pg-bento {
    grid-template-columns: 1fr;
  }
  .pg-bento-xl,
  .pg-bento-h {
    grid-column: span 1;
  }
  .pg-form-row {
    grid-template-columns: 1fr;
  }
  .pg-poll {
    grid-template-columns: 1fr;
  }
  .pg-sub-compare {
    grid-template-columns: 1fr;
  }
  .pg-plusminus {
    grid-template-columns: 1fr;
  }
  .pg-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pg-footer-brand {
    grid-column: span 1;
  }
  .pg-cookie {
    flex-direction: column;
    align-items: stretch;
  }
  .pg-cookie-btns {
    justify-content: flex-end;
  }
  .pg-lb-row {
    grid-template-columns: 40px 1fr auto;
    padding: 14px;
  }
  .pg-count-cell {
    min-width: 66px;
    padding: 12px 10px;
  }
  .pg-count-cell b {
    font-size: 1.4rem;
  }
  .pg-masonry {
    columns: 2;
  }
  .pg-stats,
  .pg-steps {
    grid-template-columns: 1fr 1fr;
  }
  .pg-rail-card {
    flex-basis: 82vw;
  }
  .pg-hero-frame {
    min-height: 400px;
  }
}
@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
}
