/* 1:1 from Ledger Wallet v4.13.1 — 5724.renderer.bundle.js WelcomePage styled-components */
/* H, M, L, R, F, U, Q, W, K, P */

:root {
  --ll-neutral-30: #565656;
  --ll-neutral-100: #FFFFFF;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #000;
  color: var(--ll-neutral-100);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

@keyframes ll-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* H — page container */
.ll-welcome-page {
  display: flex !important;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

/* M — background videos */
.ll-welcome-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.ll-welcome-video.is-active { opacity: 1; }
.ll-welcome-video.is-full { transition-delay: 0.1s; }

/* L — overlay */
.ll-welcome-overlay {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
}

/* R — top section */
.ll-welcome-top {
  display: flex !important;
  flex-direction: column;
  row-gap: 16px;
  align-items: center;
  padding: 40px;
}

.ll-welcome-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ll-neutral-100);
  cursor: default;
}

/* F — progress row */
.ll-welcome-progress {
  display: flex !important;
  flex-direction: row;
  column-gap: 4px;
  width: 300px;
}

/* U — progress segment */
.ll-welcome-progress-seg {
  height: 3px;
  flex: 1;
  background: var(--ll-neutral-30);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.ll-welcome-progress-seg.is-full {
  background: var(--ll-neutral-100);
}

.ll-welcome-progress-seg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--ll-neutral-100);
  border-radius: 2px;
  opacity: 0;
  width: 0%;
  transition: width linear;
}

.ll-welcome-progress-seg.is-active::after {
  opacity: 1;
  width: 100%;
  transition: width var(--seg-dur, 8s) linear;
}

/* Q — slide title */
.ll-welcome-title {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  max-width: 600px;
  letter-spacing: -0.05em;
  margin: 0;
  color: var(--ll-neutral-100);
  animation: ll-fade-in 1s ease-in-out;
}

.ll-welcome-spacer { flex: 1; }

/* W — bottom section */
.ll-welcome-bottom {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  row-gap: 16px;
}

.ll-welcome-actions {
  display: flex !important;
  flex-direction: row;
  column-gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons — from app Button component */
.ll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  padding: 14px 32px;
  border-radius: 100px;
  font: 600 14px/1 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: opacity 150ms, background 150ms;
}

.ll-btn-main {
  background: var(--ll-neutral-100);
  color: #000;
}

.ll-btn-main:hover { opacity: 0.9; }

.ll-btn-outline {
  background: transparent;
  color: var(--ll-neutral-100);
  border: 1px solid rgba(255,255,255,0.3);
  white-space: normal;
  text-align: center;
}

.ll-btn-outline:hover { background: rgba(255,255,255,0.06); }

/* K — notice */
.ll-welcome-notice {
  text-align: center;
  overflow-wrap: normal;
  white-space: pre-line;
  font-size: 12px;
  opacity: 0.8;
  margin: 0;
  max-width: 640px;
  line-height: 1.5;
  color: var(--ll-neutral-100);
}

.ll-welcome-notice a {
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
