/* app.css */

/* Glass effect for header - Magenta Glass */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Glass effect for welcome page - White Glass */
.glass-white {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Logo circle button */
.logo-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.logo-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4);
}

.logo-circle span {
  font-size: 10px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* Avatar clip styles */
.avatar-clip {
  border-radius: 50%;
  overflow: hidden;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
}

/* Card styles */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Profile specific styles */
#user-profile {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Statistics cards animation */
.stats-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Bid history and activity cards */
.activity-item {
  transition: background-color 0.2s ease;
}

.activity-item:hover {
  background-color: #f8fafc;
}

/* Button animations */
.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Connection status indicators */
.connection-status {
  position: relative;
}

.connection-status::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

.connection-status.connected::before {
  background: #10b981;
}

/* Profile dropdown arrow */
.profile-dropdown-arrow {
  transition: transform 0.2s ease;
  cursor: pointer;
}

.profile-dropdown-arrow:hover {
  transform: scale(1.1);
}

/* User avatar in header */
.user-avatar {
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #user-profile .max-w-6xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .grid.md\\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .grid.md\\:grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Section transitions */
section {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

section.hidden {
  display: none !important;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

section:not(.hidden) {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Screen Reader Only - Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Password Toggle Button - Admin Login */
#toggleAdminPassword {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

#toggleAdminPassword:focus {
  outline: none;
}

#toggleAdminPassword:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #a855f7;
  border-radius: 0.5rem;
}

#toggleAdminPassword:active #eyeIconAdmin {
  transform: scale(0.9);
}

/* Password Toggle Active State */
#toggleAdminPassword[aria-pressed="true"] {
  color: #a855f7;
}

#toggleAdminPassword[aria-pressed="true"] #eyeIconAdmin {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Like Button Styles */
.like-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.like-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  transform: scale(1.05);
}

.like-icon {
  width: 18px;
  height: 18px;
  transition: fill 0.2s ease, color 0.2s ease;
}

.like-count {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* Pulse animation when liked */
@keyframes heart-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.like-btn.liked .like-icon {
  animation: heart-pulse 0.3s ease-out;
}

/* ============================================
   ZOOM EFFECT FOR ART COLLECTION IMAGES
   ============================================ */

/* Zoom effect for 27 Hero Cards */
.art-collection-card .hero-image-area img {
  transition: transform 0.3s ease-in-out;
  transform: scale(1);
}

.art-collection-card .hero-image-area:hover img {
  transform: scale(1.1);
}

/* Zoom effect for 20 NFT Variant Cards */
.art-variant-card img[data-variant-image] {
  transition: transform 0.3s ease-in-out;
  transform: scale(1);
}

.art-variant-card:hover img[data-variant-image] {
  transform: scale(1.1);
}

/* Alternative: Direct class-based zoom */
.zoom-on-hover {
  transition: transform 0.3s ease-in-out;
  transform: scale(1);
}

.zoom-on-hover:hover {
  transform: scale(1.1);
}


