* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, 'Inter', 'Segoe UI', Roboto, sans-serif;
  padding: 12px;
  position: relative;
  background: #1a1a1a;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: -1;
  pointer-events: none;
}

.card {
  background: rgba(30, 30, 35, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 40px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5),
              inset 0 0 0 1px rgba(255,255,255,0.15);
  width: 100%;
  max-width: 380px;
  padding: 24px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 235, 200, 0.7);
  box-shadow: 0 8px 15px -3px rgba(0,0,0,0.5);
  flex-shrink: 0;
  background: #4a4a4a;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-info {
  flex: 1;
}

.profile-info h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
  margin-bottom: 4px;
  line-height: 1.2;
}

.profile-info .title {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(240, 230, 215, 0.95);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(200, 160, 120, 0.3);
  padding: 3px 10px;
  border-radius: 30px;
  font-size: 0.75rem;
  border: 1px solid rgba(230, 180, 130, 0.3);
  color: #f0d5b5;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(230, 215, 195, 0.9);
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 10px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}

.age-tag {
  font-size: 0.75rem;
  color: #d0b8a0;
  background: rgba(0,0,0,0.2);
  padding: 4px 0;
  border-radius: 20px;
  display: inline-block;
}

.wordmark {
  text-align: center;
}

.wordmark h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  background: linear-gradient(130deg, #fff5e6, #f0dbc0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease-out;
}

.sub {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(240, 225, 205, 0.9);
  border-bottom: 1px solid rgba(220, 190, 160, 0.3);
  padding-bottom: 8px;
  display: inline-block;
  letter-spacing: 1px;
  animation: fadeIn 1s ease-out;
}

.button-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0;
}

.btn-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  background: rgba(30, 30, 35, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 60px;
  font-size: 1.6rem;
  font-weight: 500;
  color: #f5eee5;
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,235,200,0.2) inset;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  -webkit-touch-callout: none;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(0);
  animation: slideInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.btn-40 {
  background: rgba(60, 45, 35, 0.8);
  color: #f5e5d5;
  animation-delay: 0.2s;
}

.btn-call {
  background: rgba(35, 45, 55, 0.8);
  color: #e5e5f0;
  animation-delay: 0.3s;
}

.btn-icon {
  display: inline-block;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.btn-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -10px rgba(0,0,0,0.7), 0 0 0 2px rgba(255,220,160,0.3) inset;
}

.btn-link:active {
  transform: translateY(2px) scale(0.97);
  transition: transform 0.1s ease;
}

.btn-link:hover .btn-icon {
  transform: rotate(10deg) scale(1.2);
}

.btn-40:hover {
  background: rgba(80, 60, 45, 0.9);
}

.btn-40:hover .btn-icon {
  animation: sparkle 0.8s ease infinite;
}

.btn-call:hover {
  background: rgba(50, 65, 80, 0.9);
}

.btn-call:hover .btn-icon {
  animation: shake 0.5s ease infinite;
}

.btn-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn-link:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 200, 150, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 200, 150, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 200, 150, 0);
  }
}

.btn-40 {
  animation: pulse 2s infinite;
  animation-delay: 1s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.2) rotate(5deg);
  }
  50% {
    transform: scale(1.1) rotate(-5deg);
  }
  75% {
    transform: scale(1.3) rotate(5deg);
  }
}

@keyframes shake {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    transform: scale(25, 25);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

.signature {
  font-size: 0.7rem;
  color: rgba(220, 200, 180, 0.4);
  margin-top: 5px;
  letter-spacing: 1px;
  text-align: center;
  border-top: 1px dashed rgba(200, 170, 140, 0.2);
  padding-top: 12px;
  animation: fadeIn 1.2s ease-out;
}

@media (max-width: 375px) {
  .card {
    padding: 20px 16px;
    border-radius: 32px;
  }
  
  .profile-image {
    width: 70px;
    height: 70px;
  }
  
  .profile-info h2 {
    font-size: 1.2rem;
  }
  
  .wordmark h1 {
    font-size: 1.7rem;
  }
  
  .btn-link {
    font-size: 1.4rem;
    padding: 14px 16px;
  }
  
  .btn-icon {
    font-size: 1.2rem;
  }
  
  .contact-item {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}

@media (min-width: 400px) {
  .card {
    max-width: 400px;
  }
  
  .wordmark h1 {
    font-size: 2.2rem;
  }
}

@supports (padding: max(0px)) {
  body {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
}

@media (hover: none) {
  .btn-link:hover {
    transform: none;
  }
  
  .btn-link:hover .btn-icon {
    animation: none;
  }
  
  .profile-image:hover {
    transform: none;
  }
  
  .btn-40 {
    animation: pulse 2s infinite;
  }
}