/* =========================
   FONT ORIGINALE
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');

/* =========================
   RESET E BASE
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden; /* landing statica: niente scroll */
}

body {
    background-color: #161824;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    user-select: none;
}

/* =========================
   CONTAINER PRINCIPALE
   ========================= */
.site {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden; /* BLOCCA qualsiasi scroll causato dal drago */
}

/* =========================
   HEADER / TESTO
   ========================= */
.hero {
    position: relative;
    z-index: 10;
    padding: 1.5rem 1rem 1rem;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.brand {
    color: #E3D6A1;
    font-size: 2.6rem;
    font-weight: 700;
    text-shadow: 2px 2px #050505;
    margin-bottom: 0.2rem;
}

.tagline {
    font-size: 1rem;
    font-weight: 400;
    text-shadow: 2px 2px #050505;
}

/* =========================
   DRAGO — DESKTOP DEFAULT
   ========================= */
.dragon {
    position: fixed;
    right: 0;
    bottom: 0;

    /* dimensione NATIVA, limitata solo dalla viewport */
    width: auto;
    height: auto;
    max-width: 100vw;
    max-height: 100vh;

    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;

    z-index: 1;
    filter: drop-shadow(20px 8px 20px rgba(0,0,0,0.7));
}

/* =========================
   MOBILE / SCHERMI PICCOLI
   ========================= */
@media (max-width: 700px) {
    .dragon {
        position: absolute;
        right: 0;
        top: var(--header-height); /* settato dal JS */
        bottom: auto;

        /* mai più grande dello spazio disponibile */
        max-width: 100vw;
        max-height: calc(100vh - var(--header-height));
    }

    .brand {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 0.95rem;
    }
}

/* =========================
   AUDIO — NON DEVE OCCUPARE SPAZIO
   ========================= */
audio {
    display: none;
}
