/* Splash Animation Styles */

/* Override existing hero styles for splash animation */
.hero.splash-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  background-color: var(--bg-color, #ffffff);
  color: var(--text-color, #000000);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
  /* Force hardware acceleration for the entire container */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Dark theme support */
[data-theme="dark"] .hero.splash-container {
  background-color: var(--bg-color, #000000);
  color: var(--text-color, #ffffff);
}

.splash-center-container {
  text-align: center;
  padding: 20px;
}

.splash-letters {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 700;
  letter-spacing: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  perspective: 1000px;
  -webkit-perspective: 1000px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  /* Additional rendering fixes */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* Create a new stacking context */
  isolation: isolate;
  -webkit-isolation: isolate;
}

.splash-letters span {
  display: inline-block;
  transform-origin: center;
  /* Simple hardware acceleration without overcomplicating */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.splash-name {
  margin-top: 3px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(0);
  /* Ensure perfect centering */
  text-align: center;
  width: 100%;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .splash-center-container {
    transform: translateY(-10vh);
  }
  .splash-letters {
    letter-spacing: 20px;
  }
  .splash-name {
    font-size: 18px;
    letter-spacing: 0.1em;
  }
} 