/* ============================================
   NOVASOFT — Dark Violet Design System
   ============================================ */

/* ---------- Custom Properties ---------- */
:root {
  --bg: #0a0614;
  --surface: #140d29;
  --surface-2: #1c1440;
  --border: rgba(255,255,255,.09);
  --border-hover: rgba(167,139,250,.35);
  --primary: #a855f7;
  --primary-rgb: 168,85,247;
  --secondary: #38bdf8;
  --secondary-rgb: 56,189,248;
  --success: #34d399;
  --success-rgb: 52,211,153;
  --text: #f5f3ff;
  --muted: #a3a3c2;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --transition: 300ms cubic-bezier(.4,0,.2,1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

html {
  font-family: var(--font);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top .15s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--secondary);
  outline-offset: -2px;
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(var(--primary-rgb),.3);
  color: var(--text);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.18); }

/* ---------- Background Layers ---------- */
.bg-layers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-layers .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: .12;
  will-change: transform;
}

.bg-layers .orb--primary {
  width: 700px; height: 700px;
  top: -200px; left: -150px;
  background: var(--primary);
  animation: orbFloat 20s ease-in-out infinite;
}

.bg-layers .orb--secondary {
  width: 600px; height: 600px;
  bottom: -180px; right: -100px;
  background: var(--secondary);
  animation: orbFloat 24s ease-in-out infinite reverse;
}

.bg-layers .orb--accent {
  width: 500px; height: 500px;
  top: 40%; left: 50%;
  transform: translate(-50%,-50%);
  background: var(--primary);
  opacity: .06;
  animation: orbBreathe 14s ease-in-out infinite;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 100%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ---------- Animations ---------- */
@keyframes orbFloat {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(60px,50px); }
}

@keyframes orbBreathe {
  0%,100% { transform: translate(-50%,-50%) scale(.85); opacity:.06; }
  50% { transform: translate(-50%,-50%) scale(1); opacity:.1; }
}

@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to { opacity:1; transform:translateY(0); }
}

@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}

@keyframes scaleIn {
  from { opacity:0; transform:scale(.96); }
  to { opacity:1; transform:scale(1); }
}

@keyframes slideDown {
  from { opacity:0; transform:translateY(-12px); }
  to { opacity:1; transform:translateY(0); }
}

@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 20px rgba(var(--primary-rgb),.15); }
  50% { box-shadow: 0 0 30px rgba(var(--primary-rgb),.25); }
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 90px;
  display: flex;
  align-items: center;
  background: rgba(6,11,20,.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.topbar.scrolled {
  background: rgba(6,11,20,.88);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.brand svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-xs);
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.current {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

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


.burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  color: var(--muted);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
  text-align: center;
  animation: fadeUp .7s ease both;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(var(--primary-rgb),.08);
  border: 1px solid rgba(var(--primary-rgb),.2);
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__badge i { font-size: 14px; }

.hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero__title .gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ---------- Search ---------- */
.search-wrap {
  max-width: 640px;
  margin: 0 auto 32px;
  position: relative;
}

.search-field {
  position: relative;
}

.search-field input {
  width: 100%;
  height: 60px;
  padding: 0 20px 0 52px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  background: rgba(14,22,40,.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  outline: none;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
}

.search-field input::placeholder {
  color: rgba(149,161,181,.6);
}

.search-field input:focus {
  border-color: rgba(var(--primary-rgb),.5);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb),.1), 0 8px 32px rgba(0,0,0,.3);
  background: rgba(14,22,40,.8);
}

.search-field__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  font-size: 18px;
}

/* ---------- Catalog Section ---------- */
.catalog {
  position: relative;
  z-index: 1;
  padding: 0 0 80px;
}

.catalog .wrap {
  animation: fadeUp .7s ease .15s both;
}

.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-header h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.catalog-count {
  font-size: 14px;
  color: var(--muted);
}

.catalog-page-label {
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}

/* ---------- Tile Grid ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- Card / Tile ---------- */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(14,22,40,.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.tile:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(var(--primary-rgb),.3);
  box-shadow:
    0 12px 40px rgba(0,0,0,.4),
    0 0 40px rgba(var(--primary-rgb),.08);
}

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

.tile__cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(0,0,0,.3);
}

.tile__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.tile__label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(var(--primary-rgb),.85);
  backdrop-filter: blur(8px);
  border-radius: 100px;
}

.tile__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tile__body h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.tile__body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

/* ---------- Stat badges (downloads & rating) ---------- */
.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  box-shadow: 0 2px 10px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.tile:hover .stat-badge {
  transform: translateY(-1px);
}

.stat-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 12px;
}

.stat-badge__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  padding-right: 2px;
}

.stat-badge--downloads {
  border-color: rgba(var(--secondary-rgb), .28);
  background: linear-gradient(145deg, rgba(var(--secondary-rgb), .16), rgba(var(--secondary-rgb), .04));
}

.stat-badge--downloads .stat-badge__icon {
  background: rgba(var(--secondary-rgb), .22);
  color: var(--secondary);
  box-shadow: 0 0 12px rgba(var(--secondary-rgb), .25);
}

.stat-badge--rating {
  border-color: rgba(255, 212, 59, .3);
  background: linear-gradient(145deg, rgba(255, 212, 59, .14), rgba(255, 212, 59, .03));
}

