@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

/* Applica Lato a tutti gli elementi della plugin */
.fv-ee, .fv-ee * {
  font-family: 'Lato', Arial, Helvetica, sans-serif !important;
}

.fv-ee {
  --fv-ee-height: 85vh;
  --fv-ee-min-height: 720px;
  --fv-ee-bg: linear-gradient(135deg, #07111f 0%, #0f172a 45%, #10233d 100%);
  --fv-ee-surface: rgba(255,255,255,.08);
  --fv-ee-surface-2: rgba(255,255,255,.12);
  --fv-ee-border: rgba(255,255,255,.14);
  --fv-ee-text: #ffffff;
  --fv-ee-muted: rgba(255,255,255,.78);
  --fv-ee-shadow: 0 30px 80px rgba(0,0,0,.28);
  --fv-ee-radius: 28px;
  position: relative;
  width: 100%;
  margin: 24px 0;
  color: var(--fv-ee-text);
}

.fv-ee--light {
  --fv-ee-bg: linear-gradient(135deg, #dfe9f6 0%, #edf3fa 50%, #d7e7f7 100%);
  --fv-ee-surface: rgba(255,255,255,.55);
  --fv-ee-surface-2: rgba(255,255,255,.72);
  --fv-ee-border: rgba(15,23,42,.10);
  --fv-ee-text: #0f172a;
  --fv-ee-muted: rgba(15,23,42,.72);
  --fv-ee-shadow: 0 30px 80px rgba(15,23,42,.16);
}

.fv-ee * { box-sizing: border-box; }

.fv-ee__card {
  position: relative;
  min-height: clamp(460px, 68vh, 820px);
  border-radius: var(--fv-ee-radius);
  overflow: hidden;
  background: var(--fv-ee-bg);
  border: 1px solid var(--fv-ee-border);
  box-shadow: var(--fv-ee-shadow);
  isolation: isolate;
}

.fv-ee__cover,
.fv-ee__overlay {
  position: absolute;
  inset: 0;
}
.fv-ee__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* opacity: 0.35; */
}
.fv-ee__cover {
  background-size: cover;
  background-position: center;
  opacity: .20;
  transform: scale(1.03);
}

.fv-ee__overlay {
  background-color: #000;
  background-image: url(lr-logo-NEW.png);
  background-repeat: no-repeat;
  background-size: 545px 31px;
  background-position: left 20px bottom 12px;
  height: 80px;
}

.fv-ee__content {
  position: relative;
  z-index: 2;
  min-height: clamp(460px, 68vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding-bottom: 2em;
}

.fv-ee__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--fv-ee-surface);
  border: 1px solid var(--fv-ee-border);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-top: 2em;
}

.fv-ee__title {
  margin: 0;
  font-size: clamp(28px, 5vw, 58px);
  line-height: .98;
  max-width: 14ch;
  background-color: #ea1b2f;
  color: #fff;
  padding: .2em .6em;
  font-weight: 700;
}

.fv-ee__powered-by, .fv-ee__powered-by-brand {
  margin: 0;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  line-height: .98;
  max-width: 25ch;
  background-color: #ea1b2f;
  color: #fff;
  padding: .2em .6em;
  font-size: 1.2em;
}

.fv-ee__subtitle {
  margin: 0;
  max-width: 680px;
  color: var(--fv-ee-muted);
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 1.5;
  padding-top: 5em;
}

.fv-ee__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  align-items: center;
}

.fv-ee__btn,
.fv-ee__mini-btn {
  appearance: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, background .2s ease, border-color .2s ease;
}

.fv-ee__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
}

.fv-ee__btn:hover,
.fv-ee__mini-btn:hover { transform: translateY(-1px); }

.fv-ee__btn--primary {
  background: #ffffff;
  color: #0f172a;
}

.fv-ee--light .fv-ee__btn--primary {
  background: #0f172a;
  color: #ffffff;
}

.fv-ee__btn--ghost {
  background: var(--fv-ee-surface);
  color: var(--fv-ee-text);
  border: 1px solid var(--fv-ee-border);
  backdrop-filter: blur(12px);
}

.fv-ee__chrome {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.fv-ee__chrome span,
.fv-ee__dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.fv-ee__chrome span:nth-child(1),
.fv-ee__dots span:nth-child(1) { background: #ff5f57; }
.fv-ee__chrome span:nth-child(2),
.fv-ee__dots span:nth-child(2) { background: #ffbd2e; }
.fv-ee__chrome span:nth-child(3),
.fv-ee__dots span:nth-child(3) { background: #28c840; }

.fv-ee__modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.fv-ee__modal[hidden] { display: none !important; }

.fv-ee__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .78);
  backdrop-filter: blur(8px);
}

.fv-ee__window {
  position: absolute;
  inset: 3vh 2vw;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: #0b1220;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
  animation: fvEeIn .28s ease;
}

.fv-ee__topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.fv-ee__window-title {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fv-ee__window-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fv-ee__mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.fv-ee__mini-btn--close {
  background: rgba(255,255,255,.12);
}

.fv-ee__frame-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #111827;
}

.fv-ee__frame {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 120px);
  border: 0;
  display: block;
  background: #fff;
}

.fv-ee__loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(59,130,246,.18), transparent 35%),
    linear-gradient(180deg, #0b1220, #101827);
  transition: opacity .25s ease;
}

.fv-ee__loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.fv-ee__spinner {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.14);
  border-top-color: rgba(255,255,255,.92);
  animation: fvEeSpin 1s linear infinite;
}

.fv-ee__loader-text {
  font-size: 18px;
  font-weight: 700;
}

.fv-ee__loader-subtext {
  max-width: 560px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

.fv-ee-error {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff2f2;
  color: #7f1d1d;
  border: 1px solid #fecaca;
}

body.fv-ee-lock {
  overflow: hidden;
}

@keyframes fvEeSpin {
  to { transform: rotate(360deg); }
}

@keyframes fvEeIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 782px) {
  .fv-ee__window {
    inset: 0;
    border-radius: 0;
  }

  .fv-ee__topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .fv-ee__overlay {
    background-size: 240px;
    background-position: left 10px bottom 20px;
    height: 80px;
  }

  .fv-ee__actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    text-align: center;
  }
  .fv-ee__window-actions {
    width: 100%;
  }

  .fv-ee__mini-btn {
    flex: 1 1 auto;
  }

  .fv-ee__content {
    justify-content: center;
  }
}
