@keyframes luxuryFlow {
  0%,
  100% {
    background-position: 0% 50%;
    transform: translateX(0) translateY(0) scale(1);
  }
  25% {
    background-position: 100% 0%;
    transform: translateX(-15px) translateY(-8px) scale(1.01);
  }
  50% {
    background-position: 100% 100%;
    transform: translateX(8px) translateY(12px) scale(0.99);
  }
  75% {
    background-position: 0% 100%;
    transform: translateX(-8px) translateY(-4px) scale(1.005);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.95;
    filter: blur(1px) brightness(1);
  }
  50% {
    opacity: 0.98;
    filter: blur(0.5px) brightness(1.02);
  }
}

.container::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.3) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(248, 250, 252, 0.4) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 30% 80%,
      rgba(255, 255, 255, 0.2) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(249, 250, 251, 0.3) 1px,
      transparent 1px
    );
  background-size: 200px 200px, 150px 150px, 180px 180px, 120px 120px;
  animation: subtleFloat 20s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

@keyframes subtleFloat {
  0%,
  100% {
    transform: translateX(0) translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(10px) translateY(-10px);
    opacity: 0.7;
  }
}

/* Reset and Luxury Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Architectural High Fashion Typography */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

html {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f8fafc 30%,
    #f1f5f9 60%,
    #ffffff 100%
  );
  background-attachment: fixed;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: none;
  overscroll-behavior-y: contain;
}

/* Luxury Container */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 30px 20px;
  gap: 28px;
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Center content when showing error states or loading */
.container.center-content {
  justify-content: center;
  min-height: 100vh;
}

#card {
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.7) 100%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(255, 255, 255, 0.3) 0%,
      transparent 70%
    );
  backdrop-filter: blur(25px) saturate(1.2);
  -webkit-backdrop-filter: blur(25px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08),
    0 15px 35px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 0.5px rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  animation: pristineCardAppear 1.4s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
  position: relative;
}

@keyframes pristineCardAppear {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(30px) rotateX(4deg);
    filter: blur(12px);
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0) rotateX(0deg);
    filter: blur(0px);
    backdrop-filter: blur(25px) saturate(1.2);
  }
}

/* Premium Photo Container with Studio Lighting */
#photo-container {
  position: relative;
  width: calc(100% - 24px);
  margin: 12px 12px 0 12px;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1;
  animation: photoSmoothReveal 1.2s ease-out 0.6s both;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Studio lighting effect over photo */
#photo-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 35%,
    transparent 65%,
    rgba(255, 255, 255, 0.05) 100%
  );
  z-index: 2;
  pointer-events: none;
  animation: studioGlow 6s ease-in-out infinite;
}

@keyframes studioGlow {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes photoSmoothReveal {
  from {
    opacity: 0;
    transform: translateY(15px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

#profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1) brightness(1.02);
}

/* Platinum Premium CTA Badge */
#cta-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.9) 100%
  );
  color: #334155;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 0 0.5px rgba(255, 255, 255, 0.3);
  z-index: 10;
  letter-spacing: -0.05px;
  animation: platinumBadgeSlide 1s ease-out 1s both,
    platinumPulse 4s ease-in-out infinite;
  text-shadow: 0 0.5px 1px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

@keyframes platinumBadgeSlide {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.85) rotateY(15deg);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotateY(0deg);
    filter: blur(0px);
  }
}

@keyframes platinumPulse {
  0%,
  100% {
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
  50% {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 1);
  }
}

/* Luxury Profile Content */
.profile-content {
  padding: 20px 18px 18px 18px;
  animation: contentPristineFade 1.2s ease-out 0.8s both;
}

@keyframes contentPristineFade {
  from {
    opacity: 0;
    transform: translateY(15px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

/* Architectural Fashion Name Styling */
#name {
  font-size: 32px;
  font-weight: 400;
  color: #0a0f1c;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
  letter-spacing: 0.04em;
  line-height: 0.95;
  font-feature-settings: "cv02", "cv11";
}

#name svg {
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(52, 211, 153, 0.2));
}

/* Fashion Forward Bio */
#bio {
  font-size: 13px;
  font-weight: 400;
  color: #242424;
  margin: 0 0 12px 0;
  text-align: left;
  line-height: 1.6;
  letter-spacing: 0.02em;
  opacity: 0.85;
  max-width: 280px;
}

