@charset "UTF-8";

/* --- Custom Font Definition --- */
@font-face {
  font-family: 'Quivert';
  src: url('../font/Quivert.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* --- Language Overlay Styling --- */
.language-overlay {
  position: fixed;
  inset: 0;
  background-color: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out;
  opacity: 1; /* Make sure it is visible by default */
}

.language-selector {
  text-align: center;
  position: relative;
  z-index: 10;
}

.language-selector .language-logo {
  font-family: 'Quivert', 'Bodoni Moda', 'Merriweather', serif;
  font-size: 6rem; /* Increased from 5rem */
  font-weight: 600;
  margin-bottom: 2rem;
  display: inline-block;
  min-height: 5rem; /* Reserve space for text */
  
  /* Holographic Effect */
  background: linear-gradient(90deg, #FD349C, #FF007F, #FF77FF, #FD349C);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hologram-shine 4s linear infinite;
}

@keyframes hologram-shine {
  to {
    background-position: 200% center;
  }
}

.language-logo .type-cursor {
  display: inline-block;
  background-color: #fff;
  width: 4px;
  animation: blink 1s infinite;
  margin-left: 8px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.language-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease 0.5s;
}

.lang-btn {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lang-btn:hover {
  color: #fff;
}

.loading-shapes-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.loading-shape {
  position: absolute;
  will-change: transform;
  animation: floatSphere 10s ease-in-out infinite;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.5));
}

.loading-shape.shape-1 { width: 180px; height: 180px; top: 10%; left: 5%; animation-duration: 12s; }
.loading-shape.shape-2 { width: 100px; height: 100px; top: 15%; right: 10%; animation-duration: 9s; animation-delay: -2s; }
.loading-shape.shape-3 { width: 220px; height: 220px; top: 50%; left: 20%; animation-duration: 14s; animation-delay: -5s; }
.loading-shape.shape-4 { width: 160px; height: 160px; top: 60%; right: 25%; animation-duration: 10s; animation-delay: -3s; }
.loading-shape.shape-5 { width: 250px; height: 250px; bottom: 5%; left: 5%; animation-duration: 15s; animation-delay: -1s; }
.loading-shape.shape-6 { width: 140px; height: 140px; bottom: 15%; right: 8%; animation-duration: 11s; animation-delay: -4s; }
.loading-shape.shape-7 { width: 120px; height: 120px; top: 30%; right: 30%; animation-duration: 8s; animation-delay: -6s; }

/* --- Background Glow Effect --- */
.loading-shapes-container::before,
.loading-shapes-container::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  z-index: -1; /* Place behind the shapes */
  will-change: transform, opacity;
}

.loading-shapes-container::before {
  width: 600px;
  height: 600px;
  background: #FD349C;
  top: -20%;
  left: -20%;
  animation: glow-move 15s infinite alternate ease-in-out;
}

.loading-shapes-container::after {
  width: 500px;
  height: 500px;
  background: #FF007F;
  bottom: -25%;
  right: -15%;
  animation: glow-move 18s infinite alternate ease-in-out -5s;
}

@keyframes glow-move {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translate(100px, 50px) scale(1.2);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50px, -80px) scale(0.9);
    opacity: 0.25;
  }
}
