/* Variables */
:root {
  --bg-dark: #FAFAFA;
  --bg-card: rgba(255, 255, 255, 0.75);
  --border-light: rgba(0, 0, 0, 0.08);
  --text-main: #111827;
  --text-muted: #4B5563;
  --accent: #8B5CF6;
  --accent-glow: rgba(139, 92, 246, 0.08);
  --copper: #ca8a66;
  --copper-glow: rgba(202, 138, 102, 0.08);
}

.dark {
  --bg-dark: #1F2937;
  /* Dark slate */
  --bg-card: rgba(31, 41, 55, 0.6);
  --border-light: rgba(255, 255, 255, 0.08);
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --accent: #A78BFA;
  --accent-glow: rgba(167, 139, 250, 0.12);
  --copper: #d7ab8c;
  --copper-glow: rgba(215, 171, 140, 0.12);
}

body {
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at top right, var(--accent-glow) 0%, transparent 40%),
    radial-gradient(circle at bottom left, var(--copper-glow) 0%, transparent 40%);
  color: var(--text-main);
  min-height: 100vh;
}

::selection {
  background: var(--accent);
  color: var(--bg-dark);
}

/* Base Glass Effect */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Navigation System */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, var(--accent), var(--copper));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Refined Image Wrapper */
.photo-frame {
  position: relative;
  z-index: 10;
}

.photo-frame::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), transparent);
  opacity: 0.3;
  z-index: -1;
  filter: blur(15px);
}