/* Custom Styles for PixelVault PHP Application */

:root {
  --bg-dark-main: #090d16;
  --bg-surface: #111827;
  --bg-surface-elevated: #1e293b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --primary-color: #6366f1;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  color: #f8fafc;
}

.navbar-custom {
  background: rgba(17, 24, 39, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle) !important;
}

.bg-surface {
  background-color: var(--bg-surface) !important;
}

.bg-surface-dark {
  background-color: #060911 !important;
}

.card-custom {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-custom:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.logo-icon-box {
  width: 38px;
  height: 38px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

/* Image Gallery Card */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #111827;
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.7);
  border-color: rgba(99, 102, 241, 0.4);
}

.gallery-img-container {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #000;
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-img-container img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  flex-column: column;
  justify-content: space-between;
  padding: 1rem;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.code-box {
  font-family: 'JetBrains Mono', monospace;
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  overflow-x: auto;
  max-height: 400px;
}

/* Custom Modal */
.modal-content {
  background-color: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}
