/* DevPortal - Premium Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080811;
  --bg-2: #0d0d1a;
  --bg-3: #111120;
  --card: #12121f;
  --card-2: #16162a;
  --border: rgba(99,102,241,0.15);
  --border-2: rgba(255,255,255,0.06);
  --primary: #6366f1;
  --primary-hover: #4f52d4;
  --primary-glow: rgba(99,102,241,0.25);
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text: #e2e8f0;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --text-4: #475569;
  --gold: #f59e0b;
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-2: linear-gradient(135deg, #06b6d4, #6366f1);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.15);
  --trans: all 0.2s ease;
  --trans-slow: all 0.35s ease;
}

.light-mode {
  --bg: #f0f2f8;
  --bg-2: #e8eaf3;
  --bg-3: #f5f6fc;
  --card: #ffffff;
  --card-2: #f8f9fe;
  --border: rgba(99,102,241,0.15);
  --border-2: rgba(0,0,0,0.07);
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;
  --text-4: #94a3b8;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* === SELECTION === */
::selection { background: var(--primary); color: white; }

/* === NOISE OVERLAY === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,8,17,0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  box-shadow: 0 0 20px var(--primary-glow);
  flex-shrink: 0;
}

.nav-logo span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* fixCry animated logo nav integration */
nav.navbar > .fc-logo-wrap {
  flex-shrink: 0;
  white-space: nowrap;
}
.footer-brand > .fc-logo-wrap {
  margin-bottom: 12px;
}

.nav-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.nav-search input {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 16px 9px 40px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--trans);
}

.nav-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.nav-search input::placeholder { color: var(--text-4); }

.nav-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-4);
  font-size: 14px;
  pointer-events: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--trans);
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--card); }

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
  cursor: pointer;
}

.nav-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 200px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  animation: slideDown 0.15s ease;
}

@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu { display: block; }

.dropdown-menu a, .dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  transition: var(--trans);
}

.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--bg-2); color: var(--text); }
.dropdown-menu .divider { height: 1px; background: var(--border-2); margin: 4px 0; }
.dropdown-menu .dropdown-header { padding: 10px 16px 4px; font-size: 11px; font-weight: 600; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.05em; }

.notif-badge {
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: var(--trans);
}

/* === CONTAINER === */
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 560px; margin: 0 auto; padding: 0 24px; }

/* === GRID === */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--trans);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active::after { background: rgba(255,255,255,0.15); }

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover { box-shadow: 0 6px 24px rgba(99,102,241,0.4); transform: translateY(-1px); color: white; }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover { background: var(--primary-glow); color: var(--primary); }

.btn-ghost {
  background: var(--card);
  color: var(--text-2);
  border: 1px solid var(--border-2);
}

.btn-ghost:hover { background: var(--card-2); color: var(--text); border-color: var(--border); }

.btn-danger { background: var(--danger); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-warning { background: var(--warning); color: #000; }

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 6px; }
.btn-xs { padding: 5px 10px; font-size: 12px; border-radius: 5px; }
.btn-icon { padding: 9px; aspect-ratio: 1; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* === CARDS === */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans-slow);
  position: relative;
}

.card:hover { border-color: rgba(99,102,241,0.3); box-shadow: var(--shadow-glow); }

.card-glass {
  background: rgba(18,18,31,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card-body { padding: 20px; }
.card-footer { padding: 12px 20px; border-top: 1px solid var(--border-2); background: var(--card-2); }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border-2); }

/* === PROJECT CARD === */
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans-slow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: rgba(99,102,241,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.3), var(--shadow-glow);
}

.project-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-2);
  display: block;
}

.project-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text-4);
}

.project-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.project-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.project-card-desc {
  font-size: 13px;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.project-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
}

.project-card-author img,
.project-card-author .author-placeholder {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  font-weight: 700;
}

.project-card-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-3);
}

