/* ── CSS Variables — minimal dark palette ── */
:root {
  --bg-primary:     #0c0c0c;
  --bg-secondary:  #111111;
  --bg-card:       #161616;
  --bg-card-hover: #1c1c1c;
  --accent:        #a8a8a8;
  --accent2:       #d0d0d0;
  --accent-glow:   rgba(168,168,168,0.08);
  --text-primary:  #efefef;
  --text-secondary:#888888;
  --text-muted:    #444444;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(255,255,255,0.18);
  --font-display:  'Sora', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

/* ── Navbar Smooth Blur ── */
#mainNav {
  background: rgba(12,12,12,0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#mainNav.scrolled { padding: 10px 0; background: rgba(12,12,12,0.93); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary) !important;
  letter-spacing: -0.04em;
}
.navbar-brand span { color: var(--accent2); }
.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-secondary) !important;
  padding: 6px 14px !important;
  border-radius: 6px;
  transition: all 0.25s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary) !important;
  background: rgba(255,255,255,0.05);
}
.navbar-toggler { border: 1px solid var(--border); }

/* ── Hero Section ── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  padding: 100px 0 60px;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
}
.hero-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--text-primary);
}
.text-accent { color: var(--accent2); }
.hero-role {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text-secondary);
}
.hero-role .dot { margin: 0 8px; opacity: 0.3; }
.hero-desc {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 500px;
}

/* Hero Buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-hero-primary:hover {
  background: var(--accent2);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255,255,255,0.05);
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid var(--border-hover);
  transition: all 0.25s ease;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
  color: var(--text-primary);
  transform: translateY(-3px);
}

/* Social Network Link Icons */
.social-row { display: flex; gap: 10px; }
.social-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.25s ease;
  text-decoration: none;
}
.social-icon i { font-size: 1.1rem; }
.social-icon:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255,255,255,0.03);
}

/* ── Avatar Section with interactive glow ── */
.avatar-wrapper {
  position: relative;
  width: 330px; height: 330px;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.avatar-wrapper:hover {
  transform: scale(1.02);
}
.avatar-img {
  position: absolute; inset: 0;
  border-radius: 20px;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.avatar-wrapper:hover .avatar-img {
  border-color: var(--border-hover);
}
.avatar-initials {
  display: flex;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: -0.03em;
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: 20px;
  border: 1px solid var(--border);
  width: 100%; height: 100%;
}
.avatar-upload-hint {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.75);
  color: #aaa;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 2;
  border: 1px solid var(--border);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.avatar-wrapper:hover .avatar-upload-hint { opacity: 1; }

.avatar-corner {
  position: absolute; width: 16px; height: 16px; z-index: 2;
}
.avatar-corner.tl { top: -1px; left: -1px; border-top: 2px solid rgba(255,255,255,0.4); border-left: 2px solid rgba(255,255,255,0.4); border-radius: 4px 0 0 0; }
.avatar-corner.tr { top: -1px; right: -1px; border-top: 2px solid rgba(255,255,255,0.4); border-right: 2px solid rgba(255,255,255,0.4); border-radius: 0 4px 0 0; }
.avatar-corner.bl { bottom: -1px; left: -1px; border-bottom: 2px solid rgba(255,255,255,0.4); border-left: 2px solid rgba(255,255,255,0.4); border-radius: 0 0 0 4px; }
.avatar-corner.br { bottom: -1px; right: -1px; border-bottom: 2px solid rgba(255,255,255,0.4); border-right: 2px solid rgba(255,255,255,0.4); border-radius: 0 0 4px 0; }

/* ── Generic Sections ── */
.section-block { padding: 90px 0; }
.section-dark { background: var(--bg-secondary); }
.section-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.section-sub { color: var(--text-secondary); font-size: 0.96rem; }

/* ── About Glow Animations ── */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: all 0.3s ease;
}
.about-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px var(--accent-glow);
}
.about-card p { color: var(--text-secondary); font-size: 0.96rem; margin-bottom: 14px; }
.about-card p:last-child { margin-bottom: 0; }
.about-card strong { color: var(--text-primary); }

