@font-face {
  font-family: 'Marcellus SC';
  src: url('/fonts/MarcellusSC-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rosarivo';
  src: url('/fonts/Rosarivo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rosarivo';
  src: url('/fonts/Rosarivo-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

:root {
  --oro: #EDE0C6;
  --oro-caldo: #FBEAC4;
  --oro-scritta: #E9D8B3;
  --grigio: #9FB1B3;
  --grigio-chiaro: #A3B2B4;
  --fondo: #1B2325;
  --bordo: #4E5455;
  --entra: .7s;
  --molla: cubic-bezier(.22, 1, .36, 1);
  --cursore: url('/ui/cursor.png') 2 2, auto;
  --cursore-mano: url('/ui/cursor.png') 2 2, pointer;
  --cursore-premuto: url('/ui/cursor-click.png') 2 2, pointer;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

html, body {
  cursor: var(--cursore);
}

a, button, label, [role="button"] {
  cursor: var(--cursore-mano);
}

body.mouse-down, body.mouse-down * {
  cursor: var(--cursore-premuto) !important;
}

body {
  background: var(--fondo);
  color: var(--oro);
  font-family: 'Rosarivo', Georgia, serif;
  overflow-x: hidden;
  overflow: clip;
  -webkit-font-smoothing: antialiased;
}

#trama {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('/web-assets/sito/hextale-landing-page-desktop.png') top left repeat;
  background-size: 1440px auto;
  mix-blend-mode: overlay;
  opacity: .58;
}

#polvere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: plus-lighter;
}

.polvere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  user-select: none;
}

#polvere-lontano {
  --ritardo: .45s;
  filter: blur(1px);
}

#polvere-mezzo {
  --ritardo: .55s;
}

#polvere-vicino {
  --ritardo: .65s;
  filter: blur(3.5px);
}

.vivo .polvere.arriva {
  opacity: 0;
  transition: opacity 1.1s ease var(--ritardo, 0s);
}

.vivo .polvere.arriva.su {
  opacity: 1;
}

main {
  position: relative;
  z-index: 1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.dentro {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.stretto {
  width: min(787px, calc(100% - 48px));
  margin: 0 auto;
}

.centrato {
  text-align: center;
}

.testo-sinistra {
  text-align: left;
}

.filtri {
  position: absolute;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 264px;
  min-width: 0;
  height: 69px;
  padding: 0 30px;
  border: 0;
  background: url('/ui/buttons/button-default.png') center / 100% auto no-repeat;
  font-family: 'Marcellus SC', Georgia, serif;
  font-size: 22px;
  line-height: 1;
  color: #DDCAA1;
  white-space: nowrap;
  cursor: var(--cursore-mano);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .3));
  transition: filter .18s ease, transform .18s ease;
}

.btn.important {
  background-image: url('/ui/buttons/button-important.png');
}

.btn:hover {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .3)) brightness(1.12);
}

.btn:active {
  transform: scale(.985);
}

.btn .etichetta {
  position: relative;
  z-index: 1;
}

.btn .etichetta:not(.scarica-a-due),
.btn .scarica-titolo {
  font-family: 'Marcellus SC', 'Marcellus', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(90deg, #F5B754 0%, #F6E0BB 50%, #F5BD54 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  filter: url(#hx-btn-label);
}

.occhiello {
  font-family: 'Marcellus SC', Georgia, serif;
  font-size: 24px;
  line-height: 27px;
  color: var(--grigio-chiaro);
  text-shadow: 0 0 4.1px #120B07;
}

.corpo {
  font-size: 16px;
  line-height: 1.2;
  color: var(--oro-caldo);
  text-shadow: 0 0 4.1px #120B07;
}

.corpo + .corpo {
  margin-top: 10px;
}

.riga {
  width: 242px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237, 224, 198, .45), transparent);
}

.vivo .entra {
  opacity: 0;
  transform: translateY(26px);
}

.vivo .entra.dentro-vista {
  opacity: 1;
  transform: none;
  transition: opacity var(--entra) ease, transform var(--entra) var(--molla);
}

.entra.r1 {
  transition-delay: .08s;
}

.entra.r2 {
  transition-delay: .16s;
}

.titolo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 296px;
  height: 90px;
  margin: 0 auto 40px;
  padding-bottom: 20px;
  background: url('/ui/title-banner.png') center / 100% 100% no-repeat;
  font-family: 'Marcellus SC', Georgia, serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  white-space: nowrap;
}

.titolo::before,
.titolo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  pointer-events: none;
}

.titolo::before {
  width: 1767px;
  height: 801px;
  background: radial-gradient(circle 677px at 50% 0, rgba(84, 96, 98, .5), rgba(56, 67, 69, .25) 50%, rgba(29, 38, 39, 0));
}

.titolo::after {
  width: 1354px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}

.dorato {
  background: linear-gradient(90deg, #A27938, #F5D9AC 50%, #A27938);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1.2px 0 #252D2F) drop-shadow(0 1.2px 0 #252D2F) drop-shadow(0 2.4px 8.8px rgba(0, 0, 0, .5));
}

.sezione {
  position: relative;
  padding-bottom: 120px;
  overflow-x: clip;
  isolation: isolate;
}

@media (max-width: 980px) {
  .btn {
    padding: 0 24px;
  }

  .occhiello {
    font-size: 19px;
    line-height: 1.2;
  }
}