.project-card-stats span { display: flex; align-items: center; gap: 4px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.badge-primary { background: rgba(99,102,241,0.15); color: #a5b4fc; border-color: rgba(99,102,241,0.2); }
.badge-success { background: rgba(16,185,129,0.15); color: #6ee7b7; border-color: rgba(16,185,129,0.2); }
.badge-warning { background: rgba(245,158,11,0.15); color: #fcd34d; border-color: rgba(245,158,11,0.2); }
.badge-danger { background: rgba(239,68,68,0.15); color: #fca5a5; border-color: rgba(239,68,68,0.2); }
.badge-info { background: rgba(6,182,212,0.15); color: #67e8f9; border-color: rgba(6,182,212,0.2); }
.badge-secondary { background: rgba(139,92,246,0.15); color: #c4b5fd; border-color: rgba(139,92,246,0.2); }
.badge-free { background: rgba(16,185,129,0.15); color: #6ee7b7; border-color: rgba(16,185,129,0.2); }
.badge-paid { background: rgba(245,158,11,0.15); color: #fcd34d; border-color: rgba(245,158,11,0.2); }
.badge-featured { background: rgba(99,102,241,0.2); color: #a5b4fc; border-color: rgba(99,102,241,0.3); }

/* === PRICE BADGE === */
.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
}

.price-tag.free { color: var(--success); }
.price-tag.paid { color: var(--gold); }

/* === HERO === */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  color: #a5b4fc;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }
.hero-stat-number { font-size: 32px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stat-label { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* === SECTION === */
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i { color: var(--primary); }

.section-subtitle {
  color: var(--text-3);
  font-size: 14px;
  margin-top: 4px;
}

/* === CATEGORY PILLS === */
.category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: var(--trans);
}

.category-pill:hover, .category-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 20px var(--primary-glow);
}

/* === FORMS === */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--trans);
}

.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-control::placeholder { color: var(--text-4); }
.form-control:disabled { opacity: 0.5; cursor: not-allowed; }

textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

.form-hint { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 6px; }

.input-group {
  display: flex;
  align-items: stretch;
}

.input-group .form-control { border-radius: var(--radius-sm) 0 0 var(--radius-sm); flex: 1; }
.input-group .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* Toggle switch */
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.toggle input { display: none; }

.toggle-slider {
  width: 44px;
  height: 24px;
  background: var(--border-2);
  border-radius: 12px;
  position: relative;
  transition: var(--trans);
  flex-shrink: 0;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  top: 3px;
  left: 3px;
  transition: var(--trans);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider::after { left: 23px; }

/* === STARS === */
.stars i { color: var(--gold); font-size: 13px; }
.stars-input { display: flex; gap: 4px; }
.stars-input i { font-size: 24px; color: var(--text-4); cursor: pointer; transition: var(--trans); }
.stars-input i:hover, .stars-input i.active { color: var(--gold); }

/* === ALERTS === */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: 1px solid transparent;
  margin-bottom: 20px;
}

.alert i { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: #6ee7b7; }
.alert-danger { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2); color: #fca5a5; }
.alert-warning { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); color: #fcd34d; }
.alert-info { background: rgba(6,182,212,0.1); border-color: rgba(6,182,212,0.2); color: #67e8f9; }

/* === TOAST === */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease;
  max-width: 360px;
  min-width: 280px;
}

@keyframes slideInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOutRight { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100%); } }

.toast-close { margin-left: auto; background: none; border: none; color: var(--text-4); cursor: pointer; padding: 2px; font-size: 14px; }
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.warning { border-left: 3px solid var(--warning); }
.toast.info { border-left: 3px solid var(--accent); }

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.2s ease;
  box-shadow: var(--shadow-lg);
}

@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-2);
}

.modal-title { font-size: 18px; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-4); font-size: 20px; cursor: pointer; padding: 4px; transition: var(--trans); }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border-2); display: flex; gap: 10px; justify-content: flex-end; }

/* === TABS === */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border-2); margin-bottom: 24px; }

.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--trans);
  font-family: inherit;
}

.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* === SIDEBAR === */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

.sidebar { display: flex; flex-direction: column; gap: 16px; }

.sidebar-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sidebar-widget-header {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-widget-body { padding: 16px; }

/* === DOWNLOAD PAGE === */
.download-gate {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
}

.download-countdown {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--card);
  border: 4px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto 24px;
  position: relative;
  box-shadow: 0 0 40px var(--primary-glow);
}

.download-countdown .count-number { font-size: 42px; font-weight: 900; color: var(--primary); line-height: 1; }
.download-countdown .count-label { font-size: 11px; color: var(--text-3); }

.countdown-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
}

.countdown-progress {
  stroke: var(--primary);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
  transform: rotate(-90deg);
  transform-origin: center;
}

/* === SCREENSHOTS GALLERY === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--trans-slow);
  aspect-ratio: 16/10;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--trans-slow); display: block; }
.gallery-item:hover { border-color: var(--primary); transform: scale(1.02); }
.gallery-item:hover img { transform: scale(1.05); }

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: var(--card); border: none; color: var(--text); width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* === ADMIN === */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 64px);
}

