/* hunterclub.ge — დიზაინი. თემა: ღამის ტყე, სპილენძი/ბრინჯაო, ტოპოგრაფიული ხაზები (GPS).
   შრიფტები: Noto Serif Georgian (სათაურები, „ლოჯის" ხასიათი) + Noto Sans Georgian (ტექსტი) + JetBrains Mono (კოორდინატები). */
:root {
  --bg: #0b1410;
  --bg2: #101b15;
  --surface: #15221c;
  --surface2: #1c2c24;
  --line: rgba(236, 230, 214, 0.09);
  --line2: rgba(236, 230, 214, 0.16);
  --text: #ece6d6;
  --muted: #9fac9f;
  --brass: #d9a441;
  --brass2: #f0c46a;
  --brass3: #8f6320;
  --moss: #6fa072;
  --danger: #d9534f;
  --r: 16px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --serif: 'Noto Serif Georgian', 'Georgia', serif;
  --sans: 'Noto Sans Georgian', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased; min-height: 100vh; position: relative;
}
/* ტოპოგრაფიული კონტურები — GPS-ის თემა, ძალიან მკრთალად */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><g fill='none' stroke='%23d9a441' stroke-opacity='0.07' stroke-width='1.2'><path d='M60 300c0-90 80-160 180-160s180 70 180 160-80 160-180 160S60 390 60 300z'/><path d='M110 300c0-65 60-115 130-115s130 50 130 115-60 115-130 115S110 365 110 300z'/><path d='M160 300c0-40 36-70 80-70s80 30 80 70-36 70-80 70-80-30-80-70z'/><path d='M-40 520c120-60 260-40 380 20s240 60 320 0'/><path d='M-40 560c120-60 260-40 380 20s240 60 320 0'/><path d='M420 80c60-40 140-40 200 0s60 120 0 160'/><path d='M450 110c45-28 105-28 150 0s45 90 0 120'/></g></svg>"),
    radial-gradient(1200px 600px at 5% -10%, rgba(217, 164, 65, 0.09), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(111, 160, 114, 0.10), transparent 60%);
}
a { color: var(--brass2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.005em; margin: 0 0 0.45em; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.mono { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.02em; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); font-weight: 700; margin-bottom: 0.6rem; }

/* ---------- ნავიგაცია ---------- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: rgba(11, 20, 16, 0.78); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 0.65rem 1.2rem; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand svg { width: 36px; height: 36px; }
.brand .tld { color: var(--brass2); }
.nav-links { display: flex; gap: 0.15rem; margin-left: auto; align-items: center; }
.lbl-m { display: none; }
.nav-links a, .nav-links button { color: var(--muted); padding: 0.45rem 0.8rem; border-radius: 10px; font: inherit; font-size: 0.95rem; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; }
.nav-links a:hover, .nav-links button:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.nav-links a.active { color: var(--brass2); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--brass2), var(--brass3)); color: #1a1408; font-weight: 800; font-size: 0.9rem; box-shadow: 0 0 0 2px rgba(240, 196, 106, 0.25); }

/* ---------- განლაგება ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 1.6rem 1.2rem 4rem; }
.narrow { max-width: 470px; margin: 2.5rem auto; }
.card { background: linear-gradient(180deg, var(--surface), var(--bg2)); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow); }
.row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 0.5rem 0 1.2rem; flex-wrap: wrap; }
.section-head h1, .section-head h2 { margin: 0; }
.rule { height: 1px; background: linear-gradient(90deg, var(--brass), transparent); margin: 0.8rem 0 1.4rem; opacity: 0.6; }

/* ---------- ღილაკები ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.72rem 1.3rem; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; transition: transform 0.12s, background 0.15s, box-shadow 0.15s; text-decoration: none; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: #24382e; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--brass2), var(--brass)); color: #1a1408; border-color: transparent; box-shadow: 0 8px 24px rgba(217, 164, 65, 0.28); }
.btn-primary:hover { background: linear-gradient(135deg, #f8d27f, #e2ae4a); }
.btn-ghost { background: transparent; }
.btn-danger { color: #ffb8b5; border-color: rgba(217, 83, 79, 0.45); background: transparent; }
.btn-danger:hover { background: rgba(217, 83, 79, 0.14); }
.btn-ok { color: #cdf2cf; border-color: rgba(111, 160, 114, 0.5); background: rgba(111, 160, 114, 0.12); }
.btn-ok:hover { background: rgba(111, 160, 114, 0.22); }
.btn-sm { padding: 0.42rem 0.85rem; font-size: 0.85rem; border-radius: 9px; }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- ფორმები ---------- */
label { display: block; font-size: 0.82rem; color: var(--muted); margin: 1rem 0 0.35rem; letter-spacing: 0.02em; }
input[type=text], input[type=email], input[type=password], select, textarea {
  width: 100%; padding: 0.78rem 0.95rem; border-radius: 11px; border: 1px solid var(--line2); background: rgba(11, 20, 16, 0.8);
  color: var(--text); font: inherit; outline: none; transition: border 0.15s, box-shadow 0.15s;
}
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%239fac9f' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 0.9rem center; }
select option { background: var(--bg2); }
input:focus, select:focus, textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.16); }
textarea { min-height: 88px; resize: vertical; }
.check { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.1rem; cursor: pointer; font-size: 0.95rem; }
.check input { width: 18px; height: 18px; accent-color: var(--brass); }
.alert { padding: 0.85rem 1rem; border-radius: 11px; margin: 0.8rem 0; font-size: 0.95rem; border: 1px solid; }
.alert-err { background: rgba(217, 83, 79, 0.12); border-color: rgba(217, 83, 79, 0.4); color: #ffcbc9; }
.alert-ok { background: rgba(111, 160, 114, 0.12); border-color: rgba(111, 160, 114, 0.4); color: #cdf2cf; }
.alert-info { background: rgba(217, 164, 65, 0.1); border-color: rgba(217, 164, 65, 0.35); color: #f3ddaa; }

/* ---------- ატვირთვის ზონა ---------- */
.drop { border: 2px dashed rgba(217, 164, 65, 0.4); border-radius: var(--r); padding: 1.7rem 1.2rem; text-align: center; background: rgba(217, 164, 65, 0.04); cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.drop:hover, .drop.over { background: rgba(217, 164, 65, 0.09); border-color: var(--brass); }
.drop input { display: none; }
.drop .ic { font-size: 2rem; margin-bottom: 0.3rem; }
.drop .preview { max-height: 280px; margin: 0 auto 0.9rem; border-radius: 12px; object-fit: contain; box-shadow: var(--shadow); }
.drop .fname { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }

/* ---------- ფოტოების ბადე ---------- */
.masonry { columns: 4 250px; column-gap: 1rem; }
.tile { break-inside: avoid; margin: 0 0 1rem; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); position: relative; display: block; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; color: var(--text); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(217, 164, 65, 0.4); text-decoration: none; }
.tile img { width: 100%; background: var(--bg2); }
.tile .meta { padding: 0.7rem 0.85rem 0.8rem; font-size: 0.85rem; color: var(--muted); display: flex; flex-direction: column; gap: 0.15rem; }
.tile .meta b { color: var(--text); font-weight: 600; font-family: var(--serif); font-size: 0.95rem; }
.tile .coords { font-family: var(--mono); font-size: 0.74rem; color: #a9d6ae; }
.badges { position: absolute; top: 0.6rem; left: 0.6rem; right: 0.6rem; display: flex; gap: 0.35rem; flex-wrap: wrap; }
.badge { font-size: 0.7rem; font-weight: 700; padding: 0.22rem 0.55rem; border-radius: 999px; background: rgba(11, 20, 16, 0.78); backdrop-filter: blur(6px); color: var(--text); border: 1px solid var(--line2); letter-spacing: 0.03em; }
.badge-gps { color: #a9e4b3; }
.badge-private { color: #f3ddaa; margin-left: auto; }
.badge-species { background: linear-gradient(135deg, var(--brass2), var(--brass)); color: #1a1408; border-color: transparent; }
.empty { text-align: center; padding: 3.5rem 1rem; color: var(--muted); border: 1px dashed var(--line2); border-radius: var(--r); }
.empty .ic { font-size: 2.4rem; margin-bottom: 0.4rem; }

/* ---------- ფოტოს გვერდი ---------- */
.item { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.4rem; align-items: start; }
.photo-hero { border-radius: var(--r); overflow: hidden; background: #050907; border: 1px solid var(--line); }
.photo-hero img { width: 100%; max-height: 80vh; object-fit: contain; margin: 0 auto; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0.45rem 1rem; font-size: 0.95rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.passport { border: 1px solid rgba(217, 164, 65, 0.35); border-radius: 12px; padding: 0.9rem 1rem; background: repeating-linear-gradient(135deg, rgba(217, 164, 65, 0.03) 0 8px, transparent 8px 16px), rgba(217, 164, 65, 0.05); position: relative; }
.passport .stamp { position: absolute; top: 0.6rem; right: 0.7rem; font-family: var(--mono); font-size: 0.65rem; color: var(--brass); border: 1.5px solid var(--brass); border-radius: 6px; padding: 0.1rem 0.4rem; transform: rotate(-6deg); opacity: 0.8; letter-spacing: 0.1em; }
.passport .hash { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); word-break: break-all; }
.map-link { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--mono); font-size: 0.85rem; color: #a9d6ae; }

/* ---------- სტატისტიკა ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.stats .stat { flex: 1 1 120px; }
.stat { background: var(--surface2); border-radius: 12px; padding: 0.9rem 1rem; border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--brass2); line-height: 1.1; }
.stat span { font-size: 0.8rem; color: var(--muted); }

/* ---------- ცხრილი (ადმინი) ---------- */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.65rem 0.55rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
tr:hover td { background: rgba(255, 255, 255, 0.015); }
.tag { font-size: 0.74rem; padding: 0.15rem 0.55rem; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); white-space: nowrap; }
.tag-active { color: var(--moss); border-color: rgba(111, 160, 114, 0.45); }
.tag-verified { color: var(--brass2); border-color: rgba(217, 164, 65, 0.45); }
.tag-rejected, .tag-blocked { color: #ffb8b5; border-color: rgba(217, 83, 79, 0.45); }
.inline-form { display: inline-flex; gap: 0.4rem; align-items: center; }
.inline-form input[type=text] { width: 180px; padding: 0.4rem 0.6rem; font-size: 0.85rem; }

/* ---------- Landing ---------- */
.hero { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); margin-top: 0.5rem; min-height: 540px; display: grid; align-items: center; box-shadow: var(--shadow); background: #0d1a13; }
.hero .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-in { position: relative; padding: 4rem 3rem; max-width: 620px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.1; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6); }
.hero h1 em { font-style: normal; color: var(--brass2); }
.hero p.lead { font-size: 1.12rem; color: #d8d3c4; max-width: 46ch; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.hero .row { margin-top: 1.4rem; }
.hero-stats { position: absolute; right: 1.5rem; bottom: 1.5rem; display: flex; gap: 0.6rem; }
.hero-stats .stat { background: rgba(11, 20, 16, 0.7); backdrop-filter: blur(8px); min-width: 120px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.feature { padding: 1.4rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s; }
.feature:hover { border-color: rgba(217, 164, 65, 0.35); transform: translateY(-2px); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(217, 164, 65, 0.12); color: var(--brass2); margin-bottom: 0.8rem; font-size: 1.3rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.feature p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; counter-reset: s; }
.step { position: relative; padding: 1.2rem 1.2rem 1.2rem 3.4rem; border-left: 1px solid var(--line2); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0.9rem; top: 1.1rem; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; color: #1a1408; background: linear-gradient(135deg, var(--brass2), var(--brass)); }
.step h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.step p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 1.4rem; text-align: center; color: var(--muted); font-size: 0.85rem; }
.footer b { font-family: var(--serif); color: var(--text); }

@media (max-width: 860px) {
  body { overflow-x: hidden; }
  .item { grid-template-columns: 1fr; }
  .hero { min-height: 0; border-radius: 18px; }
  .hero-in { padding: 2.2rem 1.3rem 1.2rem; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); overflow-wrap: anywhere; }
  .hero h1 br { display: none; }
  .hero p.lead { font-size: 1rem; max-width: 100%; }
  .hero > * { min-width: 0; }
  .feature, .step, .card { min-width: 0; overflow-wrap: anywhere; }
  .hero-stats { position: static; padding: 0 1.3rem 1.3rem; }
  .hero-stats .stat { min-width: 0; flex: 1; }
  .nav-in { padding: 0.55rem 0.8rem; gap: 0.5rem; }
  .brand { font-size: 1.05rem; }
  .brand svg { width: 30px; height: 30px; }
  .nav-links a .lbl, .nav-links button .lbl { display: none; }
  .lbl-m { display: none; }
.nav-links a, .nav-links button { padding: 0.4rem 0.55rem; font-size: 0.9rem; }
  .wrap { padding: 1rem 0.9rem 3rem; }
  .card { padding: 1.15rem; }
  .section-head .stats { min-width: 0 !important; width: 100%; }
  .masonry { columns: 2 150px; column-gap: 0.7rem; }
  .tile { margin-bottom: 0.7rem; }
  .features { grid-template-columns: 1fr; }
}
