/* RobertsFurz — Website (robertsfurz.de) */

.site { min-height: 100vh; display: flex; flex-direction: column; }

/* ── Top nav ───────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 18px;
  height: 66px; padding: 0 28px;
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(16px);
}
.nav-brand { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.nav-brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav-link {
  height: 38px; padding: 0 15px; border-radius: var(--r-sm);
  display: flex; align-items: center; gap: 8px;
  background: transparent; border: none; cursor: pointer;
  color: var(--text-dim); font-weight: 600; font-size: 14.5px; font-family: var(--font-sans);
  transition: all var(--dur-fast) var(--ease);
}
.nav-link:hover { color: var(--text); background: var(--bg-elevated); }
.nav-link[data-active="true"] { color: var(--text); }
.nav-link[data-active="true"] svg { color: var(--accent-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-dim);
  padding: 7px 13px; border-radius: 999px;
  background: var(--bg-elevated); border: 1px solid var(--border);
}
.nav-toggle { display: none; }

@media (max-width: 840px) {
  .site-nav { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-status .ns-text { display: none; }
}

/* ── Hero ──────────────────────────────────────────────── */
.web-hero {
  position: relative; overflow: hidden;
  min-height: 620px;
  display: flex; align-items: center;
  padding: 80px 28px;
}
.web-hero-bg { position: absolute; inset: 0; z-index: 0; }
.web-hero-bg .hero-bg-layer { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease-in-out; }
.web-hero-bg .hero-bg-layer[data-on="true"] { opacity: 1; }
.web-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,17,22,0.72) 0%, rgba(14,17,22,0.5) 40%, rgba(14,17,22,0.96) 100%);
}
.web-hero-bg .ph-label { position: absolute; bottom: 18px; right: 22px; }
.web-hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; width: 100%; }
.web-hero-status {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: var(--bg-glass); border: 1px solid var(--border);
  backdrop-filter: blur(12px); margin-bottom: 26px;
}
.web-hero-status .heads { margin-left: 2px; }
.web-hero-status .heads .avatar { width: 26px; height: 26px; margin-left: -6px; border: 2px solid var(--bg-surface); }
.web-hero-title { font-size: clamp(48px, 8vw, 92px); font-weight: 860; letter-spacing: -0.04em; line-height: 0.98; margin: 0; }
.web-hero-title b { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.web-hero-sub { font-size: clamp(16px, 2vw, 20px); color: #c7d0db; max-width: 560px; line-height: var(--lh-base); margin: 22px 0 0; }
.web-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.web-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.os-hint { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 7px; }

/* ── Section shell ─────────────────────────────────────── */
.section { max-width: 1180px; margin: 0 auto; padding: 90px 28px; width: 100%; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 820; letter-spacing: -0.025em; line-height: 1.05; margin: 12px 0 0; }
.section-lead { font-size: 17px; color: var(--text-dim); line-height: var(--lh-base); margin: 16px 0 0; }

/* ── Features ──────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 26px; border-radius: var(--r-lg);
  background: var(--bg-surface); border: 1px solid var(--border);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature-ic {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent-2);
  border: 1px solid var(--accent-line);
}
.feature-ic svg { width: 23px; height: 23px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 720; }
.feature p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: var(--lh-base); }

/* ── Mod / version info ────────────────────────────────── */
.modinfo-wrap { background: var(--bg-surface); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.modinfo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .modinfo { grid-template-columns: 1fr; gap: 36px; } }
.version-card {
  background: var(--bg-base); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 8px; overflow: hidden;
}
.vc-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: var(--r-md); }
.vc-row + .vc-row { border-top: 1px solid var(--border-soft); }
.vc-label { font-size: 14px; color: var(--text-dim); display: flex; align-items: center; gap: 9px; }
.vc-label svg { width: 17px; height: 17px; color: var(--text-muted); }
.vc-value { font-weight: 700; font-family: var(--font-mono); font-size: 14px; }
.modtag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* ── Community ─────────────────────────────────────────── */
.community { text-align: center; }
.community .section-head { margin: 0 auto 40px; }
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--accent-line);
  background:
    radial-gradient(700px 300px at 50% -30%, rgba(34,197,94,0.16), transparent 70%),
    var(--bg-surface);
  padding: 56px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 820; letter-spacing: -0.02em; margin: 0; }
