.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 50%, var(--dark-bg) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOutScreen 0.8s ease-out 4.5s forwards;
}

@keyframes fadeOutScreen {
  from { opacity: 1; visibility: visible; }
  to { opacity: 0; visibility: hidden; }
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.nail-canvas {
  width: 200px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nail-canvas svg {
  filter: drop-shadow(0 10px 40px rgba(212, 165, 159, 0.3));
}

.nail-base {
  fill: #F5E6D3;
  stroke: var(--terra-dark);
  stroke-width: 2;
}

.nail-fill {
  fill: none;
  stroke: var(--rose-pale);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: paintNail 2s ease-in-out forwards;
}

@keyframes paintNail {
  0% { stroke-dashoffset: 500; opacity: 0; }
  10% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

.nail-gradient {
  fill: url(#nailGradient);
  opacity: 0;
  animation: applyGradient 0.8s ease-out 2s forwards;
}

@keyframes applyGradient {
  from { opacity: 0; }
  to { opacity: 0.6; }
}

.nail-shine {
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0;
  animation: addShine 1.5s ease-out 2.8s forwards;
}

@keyframes addShine {
  0% { opacity: 0; stroke-dashoffset: 100; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.loading-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--terra-dark);
  font-weight: 400;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeInText 0.6s ease-out 1.5s forwards;
}

.loading-text span {
  display: inline-block;
  opacity: 0;
  animation: blink 0.6s ease-out infinite 2.5s;
}

.loading-text span:nth-child(2) { animation-delay: 2.7s; }
.loading-text span:nth-child(3) { animation-delay: 2.9s; }

@keyframes fadeInText {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes blink {
  0%, 49% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

.content {
  display: block;
  animation: fadeInContent 1s ease-out 4.2s forwards;
  opacity: 0;
}

@keyframes fadeInContent {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 50%, var(--dark-bg) 100%);
}

.hero {
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(212, 197, 185, 0.5) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 165, 159, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: heroPulse 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes heroPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.logo-sr {
  font-size: 6rem;
  font-weight: 300;
  color: var(--terra-dark);
  letter-spacing: -2px;
  margin-bottom: 1rem;
  line-height: 1;
  animation: slideInDown 1s ease-out;
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

.tagline-sr {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--terra);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.85;
  animation: slideInUp 1s ease-out 0.2s both;
}

.tagline-sr span {
  display: block;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--black-deep);
  margin-top: 0.5rem;
  font-family: var(--font-serif);
  letter-spacing: 1px;
  animation: slideInUp 1s ease-out 0.4s both;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .btn-primary {
  margin-top: 2rem;
  padding: 1.1rem 3.5rem;
  animation: slideInUp 1s ease-out 0.6s both;
}

.section {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 3.5rem;
  text-align: center;
  color: var(--terra-dark);
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 2px;
  position: relative;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rose-pale), transparent);
}

.bio-container {
  display: flex;
  gap: 4rem;
  align-items: center;
  padding: 3rem;
  background: rgba(212, 197, 185, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 165, 159, 0.3);
  border-radius: var(--radius);
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.bio-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-pale), var(--terra));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  flex-shrink: 0;
  border: 2px solid var(--terra-dark);
  box-shadow: 0 0 50px rgba(212, 165, 159, 0.25), inset 0 0 30px rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.bio-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--terra-dark);
  font-weight: 400;
}

.bio-text p {
  color: var(--black-deep);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 300;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 165, 159, 0.2);
  border: 1.5px solid var(--rose-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terra-dark);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--rose-pale);
  color: white;
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(212, 165, 159, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: rgba(245, 241, 237, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 165, 159, 0.25);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: fadeInUp 1s ease-out both;
  cursor: pointer;
}

.service-card:nth-child(1) { animation-delay: 0.4s; }
.service-card:nth-child(2) { animation-delay: 0.5s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }
.service-card:nth-child(4) { animation-delay: 0.7s; }

.service-card:hover {
  background: rgba(212, 197, 185, 0.5);
  border-color: var(--rose-pale);
  transform: translateX(10px);
  box-shadow: 0 16px 50px rgba(212, 165, 159, 0.2), inset 0 0 30px rgba(255, 255, 255, 0.3);
}

.service-info h4 {
  font-size: 1.3rem;
  color: var(--terra-dark);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.service-info p {
  color: var(--terra);
  font-size: 0.95rem;
  font-weight: 300;
}

.service-price {
  font-size: 2.5rem;
  color: var(--rose-dark);
  font-weight: 300;
  letter-spacing: 1px;
  font-family: var(--font-serif);
}

.referral-card {
  background: rgba(245, 241, 237, 0.5);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 165, 159, 0.25);
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.referral-card h3 {
  font-size: 2rem;
  color: var(--terra-dark);
  margin-bottom: 1rem;
  font-weight: 300;
}

.referral-card p {
  color: var(--terra);
  margin-bottom: 2rem;
  font-weight: 300;
}

.referral-code {
  background: linear-gradient(135deg, rgba(212, 197, 185, 0.3), rgba(212, 165, 159, 0.15));
  border: 2px solid var(--rose-pale);
  padding: 2rem;
  border-radius: 12px;
  font-size: 2rem;
  font-weight: 600;
  color: var(--terra-dark);
  letter-spacing: 3px;
  font-family: monospace;
  margin: 1.5rem 0;
  text-transform: uppercase;
}

.footer-sr {
  background: var(--dark-bg);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(212, 165, 159, 0.2);
  font-size: 0.95rem;
  color: #C9C0B8;
}

.footer-sr .contact {
  color: var(--rose-pale);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .logo-sr {
    font-size: 4rem;
  }
  
  .bio-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .service-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .nail-canvas {
    width: 150px;
    height: 220px;
  }
}