/* ============================================================
   STYLE.CSS — Dark Gallery Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:         #0d0d0d;
  --bg2:        #151515;
  --bg3:        #1e1e1e;
  --border:     #2a2a2a;
  --text:       #e8e8e8;
  --muted:      #888;
  --accent:     #22c55e;
  --accent2:    #ff6b35;
  --white:      #ffffff;
  --card-radius: 6px;
  --nav-h:      76px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); }



/* ── Nav ────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 32px; gap: 40px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              background 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
/* At top — translucent */
nav.nav-top {
  transform: translateY(0);
  background: rgba(13,13,13,0.72);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
/* Scrolled up — solid, slides in */
nav.nav-visible {
  transform: translateY(0);
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
/* Push page content below fixed nav */
body { padding-top: var(--nav-h); }
.nav-brand {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--white);
}
.nav-brand span { color: #22c55e ; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: var(--bg3);
}
.nav-search {
  margin-left: auto;
  display: flex; align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  width: 260px;
  transition: border-color 0.2s;
}
.nav-search:focus-within { border-color: var(--accent); }
.nav-search input {
  background: none; border: none; outline: none;
  color: var(--text); padding: 8px 14px;
  font-size: 13px; font-family: var(--font-body);
  flex: 1; width: 100%;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search button {
  background: none; border: none;
  color: var(--muted); padding: 8px 12px;
  font-size: 16px;
  transition: color 0.2s;
}
.nav-search button:hover { color: var(--accent); }

/* ── Page Header ────────────────────────────────────────────── */
.page-header {
  padding: 36px 24px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 12px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 2px;
  color: var(--white);
}
.page-header .count {
  font-size: 13px; color: var(--muted);
}

/* ── Filter Bar ─────────────────────────────────────────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.filter-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.filter-btn:hover { color: var(--white); border-color: var(--muted); }
.filter-btn.active {
  background: #22c55e;
  border-color: #22c55e;
  color: var(--white);
}

/* ── Image Grid ─────────────────────────────────────────────── */
.grid-container { padding: 20px 24px 40px; }
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

/* ── Image Card ─────────────────────────────────────────────── */
.card {
  background: var(--bg2);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
  animation: fadeUp 0.4s ease both;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #3a3a3a;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg3);
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img-wrap img { transform: scale(1.06); }
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end;
  padding: 14px;
}
.card:hover .card-overlay { opacity: 1; }
.card-overlay-btn {
  background: var(--accent);
  color: #fff; border: none;
  border-radius: 4px; padding: 6px 12px;
  font-size: 12px; font-weight: 600;
}
.card-body { padding: 10px 12px 12px; }
.card-title {
  font-size: 13px; font-weight: 600;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.card-model {
  font-size: 12px; color: var(--accent);
  font-weight: 500; margin-bottom: 6px;
  display: inline-block;
  transition: opacity 0.2s;
}
.card-model:hover { opacity: 0.75; }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
  font-size: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 20px;
  transition: all 0.2s;
}
.tag:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  cursor: pointer;
}

/* ── Empty State ────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}
.empty-state .icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; color: var(--text); margin-bottom: 8px; }

/* ── Lightbox ───────────────────────────────────────────────── */
#lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.95);
  display: none; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
}
#lightbox.open { display: flex; }
.lb-inner {
  position: relative;
  display: flex; gap: 0;
  width: 92vw; max-width: 1100px;
  height: 88vh;
  background: var(--bg2);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.lb-img-side {
  flex: 1; background: #000;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.lb-img-side img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.lb-info-side {
  width: 280px; flex-shrink: 0;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  overflow-y: auto;
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 20px;
}
.lb-title {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: 1px;
  color: var(--white);
}
.lb-model-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 600; font-size: 14px;
  transition: opacity 0.2s;
}
.lb-model-link:hover { opacity: 0.75; }
.lb-cats-label, .lb-related-label {
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 8px;
}
.lb-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.lb-cat-link {
  font-size: 11px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 4px 10px;
  border-radius: 20px;
  transition: all 0.2s;
}
.lb-cat-link:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.lb-related-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.lb-related-item {
  aspect-ratio: 1; border-radius: 4px; overflow: hidden;
  cursor: pointer; border: 2px solid transparent;
  transition: border-color 0.2s;
}
.lb-related-item:hover { border-color: var(--accent); }
.lb-related-item img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox controls */
.lb-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  background: rgba(0,0,0,0.6);
  border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover { background: var(--accent); }
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none; color: #fff;
  width: 42px; height: 42px; border-radius: 50%;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 10;
}
.lb-arrow:hover { background: var(--accent); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* ── Models Page ────────────────────────────────────────────── */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  padding: 24px;
}
.model-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
  animation: fadeUp 0.4s ease both;
}
.model-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(233,30,140,0.15);
}
.model-card-cover {
  aspect-ratio: 3/4; overflow: hidden; background: var(--bg3);
  position: relative;
}
.model-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.model-card:hover .model-card-cover img { transform: scale(1.06); }
.model-card-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}
.model-card-body {
  padding: 12px 14px;
}
.model-card-name {
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 4px;
}
.model-card-count { font-size: 12px; color: var(--muted); }
.model-card-bio { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* ── Model / Category Detail Header ────────────────────────── */
.detail-header {
  padding: 28px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 20px;
}
.detail-header-avatar {
  width: 72px; height: 72px;
  border-radius: 50%; overflow: hidden;
  border: 2px solid var(--accent);
  background: var(--bg3); flex-shrink: 0;
}
.detail-header-avatar img { width: 100%; height: 100%; object-fit: cover; }
.detail-header h1 {
  font-family: var(--font-display);
  font-size: 32px; letter-spacing: 2px;
  color: var(--white);
}
.detail-header p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.detail-header .count { font-size: 12px; color: var(--accent); margin-top: 6px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--muted); padding: 7px 14px;
  border-radius: 6px; font-size: 13px;
  transition: all 0.2s; margin: 20px 24px 0;
}
.back-btn:hover { color: var(--white); border-color: var(--muted); }

