:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --dark: #111827;
  --gray: #6b7280;
  --light: #f9fafb;
  --border: #e5e7eb;
  --white: #ffffff;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
       color: var(--dark); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ── NAV ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  height: 64px;
}
.nav-logo {
  font-size: 1.2rem; font-weight: 800;
  color: var(--dark); flex-shrink: 0;
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}
.logo-accent { color: #007a8c; }
.nav-search {
  flex: 1; max-width: 480px;
  display: flex; align-items: center;
  background: var(--light); border: 1.5px solid var(--border);
  border-radius: 50px; padding: 0 16px; gap: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.nav-search:focus-within {
  border-color: #007a8c;
  box-shadow: 0 0 0 3px rgba(0,122,140,.1);
  background: var(--white);
}
.nav-search input {
  border: none; background: transparent;
  flex: 1; padding: 10px 0; font-size: .875rem; outline: none;
}
.nav-links { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-upload {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px; font-size: .875rem;
  font-weight: 600; background: var(--dark); color: var(--white);
  transition: opacity .15s;
}
.btn-upload:hover { opacity: .85; }
.nav-link-plain { padding: 8px 12px; border-radius: 8px; font-size: .875rem;
                   font-weight: 500; color: var(--gray); transition: background .15s; }
.nav-link-plain:hover { background: var(--light); color: var(--dark); }
.nav-user { display: flex; align-items: center; gap: 8px; padding: 4px 10px;
            border-radius: 50px; font-size: .875rem; font-weight: 500;
            color: var(--dark); border: 1.5px solid var(--border); transition: border-color .15s; }
.nav-user:hover { border-color: #007a8c; }
.nav-avatar { width: 28px; height: 28px; border-radius: 50%; background: #007a8c;
              display: flex; align-items: center; justify-content: center;
              color: white; font-size: .75rem; font-weight: 700; }
.nav-admin { padding: 8px 10px; border-radius: 8px; font-size: 1rem;
             transition: background .15s; }
.nav-admin:hover { background: var(--light); }

/* ── LANG SWITCHER ── */
.lang-switcher {
  display: flex; align-items: center; gap: 3px;
  font-size: .75rem; font-weight: 700; flex-shrink: 0;
  margin-left: 4px;
}
.lang-switcher a {
  padding: 4px 7px; border-radius: 6px;
  color: var(--gray); transition: all .15s; letter-spacing: .5px;
}
.lang-switcher a:hover { background: var(--light); color: var(--dark); }
.lang-switcher a.active { background: var(--dark); color: var(--white); }
.lang-switcher span { color: var(--border); font-weight: 400; }

/* ── HERO ── */
.hero {
  background: linear-gradient(150deg, #020c12 0%, #071e2a 40%, #0d2d3f 70%, #020c12 100%);
  color: var(--white); text-align: center;
  padding: 90px 24px 72px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,229,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,.3), transparent);
}
.hero-content { position: relative; max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,229,255,.1); border: 1px solid rgba(0,229,255,.2);
  color: #00e5ff; font-size: .8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 24px;
  letter-spacing: .3px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 16px; letter-spacing: -1.5px;
}
.hero-accent { color: #00e5ff; }
.hero p  { font-size: 1.05rem; color: rgba(255,255,255,.65); margin-bottom: 36px; line-height: 1.7; }
.hero-search {
  display: flex; align-items: center;
  background: var(--white); border-radius: 50px;
  padding: 6px 6px 6px 20px; max-width: 580px; margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(0,229,255,.1);
}
.hero-search input {
  flex: 1; border: none; background: transparent;
  font-size: 1rem; outline: none; color: var(--dark); padding: 4px 0;
}
.hero-search button {
  background: linear-gradient(135deg, #007a8c, #00b4cc);
  color: var(--white); border: none; border-radius: 50px;
  padding: 11px 28px; font-weight: 700; cursor: pointer;
  white-space: nowrap; transition: opacity .2s; font-size: .95rem;
}
.hero-search button:hover { opacity: .9; }
.hero-tags {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 24px; flex-wrap: wrap;
  font-size: .8rem;
}
.hero-tags span { color: rgba(255,255,255,.4); }
.hero-tags a {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75); padding: 5px 12px; border-radius: 50px;
  font-size: .78rem; transition: all .15s;
}
.hero-tags a:hover { background: rgba(0,229,255,.15); border-color: rgba(0,229,255,.3); color: #00e5ff; }

/* ── FEATURES STRIP ── */
.features-strip {
  background: #f8fafc; border-bottom: 1px solid var(--border);
  padding: 0;
}
.features-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4,1fr);
}
@media (max-width: 900px) { .features-inner { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .features-inner { grid-template-columns: 1fr; } }
.feature-item {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}
.feature-item:last-child { border-right: none; }
.feature-icon { font-size: 1.75rem; flex-shrink: 0; }
.feature-item strong { display: block; font-size: .875rem; font-weight: 700; color: var(--dark); }
.feature-item span { font-size: .775rem; color: var(--gray); }

/* ── SECTIONS ── */
.section { padding: 48px 24px; max-width: 1400px; margin: 0 auto; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.section-title { font-size: 1.35rem; font-weight: 700; }
.section-link { font-size: .875rem; color: var(--primary); font-weight: 500; }
.section-link:hover { text-decoration: underline; }

/* ── CATEGORIES ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.cat-card {
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 16px;
  text-align: center; transition: all .2s; cursor: pointer;
}
.cat-card:hover {
  border-color: #007a8c;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cat-icon { font-size: 2rem; margin-bottom: 8px; }
.cat-name { font-size: .8rem; font-weight: 600; color: var(--dark); }
.cat-count { font-size: .75rem; color: var(--gray); margin-top: 2px; }

/* ── PHOTO CATEGORY CARDS ── */
.cat-grid-photo {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1200px) { .cat-grid-photo { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 900px)  { .cat-grid-photo { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 600px)  { .cat-grid-photo { grid-template-columns: repeat(2,1fr); } }
.cat-photo-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 140px; background: var(--bg,#1a2744) center/cover;
  display: flex; align-items: flex-end;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.cat-photo-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.cat-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
}
.cat-photo-content {
  position: relative; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 2px; width: 100%;
}
.cat-photo-icon { font-size: 1.25rem; line-height: 1; }
.cat-photo-name { color: #fff; font-size: .85rem; font-weight: 700; }
.cat-photo-count { color: rgba(255,255,255,.65); font-size: .72rem; }

/* ── KATEGORİ 4'LÜ GRID ── */
.cat-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .cat-grid-4 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 700px)  { .cat-grid-4 { grid-template-columns: repeat(2,1fr); } }
.cat-card-4 {
  position: relative; border-radius: var(--radius); overflow: hidden;
  display: block; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer; background: #1a2744;
}
.cat-card-4:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.22); }
.cat-card-4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 200px;
  gap: 2px;
}
.cat-card-4-cell {
  background-color: #1e2d4a;
  overflow: hidden;
  display: flex;
}
.cat-card-4-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .3s;
}
.cat-card-4-empty { background: #162035; }
.cat-card-4-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.80) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
}
.cat-card-4-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 3px;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, #020c12 0%, #07263a 100%);
  padding: 64px 24px; text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,229,255,.06) 0%, transparent 70%);
}
.cta-inner { position: relative; max-width: 600px; margin: 0 auto; }
.cta-inner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.cta-inner p  { color: rgba(255,255,255,.65); margin-bottom: 28px; font-size: 1rem; }
.cta-btn-primary {
  background: linear-gradient(135deg, #007a8c, #00b4cc);
  color: white; padding: 12px 28px; border-radius: 50px;
  font-weight: 700; font-size: .95rem; transition: opacity .15s;
  display: inline-block;
}
.cta-btn-primary:hover { opacity: .9; }
.cta-btn-outline {
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.2); padding: 12px 28px;
  border-radius: 50px; font-weight: 700; font-size: .95rem;
  transition: all .15s; display: inline-block;
}
.cta-btn-outline:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); }