/* Code mockup card */
.code-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
}
.code-dots {
  display: flex; gap: 6px;
  padding: 12px 16px;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dot-red   { width:11px;height:11px;border-radius:50%;background:#ff5f57; }
.dot-yellow{ width:11px;height:11px;border-radius:50%;background:#ffbd2e; }
.dot-green { width:11px;height:11px;border-radius:50%;background:#28c840; }
.code-content {
  font-family: var(--font-mono) !important;
  font-size: 0.78rem;
  line-height: 1.85;
  padding: 20px;
  margin: 0;
  color: #ccc;
}
.c-kw  { color: #ff79c6; }
.c-cl  { color: #8be9fd; }
.c-str { color: #f1fa8c; }
.c-fn  { color: #50fa7b; }

/* Personal Info list card */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list li i { color: var(--text-muted); font-size: 0.95rem; }

/* ── Skill Interactive Cards ── */
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.skill-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px var(--accent-glow);
  transform: translateY(-2px);
}
.skill-group-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex; align-items: center;
}
.skill-item { margin-bottom: 15px; }
.skill-item:last-child { margin-bottom: 0; }
.skill-info {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.skill-logo { width: 18px; height: 18px; object-fit: contain; }
.skill-pct { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; font-family: var(--font-mono); }
.skill-bar-bg {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.skill-bar {
  height: 100%;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.bar-learning { background: rgba(255,255,255,0.2); }
.badge-learning {
  font-size: 0.62rem;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1px 7px;
  border-radius: 100px;
  margin-left: 6px;
  font-weight: 600;
}

/* ── Project Cards ── */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 40px var(--accent-glow);
}
.project-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
  position: relative;
}
.project-img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-img-wrapper img { transform: scale(1.05); }
.project-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--text-muted);
  gap: 8px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}
.project-img-placeholder i { font-size: 1.8rem; opacity: 0.25; }
.project-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.project-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.project-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.project-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 100px;
}
.project-links { display: flex; gap: 8px; margin-top: auto; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 7px;
  transition: all 0.25s ease;
}
.project-link:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}
.project-link.primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: transparent;
}
.project-link.primary:hover {
  background: var(--accent2);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* ── Review Cards ── */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}
.review-card:hover { border-color: var(--border-hover); box-shadow: 0 15px 35px var(--accent-glow); }
.review-quote {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text-muted);
  font-family: serif;
  margin-bottom: 14px;
  opacity: 0.5;
}
.review-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.review-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.review-meta { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); }
.review-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.review-stars i { color: #333; font-size: 0.8rem; }
.review-stars i.lit { color: #aaa; }

.review-add-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 18px;
  border: 1px dashed var(--border-hover);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.review-add-btn:hover {
  border-style: solid;
  border-color: rgba(255,255,255,0.3);
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
}

/* Review inputs & forms */
.review-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 14px;
  padding: 28px;
  display: none;
}
.review-form-wrap.open { display: block; }
.rev-label {
  display: block; font-size: 0.78rem; font-family: var(--font-mono);
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 7px;
}
.rev-input, .rev-textarea {
  width: 100%; background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-primary); padding: 10px 14px;
  font-size: 0.88rem; outline: none; transition: border-color 0.2s;
}
.rev-input:focus, .rev-textarea:focus { border-color: var(--border-hover); }
.rev-textarea { resize: vertical; min-height: 90px; }
.rev-star-select { display: flex; gap: 6px; margin-bottom: 18px; }
.rev-star-select i { font-size: 1.2rem; color: var(--text-muted); cursor: pointer; transition: color 0.15s; }
.rev-star-select i:hover, .rev-star-select i.active { color: #fff; }
.rev-submit {
  background: var(--text-primary); color: var(--bg-primary); border: none;
  border-radius: 8px; padding: 10px 22px; font-weight: 700; font-size: 0.85rem;
  cursor: pointer; transition: all 0.2s;
}
.rev-submit:hover { background: var(--accent2); transform: translateY(-1px); }

/* ── Contact Section ── */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 52px 40px;
  max-width: 680px;
  margin: 0 auto;
  transition: all 0.3s ease;
}
.contact-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px var(--accent-glow);
}
.contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px; border: 1px solid var(--border-hover);
  color: var(--text-primary); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: all 0.25s ease;
}
.contact-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
  color: var(--text-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* ── Footer ── */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 26px 0; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-link { font-size: 0.82rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--text-secondary); }

/* ── Scroll Reveal Dynamic ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Particle Background Canvas ── */
#particleCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

@media (max-width: 767px) {
  .avatar-wrapper { width: 260px; height: 260px; }
}
/* Khung chứa Avatar độc lập */
.avatar-wrapper {
  position: relative;
  width: 330px;
  height: 330px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--bg-card);
  overflow: visible; /* Cho phép quầng sáng tỏa ra ngoài viền */
}

/* Ảnh tĩnh tối giản, sắc nét */
.avatar-img {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2; /* Nằm trên lớp hiệu ứng */
  border: 1px solid var(--border);
  transition: border-color 0.4s ease;
}

/* Lớp hiệu ứng nền sang trọng (Elegant Shadow Glow) */
.avatar-elegant-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.3); /* Màu trắng bạc nhẹ */
  z-index: 1; /* Nằm dưới lớp ảnh */
  opacity: 0; /* Mặc định ẩn đi */
  filter: blur(20px); /* Làm nhòe tạo quầng sáng tỏa lan */
  transition: opacity 0.5s ease, filter 0.5s ease;
}

/* Khi hover, đường viền ảnh sáng hơn một chút */
.avatar-wrapper:hover .avatar-img {
  border-color: rgba(255, 255, 255, 0.25);
}
/* Vòng tròn công nghệ đứt đoạn (Kích thước ôm khít avatar cũ) */
.tech-ring-background {
  position: absolute;
  width: 345px;
  height: 345px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
}
.tech-ring-background::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px double rgba(255, 255, 255, 0.08);
}
.avatar-wrapper {
  position: relative;
  width: 330px;
  height: 330px;
  margin: 0 auto;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-ring-background {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
  transition: all 0.5s ease;
}

.tech-ring-background::before {
  content: '';
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  border: 1px double rgba(255, 255, 255, 0.08);
}

.avatar-wrapper:hover .tech-ring-background {
  opacity: 0.9;
  border-color: rgba(255, 255, 255, 0.4);
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.25));
}

.avatar-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  z-index: 4;
  pointer-events: none;
}
.avatar-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.avatar-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.avatar-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.avatar-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.avatar-elegant-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
  opacity: 0;
  filter: blur(30px);
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.glass-sleek-frame {
  position: absolute;
  width: 332px;
  height: 332px;
  top: -1px;
  left: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.glass-sleek-frame:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.05) 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.glass-sleek-frame .avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 19px;
  object-fit: cover;
  transition: filter 0.4s ease;
}

.glass-sleek-frame:hover .avatar-img {
  filter: brightness(1.05);
}
.review-menu-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  color: #888;
  transition: background 0.2s;
}

.review-menu-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.review-dropdown {
  position: absolute;
  top: 38px;
  right: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 100;
  min-width: 130px;
  overflow: hidden;
}

.review-dropdown a,
.review-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: background 0.15s;
}

.review-dropdown a:hover {
  background: #f5f5f5;
  color: #333;
}

.review-dropdown button:hover {
  background: #fff0f0;
  color: #e53935;
}