
  :root {
    --bg: #0b0a09;
    --panel: #171310;
    --panel-2: #1f1a15;
    --red: #a3232a;
    --red-deep: #4a1013;
    --gold: #c9a24b;
    --gold-dim: #7a622f;
    --text: #ece5d6;
    --text-dim: #948c7c;
    --line: #332c22;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: radial-gradient(ellipse at 50% -10%, #240c0d 0%, var(--bg) 45%);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    padding: 0 24px 80px;
  }
  .topbar {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0;
  }

  .floating-logo-link {
    position: fixed; top: 14px; left: 50%;
    z-index: 300; display: block;
    opacity: 0; transform: translateX(-50%) translateY(-20px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
  }
  .floating-logo-link.visible { opacity: 0.85; transform: translateX(-50%) translateY(0); pointer-events: auto; }
  .floating-logo-link img {
    width: 130px; height: 130px; border-radius: 50%; display: block;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  }
  @media (max-width: 640px) {
    .floating-logo-link img { width: 90px; height: 90px; }
  }
  .topbar-socials { display: flex; gap: 10px; }
  .topbar-socials .social-link { width: 30px; height: 30px; }
  .topbar-socials .social-link svg { width: 14px; height: 14px; }
  .lang-toggle {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
  }
  .lang-toggle:hover { border-color: var(--gold-dim); color: var(--text); }

  .hero {
    position: relative;
    text-align: center;
    padding: 60px 20px 40px;
    margin: 0 -24px 32px;
    overflow: hidden;
  }
  .hero-overlay {
    position: absolute; inset: 0;
    background: rgba(4,2,2,0.86);
    z-index: 1;
  }
  .hero-content { position: relative; z-index: 2; }
  .hero-content img.logo { width: 130px; height: 130px; margin-bottom: 14px; border-radius: 50%; object-fit: cover; }
  h1 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 42px;
    letter-spacing: 1px;
    margin: 0 0 6px;
  }
  h1 .accent { color: var(--red); }
  .sub { color: var(--text-dim); font-size: 14px; }
  .item-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 1px;
    margin-top: 8px;
  }

  .filters {
    max-width: 1000px;
    margin: 0 auto 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 6px;
  }
  .filter-group { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
  .filter-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
  }
  select {
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
  }
  .pill {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text-dim);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
  }
  .pill:hover { border-color: var(--gold-dim); color: var(--text); }
  .pill.active { background: var(--red); border-color: var(--red); color: #fff; }
  .color-dot {
    width: 22px; height: 22px; border-radius: 50%;
    border: 1.5px solid var(--line);
    cursor: pointer;
  }
  .color-dot.active { border-color: var(--gold); }
  .color-dots { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
  input#player-search {
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 20px;
    width: 150px;
  }

  .grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  .card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease;
    position: relative;
  }
  .card:hover { border-color: var(--red); transform: translateY(-3px); }
  .card-art {
    height: 200px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(163,35,42,0.22) 0%, transparent 60%),
      repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 22px),
      #0d0b09;
    overflow: hidden;
  }
  .card-art img { width: 100%; height: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.55)); }
  .card-art .jersey { width: 110px; height: 130px; }
  .card-art .num { font-family: 'Anton', sans-serif; font-size: 58px; color: rgba(236,229,214,0.92); }
  .card-meta { padding: 14px 16px; border-top: 1px solid var(--line); }
  .card-meta .name { font-size: 15px; font-weight: 600; margin: 0 0 2px; }
  .card-meta .details {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-dim);
    display: flex;
    justify-content: space-between;
  }
  .card-season-tag {
    position: absolute; top: 10px; inset-inline-start: 10px;
    background: var(--red); color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; padding: 3px 8px; border-radius: 3px;
  }

  .card-season-inline {
    font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gold);
    margin: 2px 0 6px;
  }

  .empty { text-align: center; color: var(--text-dim); padding: 60px 0; font-size: 14px; }

  .contact-block {
    max-width: 700px;
    margin: 56px auto 0;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px 20px;
    background: var(--panel);
  }
  .contact-block h2 { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 20px; margin: 0 0 6px; }
  .contact-block p { color: var(--text-dim); font-size: 13px; margin: 0 0 16px; }
  .contact-btn {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    padding: 9px 22px;
    border-radius: 20px;
    text-decoration: none;
  }
  .sell-input {
    background: var(--bg); border: 1px solid var(--line); color: var(--text);
    font-family: 'Inter', sans-serif; font-size: 13px; padding: 10px 12px;
    border-radius: 6px; width: 100%;
  }
  .sell-input::placeholder { color: var(--text-dim); }
  .sell-input:focus { outline: none; border-color: var(--gold-dim); }
  .socials { margin-top: 18px; display: flex; gap: 16px; justify-content: center; }

  .category-strip {
    max-width: 1000px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
  }
  .category-item {
    background: var(--panel);
    padding: 20px 12px;
    text-align: center;
  }
  .category-item .icon { display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
  .category-item .label { font-size: 12px; color: var(--text-dim); font-family: 'JetBrains Mono', monospace; }
  .category-item.disabled .icon { opacity: 0.4; }

  .float-btn {
    position: fixed;
    bottom: 24px;
    inset-inline-end: 24px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 13px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    z-index: 40;
  }
  .float-btn:hover { background: #8c1e24; }
  .social-link {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
    transition: border-color .15s ease, color .15s ease;
  }
  .social-link:hover { border-color: var(--gold); color: var(--gold); }
  .social-link svg { width: 18px; height: 18px; fill: currentColor; }

  .overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.8);
    align-items: center; justify-content: center;
    z-index: 50; padding: 20px;
  }
  .overlay.open { display: flex; }
  .modal {
    background: var(--panel);
    border: 1px solid var(--gold-dim);
    border-radius: 10px;
    max-width: 560px; width: 100%;
    max-height: 92vh; overflow-y: auto;
    position: relative;
  }
  .modal-close {
    position: absolute; top: 12px; inset-inline-end: 12px;
    background: none; border: none; color: var(--text-dim);
    font-size: 22px; cursor: pointer; z-index: 3;
  }
  .modal-header {
    text-align: center; padding: 26px 20px 16px;
    background: radial-gradient(ellipse at 50% 0%, var(--red-deep) 0%, transparent 70%);
  }
  .modal-header img.logo-sm { width: 88px; height: 88px; margin-bottom: 12px; border-radius: 50%; object-fit: cover; }
  .modal-header .name-he { font-family: 'Anton', sans-serif; font-size: 24px; margin: 4px 0 0; }
  .modal-header .name-en { color: var(--gold); font-size: 13px; letter-spacing: 1px; margin-top: 2px; }
  .modal-header .num { font-family: 'Anton', sans-serif; font-size: 14px; color: var(--text-dim); margin-top: 4px; }

  .modal-art {
    display: flex; gap: 10px; justify-content: center; padding: 16px 20px 18px;
    margin: 0 20px;
    border-radius: 6px;
    position: relative;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(163,35,42,0.25) 0%, transparent 65%),
      repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 22px),
      #0d0b09;
  }
  .modal-art img { width: 48%; border-radius: 6px; filter: drop-shadow(0 8px 14px rgba(0,0,0,0.6)); cursor: zoom-in; }
  .modal-art .jersey-lg { width: 130px; height: 160px; }
  .modal-art .num-lg { font-family: 'Anton', sans-serif; font-size: 64px; color: rgba(236,229,214,0.9); }

  .ticket-divider { position: relative; height: 1px; margin: 0 20px; border-top: 2px dashed var(--line); }
  .ticket-divider::before, .ticket-divider::after {
    content: ''; position: absolute; top: -9px; width: 18px; height: 18px;
    background: var(--panel); border-radius: 50%;
  }
  .ticket-divider::before { inset-inline-start: -29px; }
  .ticket-divider::after { inset-inline-end: -29px; }

  .spec-table { padding: 20px; }
  .spec-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .spec-row:last-child { border-bottom: none; }
  .spec-label { color: var(--gold); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.5px; }
  .spec-value { color: var(--text); text-align: end; }
  .modal-footer { text-align: center; padding: 14px 20px 22px; color: var(--text-dim); font-size: 11px; font-family: 'JetBrains Mono', monospace; }

  .skeleton-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; height: 268px; overflow: hidden; }
  .skeleton-card .sk-art { height: 200px; background: var(--panel-2); animation: pulse 1.3s ease-in-out infinite; }
  .skeleton-card .sk-line { height: 12px; margin: 16px; border-radius: 3px; background: var(--panel-2); animation: pulse 1.3s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* --- תוספות לאתר האמיתי (מעבר לפרוטוטייפ) --- */
a.color-dot { text-decoration: none; }
a.pill.active-color { background: var(--red); border-color: var(--red); color: #fff; }
a.card { text-decoration: none; color: inherit; }
a.pill { text-decoration: none; }
.toast-sent {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #1a1408; font-size: 13px; font-weight: 600;
  padding: 10px 22px; border-radius: 20px; z-index: 60;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

/* --- מובייל --- */
@media (max-width: 640px) {
  body { padding: 0 14px 60px; }
  .topbar { padding: 14px 0 0; }
  .hero { padding: 40px 14px 28px; margin: 0 -14px 24px; }
  .hero-content img.logo { width: 90px; height: 90px; }
  h1 { font-size: 30px; }
  .filters { flex-direction: column; align-items: stretch; padding: 14px; gap: 14px; }
  .filter-group { flex-direction: column; align-items: stretch; }
  .filter-group select, .filter-group input, .filter-group .sell-input { width: 100%; }
  .color-dots { flex-wrap: wrap; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-art { height: 140px; }
  .card-meta { padding: 10px 12px; }
  .card-meta .name { font-size: 13px; }
  .modal-art { flex-direction: column; align-items: center; }
  .modal-art img { width: 80%; }
  .category-strip { grid-template-columns: repeat(2, 1fr); }
  .float-btn { bottom: 14px; inset-inline-end: 14px; padding: 10px 16px; font-size: 12px; }
  .contact-block { margin: 40px -14px 0; border-radius: 0; }
  .modal { max-width: 100%; margin: 10px; }
  .admin-wrap .two-col { grid-template-columns: 1fr; }
}
