/* ============================================================
   PENTA DE LÊ MAI · Splash (pentadelemai.com)
   Video background full viewport + EB Garamond Enter (no border)
   2026-05-15
   ============================================================ */

:root {
  --ink: #1A1A1A;
  --paper: #FAF8F4;
  --paper-soft: rgba(250, 248, 244, 0.78);
  --paper-muted: rgba(250, 248, 244, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

.splash {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

/* ===== Video background full viewport ===== */
.splash__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Dark overlay để text contrast trên video */
.splash__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}

/* ===== Foreground content ===== */
.splash__content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 24px;
  text-align: center;
}
@media (min-width: 768px) {
  .splash__content { gap: 52px; padding: 60px 48px; }
}

/* Logo SVG (đã có màu grey trong file) */
.splash__logo {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.splash__logo:hover { opacity: 0.85; }
.splash__logo img {
  height: 56px;
  width: auto;
  display: block;
  /* Giữ màu grey theo SVG gốc — đã ton-on-ton với video */
  opacity: 0.95;
}
@media (min-width: 768px) {
  .splash__logo img { height: 72px; }
}
@media (min-width: 1280px) {
  .splash__logo img { height: 88px; }
}

/* Meta — sub + JP */
.splash__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 540px;
}
.splash__sub {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-soft);
  font-weight: 400;
}
.splash__jp {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--paper-muted);
}

/* ===== Enter button — EB Garamond italic, NO border ===== */
.splash__enter {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--paper);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  position: relative;
  transition: gap 0.4s ease, opacity 0.4s ease;
}
.splash__enter::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--paper);
  transform: scaleX(0.18);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.splash__enter:hover { gap: 18px; }
.splash__enter:hover::after { transform: scaleX(1); }

.splash__enter-arrow {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-style: normal;
  font-size: 0.65em;
  display: inline-block;
  transition: transform 0.4s ease;
  color: var(--paper-soft);
}
.splash__enter:hover .splash__enter-arrow {
  transform: translate(3px, -3px);
  color: var(--paper);
}

/* Footer year — anchored bottom */
.splash__year {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .splash__content { gap: 32px; }
  .splash__enter { font-size: 24px; }
}
