:root {
  --bg: #070809;
  --bg2: #0e1116;
  --panel: rgba(14, 17, 22, 0.88);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1f4;
  --muted: #8a939f;
  --accent: #c9a227;
  --accent2: #f0d060;
  --blood: #8b1a1a;
  --military: #3d5230;
  --green: #4caf6a;
  --red: #d64545;
  --blue: #4a9fd4;
  --glow: rgba(201, 162, 39, 0.4);
  --radius: 18px;
  --font: "Segoe UI", system-ui, sans-serif;
  --font-display: "Oswald", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.04;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.4) 2px, rgba(0,0,0,0.4) 4px);
}
.bg-vignette {
  position: fixed; inset: 0; z-index: -3;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 90% 60% at 70% -10%, rgba(139, 26, 26, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(61, 82, 48, 0.15), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(201, 162, 39, 0.06), transparent 60%),
    linear-gradient(180deg, #0a0d10 0%, var(--bg) 50%);
}
.bg-noise {
  position: fixed; inset: 0; opacity: 0.035; z-index: -1; pointer-events: none;
  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='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(1180px, 92vw); margin: 0 auto; }
.reveal { opacity: 0; transform: translateY(24px); transition: 0.7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 9, 0.85);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0; position: relative; flex-wrap: wrap;
}
.header-actions {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.header-user {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--text); font-size: 0.85rem;
  padding: 0.35rem 0.65rem; border-radius: 999px; border: 1px solid var(--border);
  max-width: 180px;
}
.header-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-avatar { width: 28px; height: 28px; border-radius: 50%; }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
.btn-steam {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 1rem; border-radius: 999px; border: none;
  background: linear-gradient(135deg, #1b2838, #2a475e);
  color: #fff; font-weight: 600; font-size: 0.85rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.btn-steam:hover { filter: brightness(1.08); transform: translateY(-1px); }
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--text); }
.logo-mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(145deg, var(--blood), #3a1515);
  border: 1px solid rgba(201,162,39,0.35);
  display: grid; place-items: center;
  box-shadow: 0 0 28px rgba(139,26,26,0.45);
}
.logo-mark img { width: 28px; height: 28px; }
.logo-text strong {
  display: block; font-family: var(--font-display);
  font-size: 1.12rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.logo-text span { font-size: 0.7rem; color: var(--muted); }

.nav-main { display: flex; gap: 0.15rem; flex-wrap: wrap; }
.nav-main a {
  color: var(--muted); text-decoration: none; padding: 0.45rem 0.8rem;
  border-radius: 999px; font-size: 0.85rem; transition: 0.2s;
}
.nav-main a:hover, .nav-main a.active {
  color: var(--accent2); background: rgba(201,162,39,0.1);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.35rem; border-radius: 999px; border: none;
  font-weight: 600; font-size: 0.9rem; cursor: pointer; text-decoration: none; transition: 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent2), var(--accent), #8a6520);
  color: #0a0c0f; box-shadow: 0 4px 28px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px var(--glow); }
.btn-ghost {
  background: rgba(255,255,255,0.05); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: rgba(201,162,39,0.4); background: rgba(201,162,39,0.08); }

/* Hero */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; padding: 3rem 0 4.5rem; overflow: hidden;
}
.hero .container.hero-inner {
  width: min(1320px, 94vw);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 90% 70% at 15% 50%, rgba(139, 26, 26, 0.32), transparent 58%),
    radial-gradient(ellipse 70% 55% at 85% 25%, rgba(61, 82, 48, 0.22), transparent 52%),
    radial-gradient(ellipse 50% 40% at 60% 80%, rgba(201, 162, 39, 0.08), transparent 55%),
    linear-gradient(135deg, #0a0d10 0%, #121820 45%, #0a0c0f 100%);
  transform-origin: center;
  transition: transform 0.1s linear;
}
.hero-bg.has-photo {
  background:
    linear-gradient(105deg, rgba(7,8,9,0.88) 0%, rgba(7,8,9,0.45) 48%, rgba(7,8,9,0.72) 100%),
    url('/assets/img/brand/hero-bg.jpg') center/cover no-repeat;
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%;
  display: grid; gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 3rem 4rem;
  }
}
.hero-main { min-width: 0; }
.hero-emblems {
  display: flex; gap: 0.75rem; margin-bottom: 1.25rem;
}
.hero-emblems img {
  width: 48px; height: 48px; opacity: 0.85;
  filter: drop-shadow(0 0 8px rgba(201,162,39,0.4));
  animation: floatEmblem 4s ease-in-out infinite;
}
.hero-emblems img:nth-child(2) { animation-delay: 1s; }
@keyframes floatEmblem {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.9rem; border-radius: 999px;
  background: rgba(139,26,26,0.25); color: #ff8a8a;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  border: 1px solid rgba(214,69,69,0.35); margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  line-height: 1.06; margin: 0 0 1.25rem; letter-spacing: 0.02em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent2), #fff, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  color: #b8c0c8; max-width: none; margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0; }
.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem; width: 100%;
}
@media (min-width: 640px) and (max-width: 959px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); align-self: center; }
}
.stat-card {
  background: rgba(0,0,0,0.45); border: 1px solid var(--border);
  border-radius: 14px; padding: 1rem 1.1rem;
  backdrop-filter: blur(8px);
}
.stat-card b {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem); color: var(--accent2);
}
.stat-card span { font-size: 0.78rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 0.15rem; }

