/* =========================================================
   PROMISE PORTFOLIO - CORE DESIGN SYSTEM & STYLES (css/main.css)
   ========================================================= */

:root {
  --bg: #06060c;
  --bg-subtle: #0a0b12;
  --bg-card: #0e0f1a;
  --bg-card-hover: #141524;
  --bg-glass: rgba(14, 15, 26, 0.75);
  --bg-glass-strong: rgba(10, 11, 18, 0.95);
  
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #6d28d9;
  --purple-glow: rgba(139, 92, 246, 0.35);
  --purple-glow-soft: rgba(139, 92, 246, 0.15);
  
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(139, 92, 246, 0.4);
  --border-glow: 0 0 15px rgba(139, 92, 246, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(139, 92, 246, 0.3);
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== LIGHT THEME DEFINITION ========== */
[data-theme="light"],
body.light-theme {
  --bg: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-strong: rgba(255, 255, 255, 0.96);
  
  --purple: #7c3aed;
  --purple-light: #6d28d9;
  --purple-dark: #5b21b6;
  --purple-glow: rgba(124, 58, 237, 0.25);
  --purple-glow-soft: rgba(124, 58, 237, 0.1);
  
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --border: rgba(15, 23, 42, 0.12);
  --border-hover: rgba(124, 58, 237, 0.45);
  --border-glow: 0 0 15px rgba(124, 58, 237, 0.2);
  
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(124, 58, 237, 0.15);
}

[data-theme="light"] body {
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(124, 58, 237, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(99, 102, 241, 0.04) 0%, transparent 45%);
}

/* Light Theme Component Overrides */
[data-theme="light"] .input-wrap input,
[data-theme="light"] .input-wrap textarea,
[data-theme="light"] .search-box input,
[data-theme="light"] .form-field input,
[data-theme="light"] .form-field textarea,
[data-theme="light"] .form-field select {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .code-badge,
[data-theme="light"] .available-badge,
[data-theme="light"] .floating-badge,
[data-theme="light"] .project-tag {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  color: var(--purple-light);
}

[data-theme="light"] .btn-secondary {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--text);
}

[data-theme="light"] .btn-secondary:hover {
  background: #f1f5f9;
  border-color: var(--purple);
}

[data-theme="light"] .project-img {
  background: #f1f5f9;
}

[data-theme="light"] .project-techs span,
[data-theme="light"] .tech-pill {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.18);
  color: var(--purple-light);
  font-weight: 500;
}

[data-theme="light"] .tech-stack {
  background: rgba(241, 245, 249, 0.7);
}

/* Base Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark light;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(109, 40, 217, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.85rem 3rem;
  background: rgba(6, 6, 12, 0.95);
  border-bottom-color: rgba(139, 92, 246, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo span {
  color: var(--purple-light);
  text-shadow: 0 0 12px var(--purple-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--purple);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-cv-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cv-nav:hover {
  background: var(--purple-glow-soft);
  border-color: var(--purple);
  color: var(--purple-light);
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.admin-link-nav {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  transition: var(--transition);
  white-space: nowrap;
}

.admin-link-nav:hover {
  color: var(--purple-light);
  border-color: var(--purple-light);
  background: rgba(139, 92, 246, 0.08);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  background: var(--purple-glow-soft);
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--purple-glow-soft);
}

.theme-toggle-btn .sun-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.theme-toggle-btn .moon-icon {
  display: none;
  width: 18px;
  height: 18px;
}

[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: block;
}

/* Mobile Theme Switch */
.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.mobile-theme-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: var(--purple-glow-soft);
  border: 1px solid var(--purple);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple-light);
  cursor: pointer;
  transition: var(--transition);
}

.theme-switch-pill:hover {
  background: var(--purple);
  color: white;
}

/* Hamburger & Mobile Menu Drawer */
.hamburger {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  transition: var(--transition);
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001;
}

.hamburger:hover {
  border-color: var(--purple-light);
  background: rgba(139, 92, 246, 0.12);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}

