:root {
  --bg-main: #090c10;
  --bg-surface: #101520;
  --bg-card: #141b29;
  --bg-card-hover: #1a2336;
  --bg-elevated: #1e293b;
  --border-color: rgba(148, 163, 184, 0.15);
  --border-glow: rgba(56, 189, 248, 0.4);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #38bdf8;
  --primary-hover: #7dd3fc;
  --primary-glow: rgba(56, 189, 248, 0.25);
  --accent-green: #4ade80;
  --accent-purple: #a855f7;
  --accent-orange: #f97316;
  --accent-amber: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --container-max: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(168, 85, 247, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(74, 222, 128, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a:hover {
  color: var(--primary-hover);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 16, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-brand .brand-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

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

.nav-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

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

.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-print:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary);
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-admin:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--primary);
  color: #fff;
}

/* HERO / BUSINESS CARD */
.hero {
  padding: 3.5rem 0 2.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-avatar-wrapper {
  position: relative;
  text-align: center;
}

.hero-avatar {
  width: 220px;
  height: 220px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.15);
  transition: var(--transition);
}

.hero-avatar:hover {
  transform: scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(56, 189, 248, 0.25);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(74, 222, 128, 0.12);
  color: #86efac;
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.9rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-content h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-role {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-about {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 1.4rem;
  white-space: pre-line;
}

/* QUICK CONTACT BAR IN HERO */
.hero-contacts-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
  font-size: 0.9rem;
}

.hero-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #e2e8f0;
}

.hero-contact-item a {
  color: #fff;
  font-weight: 500;
}

.hero-contact-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.hero-chips {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: #e2e8f0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 6px 24px rgba(2, 132, 199, 0.55);
  transform: translateY(-2px);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(148, 163, 184, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

/* SECTION TITLES */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* RESUME / WORK EXPERIENCE SECTION */
.resume-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  background: rgba(16, 21, 32, 0.3);
}

.resume-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.resume-timeline {
  position: relative;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.resume-timeline::before {
  content: '';
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 7px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent-purple), rgba(148, 163, 184, 0.2));
}

.timeline-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  transition: var(--transition);
}

.timeline-item:hover {
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid var(--primary);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  transform: translateX(-50%);
  margin-left: 8px;
}

.timeline-item.current .timeline-dot {
  border-color: var(--accent-green);
  box-shadow: 0 0 10px #22c55e;
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.timeline-company {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.timeline-company a {
  color: #fff;
}

.timeline-company a:hover {
  color: var(--primary);
}

.timeline-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-current {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.timeline-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.timeline-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-amber);
  margin-bottom: 0.85rem;
}

.timeline-location {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-left: 0.5rem;
  font-weight: 400;
}

.timeline-duties {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.timeline-duties li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.timeline-duties li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* EDUCATION & LANGUAGES */
.edu-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.info-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

/* SKILLS GROUPED */
.skills-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
}

.skills-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.skill-category-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.skill-category-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.skills-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.skill-tag:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  color: #fff;
}

/* PORTFOLIO SECTION */
.portfolio-section {
  padding: 4rem 0 5rem;
}

.filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
  background: var(--bg-surface);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.categories-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background: var(--primary);
  color: #090c10;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  gap: 0.5rem;
}

.search-box input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  width: 180px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.1);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d121c;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.media-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.media-badge.video { color: #f87171; }
.media-badge.gallery { color: #38bdf8; }

.card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.badge-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.45rem;
  line-height: 1.25;
}

.card-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
}

.btn-details {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.btn-details:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.card-link-out {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--accent-green);
  font-weight: 600;
  text-decoration: none;
}

.card-link-out:hover {
  text-decoration: underline;
}

.btn-playable-link {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80 !important;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-playable-link:hover {
  background: #16a34a;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}

.btn-play-game {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35) !important;
  font-weight: 700 !important;
}

/* MODAL */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 9, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.modal-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
  border-top-left-radius: calc(var(--radius-lg) - 1px);
  border-top-right-radius: calc(var(--radius-lg) - 1px);
  overflow: hidden;
}

.modal-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  background: #000;
}

.modal-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.modal-content {
  padding: 2rem;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.modal-subtitle {
  font-size: 1rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.modal-meta-item .meta-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.modal-meta-item .meta-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.modal-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  white-space: pre-line;
  margin-bottom: 1.75rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
}

/* CONTACT SECTION */
.contact-section {
  padding: 4.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
}

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-telegram {
  background: #229ed9;
  color: #fff;
}

.btn-telegram:hover {
  background: #1b8ec5;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.4);
}

.btn-email {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: #fff;
}

.btn-email:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  background: var(--bg-main);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-admin-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }
  .hero-about {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-contacts-bar {
    justify-content: center;
  }
  .hero-chips {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .edu-lang-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    flex-direction: column;
    text-align: center;
  }
  .contact-links {
    justify-content: center;
  }
  .nav-menu {
    display: none;
  }
}

/* PRINT STYLES (for PDF / Resume printing) */
@media print {
  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt !important;
  }
  .navbar, .filters-bar, .hero-actions, .modal-backdrop, .btn-admin, .btn-print, footer, .contact-section {
    display: none !important;
  }
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .hero {
    padding: 0 0 1.5rem 0 !important;
  }
  .hero-grid {
    grid-template-columns: 140px 1fr !important;
    gap: 1.5rem !important;
  }
  .hero-avatar {
    width: 120px !important;
    height: 120px !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
  .hero-content h1 {
    font-size: 1.8rem !important;
    color: #000 !important;
    -webkit-text-fill-color: initial !important;
    background: none !important;
  }
  .hero-role {
    color: #0284c7 !important;
    font-size: 1.1rem !important;
  }
  .timeline-item {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    page-break-inside: avoid !important;
    margin-bottom: 1rem !important;
  }
  .timeline-company, .timeline-role {
    color: #000 !important;
  }
  .timeline-duties li {
    color: #333 !important;
  }
  .timeline-timeline::before {
    background: #ccc !important;
  }
  .info-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #000 !important;
  }
  .info-card h3 {
    color: #000 !important;
  }
  .skill-category-box {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
  }
  .skill-tag {
    background: #f1f5f9 !important;
    color: #000 !important;
    border: 1px solid #cbd5e1 !important;
  }
  .project-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #000 !important;
    page-break-inside: avoid !important;
  }
  .card-title {
    color: #000 !important;
  }
}
