/* ============================================================
   SkinsFree.site — shared design system
   ============================================================ */

:root {
  --bg:        #0a0c12;
  --bg-2:      #0e1119;
  --panel:     #141823;
  --panel-2:   #1a1f2c;
  --panel-3:   #20263a;
  --line:      rgba(255,255,255,0.06);
  --line-2:    rgba(255,255,255,0.10);
  --line-3:    rgba(255,255,255,0.16);
  --ink:       #f3f4f8;
  --ink-2:     #b9bdc9;
  --ink-3:     #6b7081;
  --ink-4:     #474b59;

  --orange:    #ff7a18;
  --orange-2:  #ffa257;
  --orange-glow: rgba(255,122,24,0.45);

  --gold:   #ffc24a;
  --red:    #ff4d6d;
  --pink:   #ff5fb0;
  --purple: #a26bff;
  --blue:   #4d8bff;
  --cyan:   #38d9d2;
  --green:  #5cd97a;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--ink);
  font-family: 'Onest', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.display { font-family: 'Unbounded', sans-serif; letter-spacing: -0.025em; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ====== NAV ====== */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(10,12,18,0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; padding: 16px 0; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 11px; font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 17px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, #ff8a2e 0%, #ff5400 100%);
  position: relative;
  box-shadow: 0 8px 22px -10px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.logo-mark::after {
  content:""; position:absolute; inset:6px;
  background: var(--bg); border-radius: 4px;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}
.logo .free { color: var(--orange); margin-left: 1px; }
.logo .site { color: var(--ink-3); font-weight: 500; }
.nav-pill {
  justify-self: center;
  display: flex; align-items: center; gap: 2px;
  background: var(--panel); border: 1px solid var(--line);
  padding: 4px; border-radius: 999px;
}
.nav-pill a {
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .15s, background .15s;
}
.nav-pill a:hover { color: var(--ink); }
.nav-pill a.active {
  background: linear-gradient(180deg, #ff8a2e, #ee5e0a);
  color: white;
  box-shadow: 0 6px 14px -6px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.nav-cta { display: flex; align-items: center; gap: 8px; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 11px;
  font-weight: 600; font-size: 14px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .12s, background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--panel); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--line-3); }
.btn-primary {
  background: linear-gradient(180deg, #ff8a2e, #ee5e0a); color: white;
  box-shadow: 0 12px 24px -10px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover { box-shadow: 0 18px 32px -10px var(--orange-glow); }
.btn-lg { padding: 13px 20px; font-size: 14.5px; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ====== PILL / KICKER ====== */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 13px 6px 6px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,122,24,0.16), rgba(255,122,24,0.04));
  border: 1px solid rgba(255,122,24,0.30);
  color: #ffc594; font-size: 12.5px; font-weight: 500;
}
.pill .ico { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #ff8a2e, #ee5e0a); display: grid; place-items: center; font-size: 11px; }
.pill .live { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(92,217,122,0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(92,217,122,0); } 100% { box-shadow: 0 0 0 0 rgba(92,217,122,0); } }
.pill.b { background: linear-gradient(180deg, rgba(77,139,255,0.16), rgba(77,139,255,0.04)); border-color: rgba(77,139,255,0.30); color: #a8c5ff; }
.pill.b .ico { background: linear-gradient(135deg, #6aa1ff, #2d6cdf); }
.pill.p { background: linear-gradient(180deg, rgba(162,107,255,0.16), rgba(162,107,255,0.04)); border-color: rgba(162,107,255,0.30); color: #d3befa; }
.pill.p .ico { background: linear-gradient(135deg, #b485ff, #7a40e6); }
.pill.c { background: linear-gradient(180deg, rgba(56,217,210,0.16), rgba(56,217,210,0.04)); border-color: rgba(56,217,210,0.30); color: #9beae6; }
.pill.c .ico { background: linear-gradient(135deg, #5fdfd9, #1ea8a3); }
.pill.g { background: linear-gradient(180deg, rgba(255,194,74,0.16), rgba(255,194,74,0.04)); border-color: rgba(255,194,74,0.30); color: #ffd98f; }
.pill.g .ico { background: linear-gradient(135deg, #ffd068, #e09a18); }

/* ====== SECTION HEADINGS ====== */
section.block { padding: 84px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head .kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--orange); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; }
.section-head .kicker .bar { width: 22px; height: 1px; background: var(--orange); }
.section-head h2 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.025em; margin: 12px 0 0; line-height: 1.05; }
.section-head p { color: var(--ink-2); max-width: 460px; font-size: 14.5px; line-height: 1.55; }

/* ====== PAGE HERO (small) ====== */
.page-hero { position: relative; padding: 60px 0 30px; overflow: hidden; text-align: center; }
.page-hero .pill { margin: 0 auto; }
.page-hero h1 {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: clamp(36px, 4.8vw, 60px); letter-spacing: -0.035em; line-height: 1.02;
  margin: 18px 0 18px;
}
.page-hero h1 .accent { background: linear-gradient(180deg, #ffb87a 0%, #ff7a18 60%, #e44a00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero h1 .accent-b { background: linear-gradient(180deg, #88b5ff 0%, #4d8bff 60%, #2d6cdf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero h1 .accent-p { background: linear-gradient(180deg, #c2a3ff 0%, #a26bff 60%, #7a40e6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero h1 .accent-c { background: linear-gradient(180deg, #7feae5 0%, #38d9d2 60%, #1ea8a3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .sub { color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 600px; margin: 0 auto; }
.page-hero .sub b { color: var(--ink); font-weight: 600; }
.page-hero .grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(700px 360px at 50% 30%, black, transparent 75%);
}
.page-hero .glow {
  position: absolute; left: 50%; top: 20%; transform: translateX(-50%);
  width: 700px; height: 360px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,122,24,0.16), transparent 70%);
  filter: blur(20px);
}
.page-hero.b .glow { background: radial-gradient(closest-side, rgba(77,139,255,0.16), transparent 70%); }
.page-hero.p .glow { background: radial-gradient(closest-side, rgba(162,107,255,0.18), transparent 70%); }
.page-hero.c .glow { background: radial-gradient(closest-side, rgba(56,217,210,0.16), transparent 70%); }
.page-hero.g .glow { background: radial-gradient(closest-side, rgba(255,194,74,0.16), transparent 70%); }

.page-hero .stats {
  display: inline-grid; grid-template-columns: auto auto auto;
  gap: 20px 36px; margin-top: 28px;
  padding: 22px 30px; background: rgba(20,24,35,0.5); border: 1px solid var(--line); border-radius: 16px;
}
.page-hero .stats div .n { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 28px; letter-spacing: -0.02em; color: var(--orange); }
.page-hero .stats div .l { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px; }

/* ====== TRUST STRIP (compact) ====== */
.trust { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(15,18,25,0.5); }
.trust-inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: space-between; }
.trust .l { font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.14em; }
.trust-list { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-list .item { display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-weight: 600; font-size: 13.5px; }
.trust-list .item .sq { width: 20px; height: 20px; border-radius: 5px; background: var(--panel-2); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 10px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; }

/* ====== TABS / FILTER PILLS ====== */
.tabs-row {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  margin-bottom: 28px;
}
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: all .15s;
}
.tab:hover { border-color: var(--line-3); color: var(--ink); }
.tab .ic { font-size: 13px; }
.tab .n { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-3); background: rgba(255,255,255,0.04); padding: 2px 6px; border-radius: 5px; }
.tab.on {
  background: linear-gradient(180deg, #ff8a2e, #ee5e0a); color: white;
  border-color: transparent;
  box-shadow: 0 6px 14px -6px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.tab.on .n { color: white; background: rgba(0,0,0,0.20); }

/* ====== BREADCRUMB ====== */
.crumbs { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 13px; padding: 14px 0; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: 0.4; }
.crumbs .here { color: var(--ink); }

/* ====== SKIN CARDS (top-100) ====== */
.skins-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.skin-card {
  position: relative; background: var(--panel);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.skin-card:hover { transform: translateY(-3px); border-color: var(--line-3); }
.skin-card::before {
  content:""; position: absolute; top: 0; left: 12px; right: 12px; height: 2px; border-radius: 0 0 4px 4px;
}
.skin-card.r-gold::before  { background: var(--gold);   box-shadow: 0 0 12px var(--gold); }
.skin-card.r-red::before   { background: var(--red);    box-shadow: 0 0 12px var(--red); }
.skin-card.r-pink::before  { background: var(--pink);   box-shadow: 0 0 12px var(--pink); }
.skin-card.r-purple::before{ background: var(--purple); box-shadow: 0 0 12px var(--purple); }
.skin-card.r-blue::before  { background: var(--blue);   box-shadow: 0 0 12px var(--blue); }
.skin-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.skin-card .idx { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-3); }
.skin-card .rtag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid; }
.rtag.gold   { color: var(--gold);   border-color: rgba(255,194,74,0.30); background: rgba(255,194,74,0.07); }
.rtag.red    { color: var(--red);    border-color: rgba(255,77,109,0.30); background: rgba(255,77,109,0.07); }
.rtag.pink   { color: var(--pink);   border-color: rgba(255,95,176,0.30); background: rgba(255,95,176,0.07); }
.rtag.purple { color: var(--purple); border-color: rgba(162,107,255,0.30); background: rgba(162,107,255,0.07); }
.rtag.blue   { color: var(--blue);   border-color: rgba(77,139,255,0.30); background: rgba(77,139,255,0.07); }
.rtag .sw { width: 6px; height: 6px; border-radius: 2px; background: currentColor; box-shadow: 0 0 5px currentColor; }
.skin-card .art {
  aspect-ratio: 1.4/1; border-radius: 11px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--panel-2), #0f1219);
  border: 1px dashed rgba(255,255,255,0.07);
  display: grid; place-items: center;
}
.skin-card .art::after {
  content:""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.022) 0 6px, transparent 6px 14px);
}
.skin-card .glow {
  position: absolute; inset: -25%; border-radius: 50%; filter: blur(40px); opacity: 0.35;
}
.skin-card.r-gold   .glow { background: radial-gradient(closest-side, var(--gold), transparent); }
.skin-card.r-red    .glow { background: radial-gradient(closest-side, var(--red), transparent); }
.skin-card.r-pink   .glow { background: radial-gradient(closest-side, var(--pink), transparent); }
.skin-card.r-purple .glow { background: radial-gradient(closest-side, var(--purple), transparent); }
.skin-card.r-blue   .glow { background: radial-gradient(closest-side, var(--blue), transparent); }
.skin-card .ph {
  position: relative; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.1em; text-transform: uppercase; background: rgba(10,12,18,0.7); padding: 3px 8px; border-radius: 5px; border: 1px solid var(--line);
}
.skin-card .info { margin-top: 12px; }
.skin-card .info .nm { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 13.5px; letter-spacing: -0.005em; line-height: 1.2; }
.skin-card .info .sb { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.skin-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.skin-card .row .price { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 16px; color: var(--gold); }
.skin-card .row .float { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-3); }

/* ====== INPUT / FORM ====== */
.input, select.input, textarea.input {
  width: 100%; appearance: none;
  background: var(--panel-2); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 12px;
  padding: 14px 16px; font-size: 15px; font-family: inherit;
  transition: border-color .15s, background .15s;
}
.input:focus, select.input:focus { outline: none; border-color: var(--orange); background: var(--panel-3); }
.input.mono { font-family: 'JetBrains Mono', monospace; }
.input.lg { font-size: 22px; padding: 16px 18px; font-family: 'JetBrains Mono', monospace; text-align: center; font-weight: 600; }
.input.lg.b { color: var(--blue); border-color: rgba(77,139,255,0.4); background: rgba(77,139,255,0.05); }

.field { display: flex; flex-direction: column; gap: 8px; }
.field .lbl { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; }

select.input {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236b7081' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}

/* ====== FOOTER ====== */
footer { border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { font-family: 'Unbounded', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.foot a { display: block; color: var(--ink-2); padding: 5px 0; font-size: 14px; }
.foot a:hover { color: var(--ink); }
.foot .about { font-size: 14px; color: var(--ink-2); line-height: 1.6; max-width: 360px; margin-top: 14px; }
.copy { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; flex-wrap: wrap; gap: 12px; }

/* ====== FAQ ACCORDION ====== */
.faq { max-width: 900px; margin: 0 auto; }
.qa { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; transition: border-color .15s; }
.qa[open] { border-color: rgba(255,122,24,0.3); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; font-weight: 600; font-size: 15px; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa .plus { width: 24px; height: 24px; border-radius: 7px; background: rgba(255,122,24,0.12); color: var(--orange); display: grid; place-items: center; font-size: 16px; transition: transform .2s; flex: none; }
.qa[open] .plus { transform: rotate(45deg); background: var(--orange); color: white; }
.qa .answer { padding: 0 22px 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.qa .answer b { color: var(--ink); font-weight: 600; }

/* ====== GUIDE / LONGFORM ====== */
.guide { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 36px; }
.guide h3 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 14px; }
.guide h3 + p { margin-top: 0; }
.guide p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.guide b { color: var(--ink); }
.guide ul { list-style: none; padding: 0; margin: 10px 0 0; }
.guide ul li { padding: 8px 0 8px 22px; position: relative; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.guide ul li::before { content:""; position:absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.guide hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* ====== PAGINATION ====== */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: grid; place-items: center;
  border-radius: 10px; background: var(--panel); border: 1px solid var(--line);
  font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.pager a:hover { border-color: var(--line-3); color: var(--ink); }
.pager .here { background: linear-gradient(180deg, #ff8a2e, #ee5e0a); border-color: transparent; color: white; box-shadow: 0 6px 14px -6px var(--orange-glow); }
.pager .ellipsis { background: transparent; border-color: transparent; color: var(--ink-3); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1080px) {
  .nav-pill { display: none; }
  .skins-grid { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .skins-grid { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .page-hero .stats { grid-template-columns: 1fr 1fr; }
}