/* ── Admin Page ─────────────────────────────────────────────── */
.admin-wrap {
  max-width: 860px; margin: 0 auto; padding: 32px 24px 60px;
}
.admin-section {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 28px;
}
.admin-section h2 {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 1px;
  color: var(--white); margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.form-row input, .form-row select, .form-row textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px; padding: 10px 14px;
  font-size: 14px; font-family: var(--font-body);
  outline: none; transition: border-color 0.2s;
  width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--accent);
}
.form-row select option { background: var(--bg3); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-primary {
  background: var(--accent); color: #fff; border: none;
  padding: 11px 24px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  transition: opacity 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { opacity: 0.85; }
.btn-danger {
  background: #c0392b; color: #fff; border: none;
  padding: 7px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 600;
  transition: opacity 0.2s;
}
.btn-danger:hover { opacity: 0.85; }
.admin-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
.admin-table th {
  text-align: left; padding: 10px 14px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--muted); border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; }
.admin-toast {
  position: fixed; bottom: 24px; right: 24px;
  background: #27ae60; color: #fff;
  padding: 12px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  opacity: 0; transform: translateY(10px);
  transition: all 0.3s; z-index: 999;
  pointer-events: none;
}
.admin-toast.show { opacity: 1; transform: translateY(0); }

/* ── Login Screen ───────────────────────────────────────────── */
.login-screen {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
}
.login-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px 40px;
  width: 100%; max-width: 380px;
  text-align: center;
}
.login-box .logo {
  font-family: var(--font-display);
  font-size: 36px; letter-spacing: 3px;
  color: var(--white); margin-bottom: 6px;
}
.login-box .logo span { color: var(--accent); }
.login-box p { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.login-box input {
  width: 100%;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 12px 16px;
  border-radius: 8px; font-size: 14px; font-family: var(--font-body);
  outline: none; margin-bottom: 12px;
  transition: border-color 0.2s;
}
.login-box input:focus { border-color: var(--accent); }
.login-box button {
  width: 100%; padding: 12px;
  background: var(--accent); color: #fff; border: none;
  border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s;
}
.login-box button:hover { opacity: 0.85; }
.login-error {
  color: #e74c3c; font-size: 13px;
  margin-top: 10px; display: none;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .nav-search { width: 180px; }
  .image-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .lb-inner { flex-direction: column; height: 95vh; }
  .lb-info-side { width: 100%; height: auto; border-left: none; border-top: 1px solid var(--border); }
  .models-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .form-2col { grid-template-columns: 1fr; }
  nav { gap: 16px; }
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .image-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .grid-container { padding: 12px; }
  .nav-search { width: 140px; }
}

/* ── Collection count badge on card ────────────────────────── */
.card-count-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
}

/* ── Lightbox strip (thumbnail row) ────────────────────────── */
.lb-counter {
  position: absolute;
  bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.65);
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.lb-caption {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 1px;
  color: var(--white);
  line-height: 1.2;
  min-height: 28px;
}

.lb-strip-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.lb-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  flex: 1;
  align-content: flex-start;
  flex-wrap: wrap;
}