/* Architectural Fashion Button */
#save-contact-btn {
  background: linear-gradient(
    135deg,
    rgba(10, 15, 28, 0.98) 0%,
    rgba(15, 23, 42, 0.95) 100%
  );
  color: white;
  border: none;
  border-radius: 14px;
  padding: 18px 16px;
  font-size: 12px;
  font-weight: 500;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-feature-settings: "cv02", "cv11";
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: pristineButtonFade 1s ease-out 1.4s both;
  margin-bottom: 0px;
}

/* Button architectural accent */
#save-contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

#save-contact-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
}

@keyframes pristineButtonFade {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

#save-contact-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Links Section Inside Card */
.links-section {
  padding: 0 18px 18px 18px;
  animation: linksPristineSlideUp 1.2s ease-out 1.6s both;
}

@keyframes linksPristineSlideUp {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.97) rotateX(3deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0px);
  }
}

/* Premium Glass Link Items - Mobile Optimized */
.links-section a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 6px;
  animation: linkPristineFadeIn 0.8s ease-out calc(1.8s + var(--delay, 0s)) both;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@keyframes linkPristineFadeIn {
  from {
    opacity: 0;
    transform: translateX(-15px) rotateY(5deg);
    filter: blur(5px);
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
    filter: blur(0px);
    backdrop-filter: blur(15px);
  }
}

.links-section a:nth-child(1) {
  --delay: 0s;
}
.links-section a:nth-child(2) {
  --delay: 0.1s;
}
.links-section a:nth-child(3) {
  --delay: 0.2s;
}
.links-section a:nth-child(4) {
  --delay: 0.3s;
}
.links-section a:nth-child(5) {
  --delay: 0.4s;
}

.links-section a:last-child {
  margin-bottom: 0;
}

.links-section a span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  color: #334155;
}
/* Link Text Content */
.links-section a span:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* Architectural Fashion Link Titles */
.links-section a .link-title {
  color: #0a0f1c;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  font-feature-settings: "cv02", "cv11";
}

/* Refined Link Subtitles */
.links-section a .link-subtitle {
  color: #475569;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.3;
  opacity: 0.75;
  font-style: italic;
}

/* Premium Chevron */
.links-section a::after {
  content: "›";
  color: #64748b;
  font-size: 18px;
  font-weight: 300;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Make This Card Yours Section */
#make-yours-section {
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.65) 100%
    ),
    radial-gradient(
      circle at 50% 30%,
      rgba(255, 255, 255, 0.3) 0%,
      transparent 70%
    );
  backdrop-filter: blur(25px) saturate(1.1);
  -webkit-backdrop-filter: blur(25px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08),
    0 15px 35px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  animation: promoSectionSlideUp 1.4s ease-out 2s both;
  width: 100%;
  max-width: 380px;
  text-align: center;
  position: relative;
}

@keyframes promoSectionSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96) rotateX(4deg);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0px);
  }
}

.promo-title {
  font-size: 24px;
  font-weight: 300;
  color: #0a0f1c;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-feature-settings: "cv02", "cv11";
  animation: promoTitleFade 1s ease-out 2.4s both;
}

@keyframes promoTitleFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.promo-description {
  font-size: 14px;
  font-weight: 300;
  color: #475569;
  margin: 0 0 24px 0;
  line-height: 1.6;
  letter-spacing: 0.01em;
  opacity: 0.85;
  animation: promoDescFade 1s ease-out 2.6s both;
}

@keyframes promoDescFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
  animation: featuresGridFade 1s ease-out 2.8s both;
}

@keyframes featuresGridFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  color: #334155;
  letter-spacing: 0.01em;
}

.feature-item svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

.get-yours-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 300;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-feature-settings: "cv02", "cv11";
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: getYoursBtnFade 1s ease-out 3s both;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes getYoursBtnFade {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.get-yours-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.get-yours-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   PREMIUM ERROR STATES - Ultra-Luxury Design
   ========================================================================== */

/* Error State Container - Premium White Glass */
.error-state {
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 100%
    ),
    radial-gradient(
      circle at 50% 40%,
      rgba(255, 255, 255, 0.4) 0%,
      transparent 70%
    );
  backdrop-filter: blur(30px) saturate(1.3);
  -webkit-backdrop-filter: blur(30px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1),
    0 20px 40px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  width: 100%;
  max-width: 380px;
  padding: 50px 40px;
  text-align: center;
  animation: errorStateAppear 1.6s cubic-bezier(0.23, 1, 0.32, 1) both;
  position: relative;
  overflow: hidden;
}