.admin-sidebar {
  background: var(--card);
  border-right: 1px solid var(--border);
  padding: 24px 12px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
  transition: var(--trans);
  text-decoration: none;
  margin-bottom: 2px;
}

.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(99,102,241,0.1);
  color: var(--primary);
}

.admin-nav-item i { width: 18px; text-align: center; }
.admin-nav-section { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-4); padding: 12px 14px 6px; }

.admin-content { padding: 32px; overflow: auto; }

/* === TABLE === */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
  background: var(--card-2);
  border-bottom: 1px solid var(--border-2);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-2);
  color: var(--text-2);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(99,102,241,0.03); }

/* === STATS CARDS === */
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stat-icon.purple { background: rgba(99,102,241,0.15); color: var(--primary); }
.stat-icon.blue { background: rgba(6,182,212,0.15); color: var(--accent); }
.stat-icon.green { background: rgba(16,185,129,0.15); color: var(--success); }
.stat-icon.orange { background: rgba(245,158,11,0.15); color: var(--warning); }
.stat-icon.red { background: rgba(239,68,68,0.15); color: var(--danger); }
.stat-icon.pink { background: rgba(236,72,153,0.15); color: #ec4899; }

.stat-value { font-size: 28px; font-weight: 800; color: var(--text); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.stat-change { font-size: 12px; margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* === PAGINATION === */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }

.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  transition: var(--trans);
  cursor: pointer;
}

.page-btn:hover { background: var(--primary); border-color: var(--primary); color: white; }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: white; }
.page-dots { color: var(--text-4); padding: 0 4px; }

/* === UPLOAD AREA === */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--trans);
  background: var(--card);
}

.upload-area:hover, .upload-area.drag-over {
  border-color: var(--primary);
  background: rgba(99,102,241,0.05);
}

.upload-area i { font-size: 40px; color: var(--text-4); margin-bottom: 12px; display: block; }
.upload-area p { color: var(--text-3); font-size: 14px; }
.upload-area strong { color: var(--primary); }

/* === COMMENTS === */
.comment {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-2);
}

.comment:last-child { border-bottom: none; }

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.comment-body { flex: 1; }
.comment-author { font-size: 14px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.comment-time { font-size: 12px; color: var(--text-4); font-weight: 400; }
.comment-text { font-size: 14px; color: var(--text-2); margin-top: 6px; line-height: 1.6; }
.comment-actions { display: flex; gap: 12px; margin-top: 8px; }
.comment-action { background: none; border: none; color: var(--text-4); font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 4px; font-family: inherit; transition: var(--trans); }
.comment-action:hover { color: var(--primary); }
.comment-replies { margin-left: 48px; border-left: 2px solid var(--border-2); padding-left: 16px; margin-top: 8px; }

/* === PROFILE === */
.profile-hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  flex-shrink: 0;
}

.profile-name { font-size: 24px; font-weight: 800; }
.profile-username { color: var(--text-3); font-size: 14px; margin-top: 2px; }
.profile-bio { color: var(--text-2); font-size: 14px; margin-top: 10px; max-width: 400px; }
.profile-stats { display: flex; gap: 24px; margin-top: 16px; }
.profile-stat { text-align: center; }
.profile-stat-num { font-size: 20px; font-weight: 800; }
.profile-stat-label { font-size: 12px; color: var(--text-3); }

/* === AD ZONE === */
.ad-zone { margin: 20px 0; text-align: center; }

/* === FOOTER === */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo { font-size: 20px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-brand p { color: var(--text-3); font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 15px; transition: var(--trans); }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: white; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-3); font-size: 14px; margin-bottom: 10px; transition: var(--trans); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border-2); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-4); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--text-3); }

/* === PWA === */
.pwa-install {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  max-width: 320px;
  animation: slideInLeft 0.3s ease;
  display: none;
}

@keyframes slideInLeft { from { opacity: 0; transform: translateX(-100%); } to { opacity: 1; transform: translateX(0); } }

