/* Light Cyberpunk Theme */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
  --primary-neon: #00d4ff;
  --secondary-neon: #ff0080;
  --accent-neon: #00ff88;
  --warning-neon: #ffaa00;
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-primary: #e2e8f0;
  --border-neon: rgba(0, 212, 255, 0.3);
  --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.2);
  --shadow-neon-pink: 0 0 20px rgba(255, 0, 128, 0.2);
  --shadow-neon-green: 0 0 20px rgba(0, 255, 136, 0.2);
}

html {
  font-size: 14px;
  font-family: 'Rajdhani', sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

/* Add subtle cyberpunk background pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 255, 136, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Navigation Styling */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border-neon) !important;
  box-shadow: var(--shadow-neon);
  position: relative;
  z-index: 1040;
}

.navbar-brand {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary) !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  color: var(--primary-neon) !important;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.nav-link {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  color: var(--text-secondary) !important;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: var(--primary-neon) !important;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* User Profile Dropdown Styling */
.user-profile-link {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1050;
}

.user-profile-link:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.user-profile-link i {
  font-size: 1.2rem;
  color: var(--primary-neon);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.user-claims-dropdown {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: 2px solid var(--border-neon);
  border-radius: 12px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(0, 212, 255, 0.2);
  min-width: 300px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  z-index: 1051 !important;
  position: relative;
}

.user-claims-dropdown .dropdown-header {
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-neon);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-neon);
}

.claim-item {
  padding: 0.75rem 1rem !important;
  border-radius: 6px;
  margin: 0.25rem 0.5rem;
  transition: all 0.3s ease;
  cursor: default;
}

.claim-item:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
}

.claim-type {
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.claim-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-word;
  line-height: 1.4;
}

.user-claims-dropdown .dropdown-divider {
  border-color: var(--border-neon);
  margin: 0.5rem 0;
}

.user-claims-dropdown .dropdown-item {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  padding: 0.75rem 1rem;
}

.user-claims-dropdown .dropdown-item:hover {
  background: rgba(255, 0, 128, 0.1);
  color: var(--secondary-neon);
  text-shadow: 0 0 8px rgba(255, 0, 128, 0.3);
}

.user-claims-dropdown .dropdown-item i {
  color: var(--secondary-neon);
  text-shadow: 0 0 8px rgba(255, 0, 128, 0.4);
}

/* Button Styling */
.btn {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-neon), #0099cc);
  border: none;
  color: white;
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0099cc, var(--primary-neon));
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-neon), #cc0066);
  border: none;
  color: white;
  box-shadow: var(--shadow-neon-pink);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #cc0066, var(--secondary-neon));
  box-shadow: 0 0 25px rgba(255, 0, 128, 0.4);
  transform: translateY(-2px);
}

/* Form Controls */
.form-control {
  border: 2px solid var(--border-primary);
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-neon);
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
  background: var(--bg-secondary);
}

/* Card Styling */
.card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-neon);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), var(--shadow-neon);
  transform: translateY(-2px);
}

.card-header {
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  border-bottom: 1px solid var(--border-neon);
  font-family: 'Orbitron', monospace;
  font-weight: 600;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

h2 {
  font-size: 2rem;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.2);
}

/* Container Styling */
.container {
  position: relative;
}

/* Focus states */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
}

/* Utility Classes */
.text-neon-primary {
  color: var(--primary-neon);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.text-neon-secondary {
  color: var(--secondary-neon);
  text-shadow: 0 0 8px rgba(255, 0, 128, 0.4);
}

.text-neon-accent {
  color: var(--accent-neon);
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.bg-neon-glow {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 128, 0.1));
  border: 1px solid var(--border-neon);
  box-shadow: var(--shadow-neon);
}

/* Animation for cyberpunk feel */
@keyframes neonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.neon-pulse {
  animation: neonPulse 2s ease-in-out infinite;
}

/* Media Gallery Styling */
.media-groups {
  margin-top: 2rem;
}

.media-group {
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-neon);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-neon);
}

.group-title {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-neon);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.group-title i {
  color: var(--secondary-neon);
  text-shadow: 0 0 8px rgba(255, 0, 128, 0.4);
}

.media-count {
  background: linear-gradient(135deg, var(--accent-neon), #00cc66);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-neon-green);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.media-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--border-primary);
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), var(--shadow-neon);
  border-color: var(--border-neon);
}

.media-card.video-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), var(--shadow-neon);
}

.media-card.photo-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), var(--shadow-neon-pink);
}

.media-thumbnail {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}

.media-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.media-card:hover .media-thumbnail img {
  transform: scale(1.05);
}



.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 212, 255, 0.9);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-neon);
}

.media-card:hover .play-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.photo-overlay {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 0, 128, 0.9);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-neon-pink);
}

.media-info {
  padding: 1rem;
}

.media-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.media-author {
  font-weight: 600;
  color: var(--primary-neon);
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
}

.media-size, .media-date {
  color: var(--text-muted);
}

.media-type-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.media-type-badge.video {
  background: linear-gradient(135deg, var(--primary-neon), #0099cc);
  color: white;
  box-shadow: var(--shadow-neon);
}

.media-type-badge.photo {
  background: linear-gradient(135deg, var(--secondary-neon), #cc0066);
  color: white;
  box-shadow: var(--shadow-neon-pink);
}

.media-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.no-media {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.no-media i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.no-media h3 {
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.no-media p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .user-claims-dropdown {
    min-width: 280px;
    margin-left: -1rem;
  }
  
  .claim-item {
    margin: 0.25rem 0.25rem;
  }
  
  .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .media-group {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  .group-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .group-title {
    font-size: 1.25rem;
  }
  
  .media-count {
    align-self: flex-end;
  }
}