.stat-badge--rating .stat-badge__icon {
  background: rgba(255, 212, 59, .2);
  color: #ffd43b;
  box-shadow: 0 0 12px rgba(255, 212, 59, .2);
}

.stat-badge--rating .stat-badge__value {
  color: #ffe066;
}

.item-meta .stat-badge {
  padding: 10px 18px 10px 10px;
}

.item-meta .stat-badge__icon {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.item-meta .stat-badge__value {
  font-size: 18px;
}

.tile__stats .stat-badge:empty,
.item-meta .stat-badge:empty {
  display: none;
}

/* legacy — plain spans without JS class */
.tile__stats span:not(.stat-badge) {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tile__stats span:not(.stat-badge) i {
  color: var(--primary);
  font-size: 13px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb),.25);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb),.35);
}

.btn--primary:active {
  transform: translateY(0) scale(.98);
}

.btn--ghost {
  background: rgba(255,255,255,.05);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--border-hover);
}

.btn--sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: var(--radius-xs);
}

/* ---------- Pager ---------- */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.pager__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  transition: all var(--transition);
}

.pager__btn:hover {
  color: var(--text);
  background: rgba(255,255,255,.08);
  border-color: var(--border-hover);
}

.pager__btn.on,
.pager__btn.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* ---------- Footer ---------- */
.site-ft {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(14,22,40,.3);
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}

.ft-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 32px;
}

.ft-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ft-brand svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.ft-brand .brand-logo {
  width: 48px;
  height: 48px;
}

.ft-desc {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.6;
}

.ft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.ft-links h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ft-links ul li {
  margin-bottom: 10px;
}

.ft-links ul li a {
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition);
}

.ft-links ul li a:hover {
  color: var(--primary);
}

.ft-legal {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: rgba(149,161,181,.6);
}

/* ---------- FAQ / Content Blocks ---------- */
.content-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.content-section .wrap {
  max-width: 800px;
  animation: fadeUp .7s ease both;
}

.pg-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -.03em;
}

.pg-sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.content-block {
  background: rgba(14,22,40,.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.content-block:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.content-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.content-block p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.content-block .small {
  font-size: 13px;
  color: rgba(149,161,181,.5);
}

/* ---------- Search Empty State ---------- */
.search-empty {
  display: none;
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Detail Sections ---------- */
.detail-section {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.detail-section:last-of-type {
  border-bottom: none;
}
.detail-section .wrap {
  max-width: 860px;
}
.detail-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.detail-section ul, .detail-section ol {
  padding-left: 20px;
}
.detail-section li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.detail-section p {
  line-height: 1.7;
  color: var(--muted);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(14,22,40,.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .2s;
}
.info-row:hover {
  border-color: rgba(var(--primary-rgb),.2);
}
.info-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.info-label i {
  width: 16px;
  text-align: center;
  color: var(--primary);
}
.info-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-align: right;
}
.detail-section details {
  background: rgba(14,22,40,.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.detail-section details:hover {
  border-color: rgba(var(--primary-rgb),.2);
}
.detail-section summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.detail-section summary::-webkit-details-marker {
  color: var(--primary);
}
.detail-section details p {
  padding: 0 20px 16px;
  margin: 0;
  font-size: 14px;
}
.detail-section details[open] summary {
  border-bottom: 1px solid var(--border);
}
.detail-section[style*="display: none"] {
  display: none !important;
}

/* ---------- Similar Section ---------- */
.similar-section {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  content-visibility: auto;
  contain-intrinsic-size: 400px;
}

.similar-section .wrap {
  animation: fadeUp .7s ease .2s both;
}

.similar-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -.02em;
}

/* ---------- Detail Page ---------- */
.detail-hero {
  position: relative;
  z-index: 1;
  padding: 100px 0 60px;
}

.item-detail {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

html.cyrex-ready .item-detail {
  opacity: 1;
}

.item-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.item-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}

.item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.item-info .item-desc {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  color: #fff;
}
.share-btn:hover { transform: translateY(-1px); }
.share-tg { background: #26A5E4; }

.password-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(255, 107, 107, 0.5);
  }
}
.share-tg:hover { background: #1b8bc7; }
.share-tw { background: #111; }
.share-tw:hover { background: #000; }

.item-row i {
  color: var(--primary);
}

/* ---------- Lucide Icons (via FA) ---------- */
.fas, .far, .fab {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

/* ---------- Focus Ring ---------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .orb, .bg-noise, .tile, .tile__cover img, .btn, .pager__btn, .topbar,
  .hero, .catalog .wrap, .content-section .wrap,
  *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar .wrap { gap: 12px; }
  .main-nav {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6,11,20,.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .topbar.nav-open .main-nav {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .main-nav a {
    padding: 14px 24px;
    font-size: 16px;
    border-radius: 0;
    width: 100%;
  }
  .burger { display: flex; }
  .hero { padding: 60px 0 40px; }
  .hero__title { font-size: 32px; }
  .hero__sub { font-size: 16px; }
  .tile-grid { grid-template-columns: 1fr; }
  .item-grid { grid-template-columns: 1fr; gap: 32px; }
  .ft-head { flex-direction: column; }
  .pg-title { font-size: 32px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero__title { font-size: 28px; }
  .search-field input { height: 52px; font-size: 15px; }
  .tile__body { padding: 16px; }
  .content-block { padding: 24px; }
}