.lb-strip-thumb {
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.55;
}
.lb-strip-thumb:hover { opacity: 0.85; }
.lb-strip-thumb.active {
  border-color: var(--accent);
  opacity: 1;
}
.lb-strip-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Lightbox info side updated for strip ───────────────────── */
.lb-info-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Site Footer ────────────────────────────────────────────── */
.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 56px 24px 48px;
  display: flex; gap: 64px;
  align-items: flex-start;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: 2px;
  color: var(--white); display: inline-block;
  margin-bottom: 14px;
}
.footer-logo span { color: #22c55e ; }
.footer-tagline {
  font-size: 13px; color: var(--muted);
  line-height: 1.7; max-width: 260px;
}
.footer-cols {
  display: flex; gap: 48px; flex-wrap: wrap;
}
.footer-col {
  display: flex; flex-direction: column; gap: 10px;
  min-width: 110px;
}
.footer-col-title {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--muted); margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px; color: var(--text);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto;
  font-size: 12px; color: var(--muted);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--muted); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 36px; padding: 40px 20px 32px; }
  .footer-cols  { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ── Static Content Pages (About, Contact, Privacy, Terms) ──── */
.static-page {
  max-width: 780px; margin: 0 auto;
  padding: 48px 24px 24px;
}
.static-page .sp-eyebrow {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px; font-weight: 600;
}
.static-page h1 {
  font-family: var(--font-display);
  font-size: 48px; letter-spacing: 2px;
  color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.static-page .sp-lead {
  font-size: 17px; color: var(--muted); line-height: 1.75;
  margin-bottom: 48px; border-bottom: 1px solid var(--border); padding-bottom: 40px;
}
.static-page h2 {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 1px; color: var(--white);
  margin: 36px 0 12px;
}
.static-page p {
  font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 16px;
}
.static-page ul {
  margin: 0 0 20px 20px; color: var(--muted); font-size: 14px; line-height: 1.9;
}
.static-page a { color: var(--accent); }
.static-page a:hover { text-decoration: underline; }

/* About page: values grid */
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; margin: 28px 0 40px;
}
.value-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px 20px;
  animation: fadeUp 0.4s ease both;
}
.value-card .vc-icon { font-size: 28px; margin-bottom: 12px; }
.value-card .vc-title {
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: 1px; color: var(--white); margin-bottom: 6px;
}
.value-card .vc-body { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* Team strip */
.team-strip {
  display: flex; gap: 20px; flex-wrap: wrap; margin: 24px 0 40px;
}
.team-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 20px; display: flex; align-items: center; gap: 16px;
  animation: fadeUp 0.4s ease both; flex: 1; min-width: 240px;
}
.team-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg3); border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.team-name { font-weight: 600; color: var(--white); font-size: 14px; }
.team-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Contact form */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-top: 0;
}
.contact-form .cf-row { margin-bottom: 18px; }
.contact-form label {
  display: block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--muted); margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 11px 14px;
  border-radius: 6px; font-size: 14px; font-family: var(--font-body);
  outline: none; transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .cf-submit {
  width: 100%; padding: 13px;
  background: var(--accent); color: #fff; border: none;
  border-radius: 6px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s; margin-top: 4px;
}
.contact-form .cf-submit:hover { opacity: 0.85; }
.contact-info-block { padding-top: 4px; }
.cib-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 28px;
}
.cib-icon {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.cib-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.cib-value { font-size: 14px; color: var(--text); margin-top: 2px; }
.cf-success {
  display: none; background: #1a3a2a; border: 1px solid #2ecc71;
  color: #2ecc71; border-radius: 6px; padding: 14px 18px;
  font-size: 14px; margin-top: 14px; font-weight: 500;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .static-page h1 { font-size: 36px; }
}

/* Legal pages (Privacy, Terms) */
.legal-toc {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 20px 24px; margin-bottom: 40px;
}
.legal-toc-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--muted); margin-bottom: 10px; font-weight: 600;
}
.legal-toc ol { padding-left: 18px; }
.legal-toc li { font-size: 13px; color: var(--muted); line-height: 2; }
.legal-toc a { color: var(--text); transition: color 0.2s; }
.legal-toc a:hover { color: var(--accent); }
.legal-section { margin-bottom: 40px; scroll-margin-top: 80px; }
.legal-meta {
  font-size: 12px; color: var(--muted);
  margin-bottom: 36px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}


/* ── Age Gate ───────────────────────────────────────────────── */
#age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.97);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.ag-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px 40px 36px;
  max-width: 580px; width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  animation: fadeUp 0.4s ease both;
}
.ag-logo {
  font-family: var(--font-display);
  font-size: 32px; letter-spacing: 3px;
  color: var(--white); margin-bottom: 18px;
}
.ag-logo span { color: var(--accent); }
.ag-badge {
  display: inline-block;
  background: rgba(233,30,140,0.12);
  border: 1px solid rgba(233,30,140,0.35);
  color: var(--accent);
  font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 24px;
}
.ag-body {
  font-size: 13px; color: var(--muted);
  line-height: 1.8; margin-bottom: 14px;
  text-align: center;
}
.ag-body strong { color: var(--text); }
.ag-body a { color: var(--accent); }
.ag-body a:hover { text-decoration: underline; }
.ag-confirm {
  font-size: 13px; font-weight: 600;
  color: var(--text); margin: 20px 0 28px;
  padding: 14px 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  line-height: 1.6;
}
.ag-actions {
  display: flex; gap: 12px; justify-content: center;
  margin-bottom: 20px;
}
.ag-enter {
  background: var(--accent); color: #fff; border: none;
  padding: 13px 44px; border-radius: 6px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: opacity 0.2s;
  letter-spacing: 0.5px;
}
.ag-enter:hover { opacity: 0.85; }
.ag-exit {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 13px 44px; border-radius: 6px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.ag-exit:hover { color: var(--white); border-color: var(--muted); }
.ag-links {
  font-size: 12px; color: var(--muted);
}
.ag-links a { color: var(--muted); transition: color 0.2s; }
.ag-links a:hover { color: var(--accent); }

@media (max-width: 480px) {
  .ag-box { padding: 32px 20px 28px; }
  .ag-enter, .ag-exit { padding: 12px 28px; font-size: 14px; }
}