/* ============================================================
   Pigz — Main Stylesheet
   پالت رنگی: آبی تیره + طلایی (بدون سبز)
   کاملاً ریسپانسیو + کرسر سفارشی
   ============================================================ */

/* ============ FONTS ============ */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Press Start 2P';
  src: url('../fonts/PressStart2P-Regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'VT323';
  src: url('../fonts/VT323-Regular.woff2') format('woff2');
  font-display: swap;
}

/* ============ RESET & TOKENS ============ */
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --bg-0: #050810;
  --bg-1: #0a0f1c;
  --bg-2: #101828;
  --bg-3: #1a2438;
  --border: #1f2a42;
  --border-bright: #2f3f5f;

  --text: #e8eef9;
  --text-muted: #7d8bab;

  --primary: #3b82f6;
  --primary-dark: #1e40af;
  --primary-light: #60a5fa;

  --accent: #f59e0b;
  --accent-dark: #b45309;
  --accent-light: #fbbf24;

  --cyan: #22d3ee;
  --purple: #a78bfa;
  --pink: #f472b6;
  --gold: #f5b942;
  --danger: #ef4444;

  --grad-primary: linear-gradient(180deg, #3b82f6, #1e40af);
  --grad-accent: linear-gradient(180deg, #fbbf24, #b45309);
  --grad-card: linear-gradient(180deg, #101828, #0a0f1c);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;

  --shadow-1: 0 4px 16px rgba(0,0,0,.35);
  --shadow-2: 0 10px 32px rgba(0,0,0,.5);
  --shadow-glow-blue: 0 0 24px rgba(59,130,246,.35);
  --shadow-glow-gold: 0 0 24px rgba(245,158,11,.35);

  --font: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  --font-pixel: 'Press Start 2P', monospace;
  --font-term: 'VT323', monospace;

  --header-h: 68px;
}

html, body {
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(59,130,246,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 100%, rgba(245,158,11,.08), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-light); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,8,16,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--text);
  flex-shrink: 0;
}
.brand img { filter: drop-shadow(0 0 8px rgba(59,130,246,.6)); }
.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  margin-inline-start: 16px;
}
.main-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--bg-3); color: var(--text); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  flex-shrink: 0;
}
.icon-btn:hover {
  background: var(--bg-3);
  color: var(--text);
  border-color: var(--border);
}
.mobile-menu-btn { display: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .12s, box-shadow .2s, background .2s;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 0 #0b1e4a, var(--shadow-1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 6px 0 #0b1e4a, var(--shadow-glow-blue);
}
.btn-accent {
  background: var(--grad-accent);
  color: #1a0f00;
  box-shadow: 0 4px 0 #6b3a00, var(--shadow-1);
}
.btn-accent:hover {
  transform: translateY(-2px);
  color: #1a0f00;
  box-shadow: 0 6px 0 #6b3a00, var(--shadow-glow-gold);
}
.btn-secondary {
  background: var(--bg-3);
  color: var(--text);
  border-color: var(--border-bright);
}
.btn-secondary:hover {
  background: var(--bg-2);
  border-color: var(--primary);
  color: var(--text);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-3);
  color: var(--text);
}
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/minecraft-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: .1;
  image-rendering: pixelated;
  filter: brightness(.6) saturate(.7);
}

/* خط جداکننده پایین Hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary) 20%,
    var(--accent) 50%,
    var(--primary) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 20px rgba(59,130,246,.6),
    0 0 40px rgba(245,158,11,.3);
  z-index: 2;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59,130,246,.5),
    rgba(245,158,11,.5),
    rgba(59,130,246,.5),
    transparent
  );
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

/* ============================================================
   ORBIT
   ============================================================ */
.orbit-wrap {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: block;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.orbit-1 {
  width: 84%;
  height: 84%;
  border: 1px dashed rgba(59,130,246,.22);
}
.orbit-2 {
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(245,158,11,.18);
}

/* ============================================================
   مرکز — فقط اسکین
   ============================================================ */
.pigz-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pigz-skin-link {
  display: inline-block;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  text-decoration: none;
  transition: transform .3s ease, filter .3s ease;
  line-height: 0;
  font-size: 0;
  border-radius: 12px;
  width: auto;
  height: auto;
}
.pigz-skin-link:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.pigz-skin-link:active {
  transform: scale(0.98);
}

.pigz-skin-link img {
  width: auto;
  height: 200px;
  aspect-ratio: 1 / 2;
  object-fit: contain;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 0 40px rgba(59,130,246,.55))
    drop-shadow(0 10px 20px rgba(0,0,0,.6));
  animation: pigzFloat 5s ease-in-out infinite;
  display: block;
  pointer-events: auto;
}

/* Badge دانلود روی اسکین */
.pigz-skin-link::after {
  content: 'دانلود اسکین';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: var(--bg-2);
  color: var(--text);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,.5), 0 0 16px rgba(245,158,11,.4);
}
.pigz-skin-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(calc(100% + 4px));
}