.hamburger:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 2px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.3s ease;
  transform-origin: center;
}

.hamburger.active {
  border-color: var(--purple-light);
  background: rgba(139, 92, 246, 0.15);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--purple-light);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--purple-light);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 4, 10, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(8, 8, 16, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  padding: 1.25rem 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 999;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(139, 92, 246, 0.12);
  max-height: calc(100vh - 65px);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-menu-link {
  padding: 0.85rem 1.1rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.mobile-menu-link .link-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-menu-link .link-content svg {
  color: var(--purple-light);
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.mobile-menu-link .link-arrow {
  font-size: 1.1rem;
  color: var(--text-dim);
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-menu-link:hover {
  color: var(--text);
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateX(4px);
}

.mobile-menu-link:hover .link-content svg {
  opacity: 1;
  transform: scale(1.1);
}

.mobile-menu-link:hover .link-arrow {
  color: var(--purple-light);
  transform: translateX(3px);
}

.mobile-menu-link.active {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
  border-left: 3px solid var(--purple-light);
  border-color: rgba(139, 92, 246, 0.35);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

.mobile-menu-link.active .link-content svg {
  color: var(--purple-light);
  opacity: 1;
}

.mobile-menu-link.active .link-arrow {
  color: var(--purple-light);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-btn-cv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px var(--purple-glow);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-btn-cv:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--purple-glow);
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  color: white;
}

.mobile-btn-admin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border);
  color: var(--text-dim);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-btn-admin:hover {
  color: var(--purple-light);
  border-color: var(--purple-light);
  background: rgba(139, 92, 246, 0.08);
}

body.mobile-menu-open {
  overflow: hidden;
}

/* ========== COMMON BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--purple-glow);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--purple-glow);
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  color: white;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: var(--text);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  background: var(--purple-glow-soft);
}

/* ========== BADGES & TAGS ========== */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-status.available {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-status.available::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 2s infinite;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--purple-glow-soft);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--purple-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ========== MODAL SYSTEM ========== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px var(--purple-glow-soft);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
}

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

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.modal-body {
  padding: 1.8rem;
}

.modal-footer {
  padding: 1.2rem 1.8rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* ========== TOAST NOTIFICATION CONTAINER ========== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  min-width: 280px;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px var(--purple-glow-soft);
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast-item.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.toast-item.success {
  border-color: rgba(34, 197, 94, 0.4);
}
.toast-item.success .toast-icon {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.toast-item.error {
  border-color: rgba(239, 68, 68, 0.4);
}
.toast-item.error .toast-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.toast-item.info {
  border-color: rgba(139, 92, 246, 0.4);
}
.toast-item.info .toast-icon {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-light);
}

.toast-text h5 {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.toast-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========== FOOTER ========== */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 3rem 2.5rem;
  background: rgba(5, 5, 10, 0.8);
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-logo span {
  color: var(--purple-light);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-nav {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--purple-light);
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--purple);
  color: var(--purple-light);
  background: var(--purple-glow-soft);
  transform: translateY(-2px);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========== UNIVERSAL RESPONSIVENESS ========== */
@media (max-width: 900px) {
  .navbar {
    padding: 0.85rem 1.25rem;
  }
  
  .navbar.scrolled {
    padding: 0.75rem 1.25rem;
  }

  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  footer {
    padding: 2.5rem 1.25rem;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-nav {
    gap: 1.2rem;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .btn-cv-nav,
  .admin-link-nav {
    display: none;
  }

  .nav-actions {
    gap: 0;
  }

  .toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .toast-item {
    min-width: 0;
    width: 100%;
  }

  .modal-backdrop {
    padding: 0.75rem;
  }

  .modal-card {
    border-radius: var(--radius-md);
  }

  .modal-header {
    padding: 1.2rem 1.25rem 1rem;
  }

  .modal-body {
    padding: 1.25rem;
  }

  .modal-footer {
    padding: 1rem 1.25rem;
  }
}