/* Subtle shimmer effect for error state */
.error-state::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 30%,
    transparent 70%,
    rgba(255, 255, 255, 0.05) 100%
  );
  animation: errorShimmer 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes errorStateAppear {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(40px) rotateX(6deg);
    filter: blur(15px);
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0) rotateX(0deg);
    filter: blur(0px);
    backdrop-filter: blur(30px) saturate(1.3);
  }
}

@keyframes errorShimmer {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Error Title - Architectural Fashion Typography */
.error-title {
  font-size: 28px;
  font-weight: 200;
  color: #0a0f1c;
  margin: 0 0 20px 0;
  letter-spacing: 0.03em;
  line-height: 1.1;
  font-feature-settings: "cv02", "cv11";
  animation: errorTitleSlide 1s ease-out 0.4s both;
}

@keyframes errorTitleSlide {
  from {
    opacity: 0;
    transform: translateY(15px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

/* Error Message - Refined and Elegant */
.error-message {
  font-size: 14px;
  font-weight: 300;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 40px 0;
  letter-spacing: 0.01em;
  opacity: 0.85;
  animation: errorMessageFade 1s ease-out 0.8s both;
}

@keyframes errorMessageFade {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
  }
  to {
    opacity: 0.85;
    transform: translateY(0);
    filter: blur(0px);
  }
}

/* Error Action Button - Premium Styling */
.error-action {
  background: linear-gradient(
    135deg,
    rgba(10, 15, 28, 0.95) 0%,
    rgba(15, 23, 42, 0.9) 100%
  );
  color: white;
  border: none;
  border-radius: 14px;
  padding: 16px 32px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-feature-settings: "cv02", "cv11";
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: errorActionSlide 1s ease-out 1.2s both;
  position: relative;
  overflow: hidden;
}

.error-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

@keyframes errorActionSlide {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.96);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.error-action:hover {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.98) 0%,
    rgba(30, 41, 59, 0.95) 100%
  );
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.error-action:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Loading State - Premium Animation */
.loading-state {
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 100%
    ),
    radial-gradient(
      circle at 50% 40%,
      rgba(255, 255, 255, 0.4) 0%,
      transparent 70%
    );
  backdrop-filter: blur(30px) saturate(1.3);
  -webkit-backdrop-filter: blur(30px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1),
    0 20px 40px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  width: 100%;
  max-width: 380px;
  padding: 80px 40px;
  text-align: center;
  animation: loadingStateAppear 1.2s ease-out both;
}

@keyframes loadingStateAppear {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
  }
}

/* Premium Loading Spinner */
.loading-spinner {
  width: 60px;
  height: 60px;
  margin: 0 auto 32px;
  position: relative;
}

.loading-spinner::before {
  content: "";
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid rgba(15, 23, 42, 0.8);
  border-radius: 50%;
  animation: premiumSpin 1.2s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@keyframes premiumSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 16px;
  font-weight: 300;
  color: #475569;
  letter-spacing: 0.02em;
  animation: loadingPulse 2s ease-in-out infinite;
}

@keyframes loadingPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Hidden state for elements */
.hidden {
  display: none !important;
}

/* Responsive Design for Mobile Premium */
@media (max-width: 480px) {
  .container {
    padding: 20px 15px;
    gap: 24px;
  }

  #name {
    font-size: 28px;
    letter-spacing: 0.03em;
  }

  #bio {
    font-size: 12px;
    max-width: 100%;
  }

  .links-section a {
    padding: 10px 8px;
  }

  .links-section a span:first-child {
    width: 34px;
    height: 34px;
  }

  .links-section a .link-title {
    font-size: 14px;
    letter-spacing: 0.01em;
  }

  .links-section a .link-subtitle {
    font-size: 11px;
  }

  #save-contact-btn {
    padding: 16px 14px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  /* Mobile Error States */
  .error-state {
    padding: 50px 30px;
  }

  .error-title {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .error-message {
    font-size: 13px;
    margin-bottom: 35px;
  }

  .error-action {
    padding: 14px 28px;
    font-size: 11px;
  }

  .loading-state {
    padding: 70px 30px;
  }

  .loading-spinner {
    width: 50px;
    height: 50px;
    margin-bottom: 28px;
  }

  .loading-spinner::before {
    width: 50px;
    height: 50px;
  }

  .loading-text {
    font-size: 14px;
  }

  #make-yours-section {
    padding: 24px 20px;
  }
}