/* Reviews */
.reviews-section { padding: 4rem 0; background: var(--bg2); border-block: 1px solid var(--border); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem;
}
.review-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem;
  transition: 0.3s; position: relative; overflow: hidden;
}
.review-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blood), var(--accent));
  opacity: 0; transition: 0.3s;
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(201,162,39,0.25); }
.review-card:hover::before { opacity: 1; }
.review-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }
.review-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; font-size: 1.1rem;
  color: #fff; border: 2px solid rgba(255,255,255,0.15);
}
.review-meta strong { display: block; font-size: 0.95rem; }
.review-meta span { font-size: 0.78rem; color: var(--muted); }
.review-server {
  display: inline-block; margin-bottom: 0.5rem; padding: 0.2rem 0.55rem;
  border-radius: 6px; font-size: 0.72rem; font-weight: 600;
  background: rgba(61,82,48,0.35); color: #a8d4a0; border: 1px solid rgba(76,175,106,0.25);
}
.review-stars { color: var(--accent2); font-size: 0.85rem; margin-bottom: 0.5rem; letter-spacing: 1px; }
.review-text { margin: 0; font-size: 0.92rem; color: #c5ccd4; line-height: 1.55; }
.review-date { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted); }

/* Sections */
.section { padding: 4.5rem 0; scroll-margin-top: 80px; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0 0 0.5rem; letter-spacing: 0.03em;
}
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.section-tag {
  display: inline-block; margin-bottom: 0.5rem; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}

.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem;
}
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; transition: 0.35s;
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: rgba(201,162,39,0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,162,39,0.08);
}
.card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.card h3 { margin: 0 0 0.5rem; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Map showcase */
.maps-showcase {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem;
}
.map-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); min-height: 220px; cursor: default;
  transition: 0.35s;
}
.map-card:hover { transform: scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.map-card.soon { opacity: 0.55; filter: grayscale(0.6); }
.map-card img {
  width: 100%; height: 100%; object-fit: cover; min-height: 220px;
  display: block; transition: 0.5s;
}
.map-card:hover img { transform: scale(1.06); }
.map-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem;
}
.map-card-overlay h3 { margin: 0 0 0.25rem; font-family: var(--font-display); font-size: 1.15rem; }
.map-card-overlay p { margin: 0; font-size: 0.82rem; color: #b0b8c0; }
.map-card-meta {
  display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap;
}
.map-chip {
  font-size: 0.68rem; font-weight: 700; padding: 0.15rem 0.5rem;
  border-radius: 4px; background: rgba(201,162,39,0.2); color: var(--accent2);
  border: 1px solid rgba(201,162,39,0.3);
}

/* Ecosystem strip */
.eco-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin-top: 2rem;
}
.eco-item {
  text-align: center; padding: 1.5rem 1rem;
  background: linear-gradient(145deg, rgba(139,26,26,0.12), rgba(0,0,0,0.3));
  border: 1px solid var(--border); border-radius: var(--radius);
}
.eco-item img { width: 36px; height: 36px; margin-bottom: 0.5rem; opacity: 0.9; }
.eco-item strong { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.eco-item span { font-size: 0.78rem; color: var(--muted); }

/* Constructor */
.constructor-wrap {
  background: linear-gradient(155deg, rgba(14,17,22,0.95), rgba(7,8,9,0.98));
  border: 1px solid rgba(201,162,39,0.22);
  border-radius: 24px; padding: 2rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04);
}
.wizard-progress { display: flex; gap: 0.3rem; margin-bottom: 2rem; flex-wrap: wrap; }
.wizard-step-dot {
  flex: 1; min-width: 40px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.08); transition: 0.3s;
}
.wizard-step-dot.done { background: var(--green); }
.wizard-step-dot.current { background: var(--accent); box-shadow: 0 0 14px var(--glow); }
.wizard-step { display: none; animation: fadeIn 0.45s ease; }
.wizard-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wizard-step h3 { font-family: var(--font-display); font-size: 1.45rem; margin: 0 0 0.5rem; }
.wizard-step .hint { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.9rem; }

