/* Custom CSS Variable System */
:root {
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --color-text: rgba(255, 255, 255, 0.95);
  --color-line: rgba(255, 255, 255, 0.4);
  --overlay-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
  --animation-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-primary);
  background-color: #000;
  color: var(--color-text);
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fullscreen Background Image */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: zoomOut 12s var(--animation-ease) forwards;
}

/* Cinematic Overlay */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-bg);
  backdrop-filter: blur(1px); /* 微かなぼかしで奥行きを演出 */
  z-index: -1;
}

/* Main Content Styles */
.content-wrapper {
  text-align: center;
  z-index: 1;
  padding: 2rem;
}

.title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--color-text);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: 
    fadeInUp 1.8s var(--animation-ease) 0.3s forwards,
    letterSpread 2s var(--animation-ease) 0.3s forwards;
}

/* Decorative minimalist line */
.divider {
  width: 0;
  height: 1px;
  background: var(--color-line);
  margin: 1.5rem auto 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  animation: drawLine 1.5s var(--animation-ease) 1s forwards;
}

/* Animations */
@keyframes zoomOut {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

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

@keyframes letterSpread {
  from {
    letter-spacing: 0.05em;
  }
  to {
    letter-spacing: 0.2em;
  }
}

@keyframes drawLine {
  from {
    width: 0%;
  }
  to {
    width: 60px;
  }
}