/* آیتم همکار روی مدار */
.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border: 2px solid var(--border-bright);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
  pointer-events: auto;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
  will-change: transform;
  animation-duration: var(--orbit-duration, 40s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-name: orbitRotate;
  animation-direction: var(--orbit-direction, normal);
  animation-delay: var(--orbit-delay, 0s);
  transform-origin: center center;
}
.orbit-item:hover {
  border-color: var(--accent);
  background: var(--bg-3);
  box-shadow: 0 0 24px rgba(245,158,11,.6), 0 4px 16px rgba(0,0,0,.5);
  z-index: 20;
}
.orbit-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  pointer-events: none;
}

.orbit-wrap.paused .orbit-item {
  animation-play-state: paused !important;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes orbitRotate {
  from {
    transform: rotate(0deg) translate(var(--orbit-radius, 220px)) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translate(var(--orbit-radius, 220px)) rotate(-360deg);
  }
}
@keyframes pigzFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-14px) scale(1.01); }
}
@keyframes pigzLoad {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-10px) scale(1.06); }
}
@keyframes loadbar {
  0%   { margin-inline-start: -30%; }
  100% { margin-inline-start: 100%; }
}

/* ============================================================
   HERO CONTENT
   ============================================================ */
.hero-content { text-align: right; }
.hero-heading {
  font-size: clamp(24px, 4vw, 44px);
  margin: 0 0 12px;
  line-height: 1.3;
}
.hero-heading span {
  color: var(--primary-light);
  font-family: var(--font-pixel);
  font-size: .8em;
  text-shadow: 2px 2px 0 #000, 0 0 20px rgba(59,130,246,.7);
}
.hero-sub {
  font-size: clamp(14px, 1.8vw, 19px);
  color: var(--accent-light);
  margin: 0 0 12px;
  font-weight: 500;
}
.hero-desc {
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 560px;
  font-size: clamp(13px, 1.6vw, 15px);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   SECTIONS & CARDS
   ============================================================ */
.section { padding: 60px 0; }
.section-alt {
  background: rgba(10,15,28,.6);
  border-block: 1px solid var(--border);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 12px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(18px, 2.4vw, 28px);
  margin: 0;
}
.link-more {
  color: var(--primary-light);
  font-weight: 500;
  font-size: 14px;
}
.link-more:hover { color: var(--cyan); }

.grid { display: grid; gap: 20px; }
.cards-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.jobs-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: block;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-2);
}
.card-img {
  aspect-ratio: 16 / 10;
  background: var(--bg-3);
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 16px; }
.card-body h3 {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.4;
}
.card-body p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 12px;
  line-height: 1.6;
}
.card-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11px;
  border-radius: 6px;
  font-weight: 600;
  background: var(--bg-3);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.badge-mod {
  color: #93c5fd;
  border-color: #1e40af;
  background: rgba(59,130,246,.12);
}
.badge-modpack {
  color: #fbbf24;
  border-color: #78350f;
  background: rgba(245,158,11,.12);
}
.badge-map {
  color: #22d3ee;
  border-color: #0e7490;
  background: rgba(34,211,238,.12);
}
.badge-resourcepack {
  color: #c084fc;
  border-color: #6b21a8;
  background: rgba(192,132,252,.12);
}
.badge-shader {
  color: #f472b6;
  border-color: #9f1239;
  background: rgba(244,114,182,.12);
}
.badge-other { color: var(--text-muted); }
.badge-danger {
  color: #fca5a5;
  border-color: #7f1d1d;
  background: rgba(239,68,68,.1);
}

/* ============================================================
   JOB CARD
   ============================================================ */
.job-card { padding: 20px; }
.job-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-bright);
  margin-bottom: 12px;
}
.job-card h3 { margin: 0 0 8px; font-size: 16px; }
.muted { color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-grid h4 {
  font-size: 14px;
  margin: 0 0 12px;
  color: var(--text);
}
.footer-grid a {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  padding: 4px 0;
}
.footer-grid a:hover { color: var(--primary-light); }
.footer-grid p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 12px 0 0;
}
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.socials a:hover {
  border-color: var(--primary);
  background: var(--bg-2);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s, visibility .4s;
}
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loading-pig {
  width: 80px;
  height: 80px;
  object-fit: contain;
  image-rendering: pixelated;
  animation: pigzLoad 1.4s ease-in-out infinite;
  filter:
    drop-shadow(0 0 20px rgba(59,130,246,.55))
    drop-shadow(0 6px 12px rgba(0,0,0,.6));
}

.loading-bar {
  width: 200px;
  height: 12px;
  background: var(--bg-3);
  border: 2px solid var(--border-bright);
  border-radius: 4px;
  overflow: hidden;
}
.loading-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 30%;
  animation: loadbar 1.6s ease-in-out infinite;
}