.option-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 0.75rem;
}
.option-card {
  position: relative; padding: 0; border-radius: 14px;
  border: 2px solid var(--border); background: rgba(0,0,0,0.35);
  cursor: pointer; transition: 0.25s; overflow: hidden; text-align: center;
}
.option-card:hover { border-color: rgba(201,162,39,0.45); }
.option-card.selected {
  border-color: var(--accent); box-shadow: 0 0 24px var(--glow);
}
.option-card.soon { opacity: 0.45; pointer-events: none; }
.option-card .map-thumb {
  width: 100%; height: 72px; object-fit: cover; display: block;
  filter: brightness(0.7); transition: 0.3s;
}
.option-card.selected .map-thumb, .option-card:hover .map-thumb { filter: brightness(0.95); }
.option-card .option-body { padding: 0.65rem 0.5rem 0.75rem; }
.option-card .icon { font-size: 1.4rem; }
.option-card .name { font-weight: 600; font-size: 0.82rem; margin-top: 0.2rem; }
.option-card .desc { font-size: 0.68rem; color: var(--muted); margin-top: 0.15rem; line-height: 1.3; }
.map-badge {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  font-size: 0.62rem; padding: 0.12rem 0.4rem; border-radius: 4px;
  background: var(--accent); color: #000; font-weight: 700;
}

.slots-control { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.slots-control input[type=range] { flex: 1; min-width: 200px; accent-color: var(--accent); }
.slots-value { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent2); min-width: 80px; }

.form-field { margin-bottom: 1rem; }
.form-field > label.field-label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.35rem; }
.form-field input:not([type=radio]):not([type=checkbox]),
.form-field textarea,
.form-field select {
  width: 100%; padding: 0.75rem 1rem; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(0,0,0,0.4);
  color: var(--text); font: inherit;
}
.form-field textarea { min-height: 110px; resize: vertical; }

.radio-group {
  display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 0.5rem;
}
.radio-option {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 1rem 1.15rem; border-radius: 14px;
  border: 1px solid var(--border); background: rgba(0,0,0,0.25);
  cursor: pointer; transition: 0.2s; margin: 0;
}
.radio-option:hover { border-color: rgba(201,162,39,0.35); background: rgba(255,255,255,0.03); }
.radio-option:has(input:checked) {
  border-color: var(--accent); background: rgba(201,162,39,0.1);
  box-shadow: 0 0 20px rgba(201,162,39,0.12);
}
.radio-option input[type=radio] {
  width: 18px; height: 18px; min-width: 18px; margin: 0.15rem 0 0;
  padding: 0; flex-shrink: 0; accent-color: var(--accent); cursor: pointer;
}
.radio-option span {
  flex: 1; color: var(--text); font-size: 0.92rem; line-height: 1.45;
}
.radio-option span strong { color: var(--accent2); font-weight: 600; }

