:root {
  --color-primary: #0D57E7;
  --color-secondary: #fff;
  --color-white: #fff;
  --color-text-primary: #000;
  --color-text-secondary: #878787;
}

/* Screen reader only - visually hidden but accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Loading Layer */
.loading-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

.loading-layer.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-logo-container {
  position: relative;
  width: 400px;
  aspect-ratio: 400 / 145;
  overflow: hidden;
}

.loading-logo-white {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.loading-logo-white img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.loading-logo-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: 2;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1s ease-out;
}

.loading-logo-fill.animate {
  transform: scaleY(1);
}

/* 반응형 미디어 쿼리 */
@media (max-width: 768px) {
  .loading-logo-container {
    width: 300px;
  }
}

@media (max-width: 480px) {
  .loading-logo-container {
    width: 250px;
  }
}