* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

:root {
  --dark-bg: #0a0a0a;
  --accent: #2ecc71;
  --accent-glow: rgba(46, 204, 113, 0.4);
  --text: #ffffff;
}

body {
  background: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.card-container {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 25px var(--accent-glow);
  transition: 0.3s ease;
}

.card-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px var(--accent);
}

/* Profile Section */
.profile-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  object-fit: cover;
  box-shadow: 0 0 20px var(--accent-glow);
}

.name {
  font-size: 1.8rem;
  margin-top: 1rem;
  color: var(--text);
}

.role {
  font-size: 1rem;
  opacity: 0.9;
  color: var(--accent);
}

.line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0;
}

/* Contact Info */
.info-section p {
  margin: 10px 0;
  color: var(--text);
}

.info-section i {
  color: var(--accent);
  margin-right: 8px;
}

/* Social Icons */
.social-section {
  margin-top: 1.2rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.social-section a {
  font-size: 1.6rem;
  color: var(--text);
  transition: 0.3s;
}

.social-section a:hover {
  color: var(--accent);
  transform: translateY(-4px);
}

/* Portfolio Button */
.portfolio-btn {
  display: block;
  margin: 1.7rem auto 0;
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: #000;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.3s;
}

.portfolio-btn:hover {
  background: #27ae60;
}

/* QR Button */
.qr-btn {
  margin-top: 1.3rem;
  padding: 0.8rem 2rem;
  border: none;
  background: #000;
  color: var(--accent);
  border: 1px solid var(--accent);
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
  font-size: 1rem;
}

.qr-btn:hover {
  background: var(--accent);
  color: #000;
}

/* QR Display Box */
.qr-display {
  margin-top: 1.5rem;
  display: none;
}

.qr-display img {
  width: 170px;
  height: 170px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .card-container {
    padding: 1.8rem;
    max-width: 95%;
  }

  .profile-img {
    width: 110px;
    height: 110px;
  }

  .name {
    font-size: 1.5rem;
  }

  .portfolio-btn,
  .qr-btn {
    width: 100%;
  }
}