.toggle-row {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.1rem;
  border-radius: 14px; border: 1px solid var(--border); margin-bottom: 0.75rem;
  cursor: pointer; transition: 0.2s;
}
.toggle-row:hover { background: rgba(255,255,255,0.03); }
.toggle-row.selected { border-color: var(--green); background: rgba(76,175,106,0.08); }
.toggle-row input { margin-top: 0.25rem; accent-color: var(--green); width: 18px; height: 18px; min-width: 18px; flex-shrink: 0; }

.hosting-info {
  background: rgba(76, 175, 106, 0.08); border: 1px solid rgba(76, 175, 106, 0.25);
  border-radius: 14px; padding: 1.25rem; margin-top: 1rem; font-size: 0.9rem;
}
.hosting-info-warn {
  background: rgba(214, 69, 69, 0.08); border-color: rgba(214, 69, 69, 0.28);
}
.hosting-info ul { margin: 0.5rem 0 0; padding-left: 1.2rem; color: var(--muted); }

.nav-toggle {
  display: none; background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  color: var(--text); border-radius: 10px; width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer;
}

.wizard-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2rem; gap: 1rem; flex-wrap: wrap;
}
.wizard-nav .btn { min-width: 140px; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px); display: none; align-items: center;
  justify-content: center; z-index: 1000; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--bg2); border: 1px solid rgba(201,162,39,0.3);
  border-radius: 24px; padding: 2.5rem; text-align: center; max-width: 420px;
  animation: popIn 0.4s ease;
}
@keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-box .check {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(76,175,106,0.15); color: var(--green);
  font-size: 2rem; display: grid; place-items: center; margin: 0 auto 1rem;
}

.site-footer {
  padding: 3rem 0 2rem; border-top: 1px solid var(--border);
  text-align: center; color: var(--muted); font-size: 0.85rem;
}
.site-footer a { color: var(--accent2); }
.footer-brand {
  display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.footer-brand span { display: block; font-size: 0.78rem; color: var(--muted); }

/* Guides & FAQ */
.guides-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 1.5rem;
}
.guide-card { position: relative; }
.guide-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent2); margin-bottom: 0.5rem;
}
.guide-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.guide-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.faq-block { margin-top: 0.5rem; }
.faq-block h3 { margin-top: 0; }
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem 1rem; background: rgba(0,0,0,0.2);
}
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 0.65rem 0 0; color: var(--muted); font-size: 0.9rem; }

/* Reviews form */
.review-form-wrap { margin-top: 2rem; max-width: 640px; }
.review-form-wrap h3 { margin-top: 0; }
.review-msg { margin-top: 0.75rem; font-size: 0.9rem; color: var(--muted); }
.review-msg.ok { color: var(--green); }
.review-msg.err { color: var(--red); }

/* Profile */
.profile-page { padding: 3rem 0 4rem; }
.profile-hero { margin-bottom: 1.5rem; }
.profile-hero h1 { margin: 0 0 0.5rem; font-family: var(--font-display); }
.profile-user-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; border: 2px solid rgba(201,162,39,0.35); }
.profile-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.profile-section-title { font-family: var(--font-display); margin: 2rem 0 1rem; }
.profile-apps { display: grid; gap: 1rem; }
.profile-app-top { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.profile-app-date { margin-left: auto; color: var(--muted); font-size: 0.8rem; }
.muted-sm { color: var(--muted); font-size: 0.85rem; }
.profile-notes { font-size: 0.88rem; color: #b8c0c8; margin: 0.5rem 0 0; }
.flash-ok {
  background: rgba(76,175,106,0.12); border: 1px solid rgba(76,175,106,0.3);
  color: var(--green); padding: 0.75rem 1rem; border-radius: 12px; margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(7,8,9,0.96);
    border-bottom: 1px solid var(--border); padding: 0.75rem 1rem 1rem;
  }
  .nav-main.is-open { display: flex; }
  .nav-main a { width: 100%; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .header-actions { order: 2; margin-left: auto; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding-top: 2rem; }
  .constructor-wrap { padding: 1.25rem; }
  .maps-showcase { grid-template-columns: 1fr; }
  .wizard-nav .btn { flex: 1; min-width: 0; }
}