.cta-band p { color: var(--text-dim); font-size: 17px; max-width: 480px; margin: 0; }
.community-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.cstat { text-align: center; }
.cstat-num { font-size: 34px; font-weight: 820; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cstat-label { font-size: 13px; color: var(--text-dim); margin-top: 2px; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 36px 28px;
  margin-top: auto;
}
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { margin-left: auto; display: flex; gap: 18px; }
.footer-links a { color: var(--text-dim); font-size: 13.5px; text-decoration: none; cursor: pointer; }
.footer-links a:hover { color: var(--text); }

/* ── Public gallery ────────────────────────────────────── */
.web-gallery { max-width: 1180px; margin: 0 auto; padding: 40px 28px 80px; width: 100%; }
.wg-head { margin-bottom: 26px; }
.filter-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 22px;
}
.search-box {
  display: flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 14px; min-width: 240px;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.search-box svg { width: 17px; height: 17px; color: var(--text-muted); }
.search-box input {
  background: none; border: none; outline: none; color: var(--text);
  font-family: var(--font-sans); font-size: 14.5px; width: 100%;
}
.player-filter { display: flex; gap: 7px; flex-wrap: wrap; }
.pf-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px 0 8px; border-radius: 999px;
  background: var(--bg-surface); border: 1px solid var(--border);
  cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-dim);
  transition: all var(--dur-fast) var(--ease);
}
.pf-chip:hover { border-color: var(--border-strong); color: var(--text); }
.pf-chip[data-active="true"] { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-2); }

/* ── Admin ─────────────────────────────────────────────── */
.admin { display: flex; flex: 1; min-height: calc(100vh - 66px); }
.admin-rail {
  width: 280px; flex: none;
  background: var(--bg-surface); border-right: 1px solid var(--border-soft);
  display: flex; flex-direction: column; padding: 18px 14px;
}
.admin-rail-head { padding: 6px 8px 14px; display: flex; align-items: center; justify-content: space-between; }
.admin-section-nav { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.asn-btn {
  display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 12px; border-radius: var(--r-sm);
  background: transparent; border: none; cursor: pointer; text-align: left;
  color: var(--text-dim); font-weight: 600; font-size: 14px; font-family: var(--font-sans);
  transition: all var(--dur-fast) var(--ease);
}
.asn-btn svg { width: 18px; height: 18px; }
.asn-btn:hover { background: var(--bg-elevated); color: var(--text); }
.asn-btn[data-active="true"] { background: var(--bg-elevated); color: var(--text); }
.asn-btn[data-active="true"] svg { color: var(--accent-2); }

.admin-main { flex: 1; overflow-y: auto; padding: 32px 36px; max-width: 920px; }
.admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.admin-title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.admin-sub { color: var(--text-dim); font-size: 14.5px; margin-top: 4px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .field-grid { grid-template-columns: 1fr; } .admin-rail { width: 220px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.col-span { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 650; color: var(--text-dim); }
.input, .select, .textarea {
  height: 44px; padding: 0 14px; border-radius: var(--r-md);
  background: var(--bg-base); border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-sans); font-size: 14.5px; outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 90px; line-height: var(--lh-base); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa7b6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.upload-zone {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: var(--r-md);
  border: 1.5px dashed var(--border-strong); background: var(--bg-base);
  cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.upload-zone:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.upload-zone .uz-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-elevated); color: var(--text-dim); flex: none; }
.upload-zone .uz-title { font-size: 14px; font-weight: 650; }
.upload-zone .uz-sub { font-size: 12.5px; color: var(--text-muted); }

.icon-preview { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); }

.admin-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border-soft); }
.admin-card-title { font-size: 16px; font-weight: 720; }
.admin-card-body { padding: 18px 20px; }

.mod-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: var(--r-md);
  background: var(--bg-base); border: 1px solid var(--border-soft);
}
.mod-row + .mod-row { margin-top: 8px; }
.mod-row .mr-name { font-weight: 650; font-size: 14.5px; }
.mod-row .mr-sub { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.mod-row .mr-source { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.seg-type { display: inline-flex; padding: 3px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-sm); }
.seg-type button { height: 26px; padding: 0 11px; border-radius: 6px; border: none; background: transparent; cursor: pointer; font-size: 12px; font-weight: 650; color: var(--text-dim); font-family: var(--font-sans); }
.seg-type button[data-active="true"] { background: var(--bg-base); color: var(--text); box-shadow: var(--shadow-sm); }
.seg-type button[data-active="true"][data-kind="required"] { color: var(--accent-2); }

.mod-add { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }

.mod-grid-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.mod-shot {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border); cursor: pointer;
}
.mod-shot:hover .mod-shot-overlay { opacity: 1; }
.mod-shot-overlay {
  position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(transparent 40%, rgba(8,10,13,0.9));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px; gap: 8px;
  transition: opacity var(--dur) var(--ease);
}
.mod-shot-overlay .ms-name { font-size: 13px; font-weight: 650; color: #fff; }

.login-gate { flex: 1; display: grid; place-items: center; padding: 40px; }
.login-gate-card {
  width: min(400px, 100%); padding: 36px;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 18px; align-items: stretch; text-align: center;
}
.login-gate-card h2 { margin: 0; font-size: 24px; font-weight: 780; }
.login-gate-card p { margin: 0; color: var(--text-dim); font-size: 14px; }