/* === LOADING === */
.skeleton {
  background: linear-gradient(90deg, var(--card) 25%, var(--card-2) 50%, var(--card) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === UTILS === */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.p-16 { padding: 16px; }
.p-24 { padding: 24px; }
.w-full { width: 100%; }
.hidden { display: none; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-3); }
.font-bold { font-weight: 700; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.divider { height: 1px; background: var(--border-2); margin: 16px 0; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 6px; font-size: 12px; color: var(--text-3); font-weight: 500; }
.tag:hover { color: var(--primary); border-color: rgba(99,102,241,0.3); }
.rounded-full { border-radius: 9999px; }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .sidebar-layout { grid-template-columns: 1fr 260px; }
}

@media (max-width: 1024px) {
  .admin-layout { grid-template-columns: 200px 1fr; }
  .admin-content { padding: 24px; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-hero { flex-wrap: wrap; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; position: static; height: auto; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .navbar { padding: 0 16px; gap: 12px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-search { max-width: 100%; flex: 1; }
  .hero { padding: 60px 0 48px; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 40px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .modal { border-radius: var(--radius-lg); }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .btn-group { flex-direction: column; }
  .profile-hero { padding: 20px; }
  .admin-content { padding: 16px; }
  .stat-card { flex-direction: column; }
  .toast { min-width: 0; max-width: calc(100vw - 48px); }
  .toast-container { left: 16px; right: 16px; bottom: 16px; }
  .pwa-install { left: 16px; right: 16px; max-width: none; }
}

/* === MOBILE NAV === */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1001;
  flex-direction: column;
  padding: 80px 24px 24px;
  gap: 4px;
  overflow-y: auto;
}

.mobile-nav.open { display: flex; animation: slideInLeft 0.25s ease; }
.mobile-nav-close { position: absolute; top: 16px; right: 16px; background: var(--card); border: 1px solid var(--border); color: var(--text); width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mobile-nav a { padding: 14px 16px; color: var(--text-2); font-size: 16px; font-weight: 500; border-radius: var(--radius); transition: var(--trans); display: flex; align-items: center; gap: 12px; }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--card); color: var(--text); }

/* === SETUP === */
.setup-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 40px; flex-wrap: wrap; }
.setup-step { display: flex; align-items: center; gap: 10px; position: relative; }
.setup-step:not(:last-child)::after { content: ''; width: 40px; height: 2px; background: var(--border-2); margin: 0 4px; }
.setup-step.done:not(:last-child)::after { background: var(--primary); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--card); border: 2px solid var(--border-2); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--text-3); flex-shrink: 0; }
.setup-step.active .step-num { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 0 16px var(--primary-glow); }
.setup-step.done .step-num { background: var(--success); border-color: var(--success); color: white; }
.step-label { font-size: 13px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.setup-step.active .step-label { color: var(--text); }

/* === ADBLOCK NOTICE === */
.adblock-notice {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
  display: none;
}

/* === VERIFIED BADGE === */
.verified { color: var(--accent); font-size: 14px; }

/* === ONLINE STATUS === */
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; margin-right: 4px; box-shadow: 0 0 6px var(--success); }

/* === IMAGE PREVIEW === */
.img-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 12px; }
.img-preview-item { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-remove { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,0.7); border: none; color: white; width: 20px; height: 20px; border-radius: 50%; font-size: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.img-preview-order { position: absolute; bottom: 4px; left: 4px; background: rgba(0,0,0,0.7); color: white; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 700; }

/* === FOOTER PAYMENT LOGOS === */
.footer-payment {
  border-top: 1px solid var(--border-2);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 0;
}
.footer-payment-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-4);
  white-space: nowrap;
}
.footer-payment-logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fp-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 10px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  transition: var(--trans);
  color: var(--text-3);
  font-size: 22px;
  line-height: 1;
}
.fp-logo:hover { border-color: var(--primary); color: var(--primary); }
.fp-logo.fp-visa { color: #1a1f71; }
.fp-logo.fp-mastercard { color: #eb001b; }
.fp-logo.fp-paypal { color: #003087; }
.fp-logo-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 10px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text-3);
  gap: 5px;
  transition: var(--trans);
}
.fp-logo-text:hover { border-color: var(--primary); }
.fp-troy { color: #003e9e; }
.fp-papara { color: #9c2ab1; }
.fp-crypto { color: #f7931a; }
.fp-havale { color: #10b981; }

/* ============================================================
   FOOTER YASAL & GÜVEN LOGOLARI — fixCry Global Ltd.
   ============================================================ */

/* Bölüm kapsayıcı */
.footer-legal {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.35) 100%);
}

/* Üst başlık */
.footer-legal-head { text-align: center; margin-bottom: 28px; }
.footer-legal-head-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-4); background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08); border-radius: 100px;
  padding: 5px 14px; margin-bottom: 12px;
}
.footer-legal-head h3 { font-size: 15px; font-weight: 700; color: var(--text-2); margin: 0 0 4px; }
.footer-legal-head p  { font-size: 12px; color: var(--text-4); margin: 0; }