/* ── AD SLOT ── */
.ad-slot-wrap {
  max-width: 1400px; margin: 8px auto; padding: 0 24px;
}
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

/* ── PHOTO GRID (masonry) ── */
.photo-grid {
  columns: 4; column-gap: 12px;
}
@media (max-width: 1200px) { .photo-grid { columns: 3; } }
@media (max-width: 800px)  { .photo-grid { columns: 2; } }
@media (max-width: 500px)  { .photo-grid { columns: 1; } }
.photo-card {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--light);
  cursor: pointer;
}
.photo-card img {
  width: 100%; display: block;
  transition: transform .3s ease;
  color: transparent;
}
.photo-card:hover img { transform: scale(1.03); }
.photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  opacity: 0; transition: opacity .25s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px;
}
.photo-card:hover .photo-overlay { opacity: 1; }
.photo-overlay-title { color: #fff; font-weight: 600; font-size: .875rem;
                       white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-overlay-sub   { color: rgba(255,255,255,.75); font-size: .75rem; margin-top: 2px; }
.photo-overlay-btns  { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.overlay-btn {
  background: rgba(255,255,255,.9); border: none; border-radius: 8px;
  width: 36px; height: 36px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: background .15s;
  color: var(--dark);
}
.overlay-btn:hover { background: var(--white); }

/* ── PHOTO DETAIL ── */
.photo-detail { max-width: 1200px; margin: 40px auto; padding: 0 24px; }
.photo-detail-main img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.photo-meta {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 24px;
  margin-top: 24px; flex-wrap: wrap;
}
.photo-info h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.photo-info .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  background: var(--light); border: 1px solid var(--border);
  border-radius: 50px; padding: 4px 12px; font-size: .8rem; color: var(--gray);
  cursor: pointer; transition: all .15s;
}
.tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.photo-actions { display: flex; gap: 10px; flex-shrink: 0; align-items: flex-start; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px; font-size: .875rem;
  font-weight: 600; cursor: pointer; border: 2px solid transparent;
  transition: all .15s;
}
.btn-outline {
  border-color: var(--border); color: var(--dark); background: var(--white);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-download {
  background: var(--success); color: var(--white);
}
.btn-download:hover { background: #059669; }
.btn-like { background: var(--white); border: 2px solid var(--border); color: var(--dark); }
.btn-like.liked { background: #fef2f2; border-color: var(--danger); color: var(--danger); }
.photo-stats { display: flex; gap: 16px; margin-top: 8px; }
.photo-stat { font-size: .8rem; color: var(--gray); display: flex; align-items: center; gap: 4px; }

/* ── FORM PAGES ── */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 40px 16px;
  background: var(--light);
}
.auth-box {
  background: var(--white); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 40px;
  width: 100%; max-width: 420px;
}
.auth-box h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.auth-box p  { color: var(--gray); font-size: .875rem; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: .9rem; outline: none;
  transition: border-color .2s, box-shadow .2s; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: .75rem; color: var(--gray); margin-top: 4px; }
.btn-block { width: 100%; justify-content: center; padding: 12px; font-size: .95rem; }

/* ── UPLOAD ── */
.upload-wrap { max-width: 720px; margin: 40px auto; padding: 0 24px; }
.upload-wrap h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }
.drop-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 48px; text-align: center; cursor: pointer;
  transition: all .2s; background: var(--light);
}
.drop-zone:hover, .drop-zone.active {
  border-color: var(--primary); background: #eff6ff;
}
.drop-zone input { display: none; }
.drop-icon { font-size: 3rem; margin-bottom: 12px; }
.drop-zone p { color: var(--gray); font-size: .9rem; margin-top: 8px; }
#preview-img {
  max-height: 300px; width: auto; margin: 16px auto 0;
  border-radius: 8px; display: none;
}