.loading-inner p {
  font-family: var(--font-term);
  color: var(--primary-light);
  font-size: 20px;
  margin: 0;
  letter-spacing: 1px;
}

/* ============================================================
   TOOLTIP
   ============================================================ */
.tooltip {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  background: var(--bg-3);
  color: var(--text);
  border: 2px solid var(--accent);
  padding: 6px 10px;
  font-size: 12px;
  font-family: var(--font-term);
  box-shadow: 0 4px 16px rgba(0,0,0,.6);
  border-radius: 4px;
  transform: translate(-50%, -120%);
}

/* ============================================================
   CUSTOM CURSOR — کرسر موس سفارشی
   فقط روی دسکتاپ با موس واقعی
   ============================================================ */
@media (hover: hover) and (pointer: fine) {

  /* کرسر عادی در همه جای سایت */
  html,
  body {
    cursor: url('/assets/cursors/cursor-default.png') 4 4, auto;
  }

  /* کرسر اشاره‌گر روی همه عناصر تعاملی */
  a,
  button,
  .btn,
  .icon-btn,
  .pigz-skin-link,
  .orbit-item,
  .card,
  .file-card,
  .job-card,
  .main-nav a,
  .brand,
  .socials a,
  .link-more,
  .auth-switch a,
  [role="button"],
  summary,
  label {
    cursor: url('/assets/cursors/cursor-pointer.png') 4 4, pointer;
  }

  /* کرسر I-beam روی فیلدهای متنی */
  input[type="text"],
  input[type="tel"],
  input[type="url"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  input[type="search"],
  textarea,
  [contenteditable="true"] {
    cursor: url('/assets/cursors/cursor-default.png') 4 4, text;
  }

  /* کرسر not-allowed روی عناصر غیرفعال */
  [disabled],
  .disabled,
  button:disabled,
  input:disabled {
    cursor: not-allowed;
  }

  /* پاراگراف و متن‌ها */
  p,
  span,
  h1, h2, h3, h4, h5, h6,
  li, td, th,
  .hero-desc,
  .card-body p,
  .muted {
    cursor: url('/assets/cursors/cursor-default.png') 4 4, auto;
  }
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .container { max-width: 100%; padding: 0 18px; }
  .hero-inner { gap: 32px; }
  .orbit-wrap { max-width: 520px; }
  .pigz-skin-link img { height: 190px; }
  .hero-heading { font-size: clamp(24px, 3.6vw, 36px); }
  .footer-grid { gap: 24px; }
}

/* ============================================================
   RESPONSIVE — Small Tablet / Large Phone (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .hero { padding: 60px 0 70px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .orbit-wrap {
    max-width: 480px;
    order: 1;
  }
  .hero-content {
    order: 2;
    text-align: center;
  }
  .hero-cta { justify-content: center; }
  .hero-desc { margin-inline: auto; }
  .pigz-skin-link img { height: 180px; }
  .hero-heading { font-size: clamp(22px, 5vw, 32px); }
  .hero-sub { font-size: clamp(14px, 3vw, 17px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --header-h: 60px; }

  .container { padding: 0 14px; }
  .hero { padding: 40px 0 60px; }
  .orbit-wrap { max-width: 380px; }
  .pigz-skin-link img { height: 160px; }
  .hero-heading { font-size: 22px; }
  .hero-sub { font-size: 14px; }
  .hero-desc { font-size: 13px; margin-bottom: 20px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn {
    flex: 1 1 calc(50% - 4px);
    padding: 10px 12px;
    font-size: 13px;
  }
  .hero-cta .btn-lg { padding: 11px 14px; font-size: 13px; }

  .section { padding: 40px 0; }
  .section-head { margin-bottom: 20px; }
  .section-head h2 { font-size: 20px; }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
  }
  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card-body { padding: 14px; }
  .card-body h3 { font-size: 15px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid h4 { margin-top: 8px; }

  .orbit-item {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 14px;
  }
  .orbit-item img { width: 34px; height: 34px; }

  .pigz-skin-link::after {
    font-size: 10px;
    padding: 4px 10px;
  }
}

/* ============================================================
   RESPONSIVE — Small Phone (≤ 400px)
   ============================================================ */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .orbit-wrap { max-width: 320px; }
  .pigz-skin-link img { height: 140px; }
  .orbit-item {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border-radius: 12px;
  }
  .orbit-item img { width: 28px; height: 28px; }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .hero-heading { font-size: 20px; }
}

/* ============================================================
   MOBILE MENU (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .mobile-menu-btn { display: inline-flex; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-1);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .3s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    gap: 4px;
    margin: 0;
    z-index: 99;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a {
    padding: 14px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }
  .main-nav a:hover { background: var(--bg-3); }

  .header-actions .btn-ghost { display: none; }
  .header-actions .btn-primary {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .orbit, .orbit-item, .pigz-skin-link img, .loading-pig {
    animation: none !important;
  }
}