/* ── 6 Güven Logosu — Otobet stili (kutu yok, serbest) ── */
.trust-logos-row {
  display: flex; gap: 36px; justify-content: center;
  align-items: center; flex-wrap: wrap;
  margin-bottom: 32px; padding: 4px 0;
}
.trust-logo-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; text-decoration: none; opacity: .72;
  transition: opacity .2s ease, transform .2s ease;
}
.trust-logo-item:hover { opacity: 1; transform: translateY(-2px); }
.trust-logo-img {
  height: 44px; display: flex; align-items: center; justify-content: center;
}
.trust-logo-img img {
  height: 44px; max-width: 120px; object-fit: contain; display: block;
}
.trust-logo-img.flag img  { height: 36px; border-radius: 3px; box-shadow: 0 1px 6px rgba(0,0,0,.4); }
.trust-logo-img.on-dark img { filter: brightness(0) invert(1); opacity: .85; }
.trust-logo-caption {
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-4);
  text-align: center; line-height: 1.3;
}
.trust-logo-fallback {
  height: 44px; display: flex; align-items: center; justify-content: center;
  padding: 0 14px; border-radius: 6px; font-weight: 900;
  font-size: 14px; letter-spacing: .05em;
}
.trust-logos-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.08); flex-shrink: 0;
}

/* ── Yasal metin alt bandı ── */
.footer-legal-text {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 24px; display: grid;
  grid-template-columns: 1fr auto; gap: 32px; align-items: start;
}
.footer-legal-text .fl-company {
  font-size: 12px; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: .09em;
  margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.footer-legal-text .fl-desc { font-size: 12px; color: var(--text-4); line-height: 1.9; }
.footer-legal-vasp { flex-shrink: 0; text-align: right; min-width: 170px; }
.footer-legal-vasp .vasp-no {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-4); background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07); border-radius: 6px;
  padding: 6px 10px; display: inline-block; margin-bottom: 8px;
}
.fl-risk-pill {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 14px;
  padding: 10px 12px; background: rgba(245,158,11,.05);
  border: 1px solid rgba(245,158,11,.15); border-radius: 8px;
  font-size: 11px; color: var(--text-4); line-height: 1.6;
}

/* ── Sertifika Modal Sistemi ── */
.cert-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.75); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.cert-modal-overlay.active { display: flex; }
.cert-modal {
  background: var(--card, #0f0f1e);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; max-width: 620px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  animation: certModalIn .28s ease; position: relative;
}
@keyframes certModalIn {
  from { opacity: 0; transform: scale(.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cert-modal-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px;
}
.cert-modal-close {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.07); border: none;
  color: var(--text-3, #94a3b8); font-size: 16px;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: var(--trans);
}
.cert-modal-close:hover { background: rgba(239,68,68,.15); color: #ef4444; }
.cert-modal-body { padding: 24px 28px 28px; }
.cert-stamp {
  border: 2px solid; border-radius: 12px;
  padding: 18px 20px; margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.cert-stamp::before {
  content: '✓ DOĞRULANDI'; position: absolute; right: -14px; top: 14px;
  transform: rotate(25deg); font-size: 9px; font-weight: 900;
  letter-spacing: .12em; opacity: .1; font-family: monospace;
}
.cert-field {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 13px; gap: 16px;
}
.cert-field:last-child { border-bottom: none; }
.cert-field-label { color: var(--text-4, #64748b); font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.cert-field-value { color: var(--text-1, #e2e8f0); font-weight: 600; text-align: right; }
.cert-field-value.mono { font-family: monospace; font-size: 12px; color: #a5b4fc; }
.cert-active-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.3);
  color: #10b981; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
}
.cert-active-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #10b981; animation: pulse 2s infinite;
}
.cert-section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-4, #475569); margin: 18px 0 10px;
}
.cert-verify-bar {
  margin-top: 20px; padding: 14px 16px;
  background: rgba(99,102,241,.07); border: 1px solid rgba(99,102,241,.2);
  border-radius: 10px; display: flex; align-items: center; gap: 12px; font-size: 12px;
}
.cert-verify-bar > i { color: #6366f1; font-size: 16px; flex-shrink: 0; }
.cert-footer-note {
  margin-top: 16px; font-size: 11.5px;
  color: var(--text-4, #475569); line-height: 1.7; text-align: center;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .trust-logos-row { gap: 20px; }
  .trust-logos-divider { display: none; }
  .footer-legal-text { grid-template-columns: 1fr; }
  .footer-legal-vasp { display: none; }
}
@media (max-width: 600px) {
  .trust-logos-row { gap: 16px 22px; }
  .trust-logo-img img { height: 32px; }
  .trust-logo-img { height: 32px; }
}