/* ── PROFILE ── */
.profile-header {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  padding: 40px 24px; color: var(--white);
}
.profile-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 24px; align-items: center; }
.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center;
  justify-content: center; font-size: 2rem; font-weight: 700;
  color: var(--white); flex-shrink: 0;
}
.profile-name { font-size: 1.5rem; font-weight: 700; }
.profile-stats { display: flex; gap: 24px; margin-top: 8px; }
.profile-stat { font-size: .875rem; color: rgba(255,255,255,.7); }
.profile-stat strong { color: var(--white); font-weight: 700; }

/* ── PAGINATION ── */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  margin: 40px 0;
}
.pagination a, .pagination span {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 500;
  border: 1px solid var(--border); color: var(--dark);
  transition: all .15s;
}
.pagination a:hover { background: var(--light); }
.pagination .active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ── FLASH MESSAGES ── */
.flash-wrap { max-width: 1400px; margin: 12px auto 0; padding: 0 24px; }
.flash {
  padding: 12px 16px; border-radius: 8px; font-size: .875rem;
  margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.flash-success { background: #d1fae5; color: #065f46; }
.flash-error   { background: #fee2e2; color: #991b1b; }
.flash-warning { background: #fef3c7; color: #92400e; }
.flash-info    { background: #dbeafe; color: #1e40af; }

/* ── SORT BAR ── */
.sort-bar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px; padding: 0 24px;
  max-width: 1400px; margin-left: auto; margin-right: auto;
  flex-wrap: wrap;
}
.sort-bar span { font-size: .875rem; color: var(--gray); margin-right: 4px; }
.sort-btn {
  padding: 6px 14px; border-radius: 50px; font-size: .8rem;
  font-weight: 500; border: 1px solid var(--border);
  background: var(--white); color: var(--gray); cursor: pointer;
  transition: all .15s;
}
.sort-btn:hover, .sort-btn.active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  padding: 40px 24px; color: var(--white); margin-bottom: 0;
}
.page-header-inner { max-width: 1400px; margin: 0 auto; }
.page-header h1 { font-size: 2rem; font-weight: 800; }
.page-header p { color: rgba(255,255,255,.7); margin-top: 4px; }

/* ── ADMIN ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: var(--dark); color: var(--white);
  padding: 24px 0; flex-shrink: 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-logo { padding: 0 20px 24px; font-size: 1.1rem; font-weight: 700;
              border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-nav { padding: 16px 0; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; font-size: .875rem; color: rgba(255,255,255,.7);
  transition: all .15s;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,.08); color: var(--white);
}
.admin-nav a .badge {
  margin-left: auto; background: var(--danger);
  color: var(--white); font-size: .7rem; font-weight: 700;
  padding: 2px 6px; border-radius: 50px;
}
.admin-content { flex: 1; padding: 32px; background: var(--light); overflow-x: auto; }
.admin-content h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.stat-card .stat-val { font-size: 1.75rem; font-weight: 700; color: var(--primary); }
.stat-card .stat-label { font-size: .8rem; color: var(--gray); margin-top: 2px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white);
              border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th { background: var(--light); text-align: left; padding: 12px 16px;
                 font-size: .8rem; font-weight: 600; color: var(--gray);
                 text-transform: uppercase; letter-spacing: .5px; }
.data-table td { padding: 12px 16px; border-top: 1px solid var(--border); font-size: .875rem; vertical-align: middle; }
.data-table tr:hover td { background: var(--light); }
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 50px; font-size: .75rem; font-weight: 600;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #dbeafe; color: #1e40af; }
.admin-btn {
  padding: 5px 12px; border-radius: 6px; font-size: .8rem;
  font-weight: 600; border: none; cursor: pointer; transition: opacity .15s;
}
.admin-btn:hover { opacity: .85; }
.admin-btn-success { background: var(--success); color: var(--white); }
.admin-btn-danger  { background: var(--danger);  color: var(--white); }
.admin-btn-gray    { background: var(--light); color: var(--gray); border: 1px solid var(--border); }

/* ── RELATED ── */
.related { padding: 40px 24px; max-width: 1400px; margin: 0 auto; }
.related h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }

/* ── EMPTY STATE ── */
.empty { text-align: center; padding: 80px 24px; color: var(--gray); }
.empty .empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty h2 { font-size: 1.2rem; color: var(--dark); margin-bottom: 8px; }

/* ── FOOTER ── */
footer {
  background: #060e14; color: rgba(255,255,255,.55);
  padding: 56px 24px 24px;
  border-top: 1px solid rgba(0,229,255,.08);
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 280px 1fr; gap: 48px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 16px;
}
.footer-brand p { font-size: .8rem; line-height: 1.7; margin-bottom: 16px; }
.footer-email {
  display: inline-flex; align-items: center; gap: 8px;
  color: #00e5ff; font-size: .85rem; font-weight: 500;
  background: rgba(0,229,255,.06); border: 1px solid rgba(0,229,255,.15);
  padding: 8px 14px; border-radius: 8px; transition: all .15s;
}
.footer-email:hover { background: rgba(0,229,255,.12); }
.footer-links-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 700px) { .footer-links-grid { grid-template-columns: repeat(2,1fr); } }
.footer-col h3 { color: var(--white); font-size: .85rem; font-weight: 700;
                 margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col a  { display: block; color: rgba(255,255,255,.5); font-size: .825rem;
                  margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .775rem; flex-wrap: wrap; gap: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 48px 16px 40px; }
  .hero-stats { gap: 16px; }
  .nav-search { display: none; }
  .photo-meta { flex-direction: column; }
  .photo-actions { width: 100%; }
  .admin-sidebar { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
