:root {
    --avorio: #F5EFEB;
    --blu-notte: #0F2468;
    --oro: #C9A15A;
    --antracite: #222222;
    --grigio: #6F6A62;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--avorio);
    color: var(--antracite);
    font-family: Georgia, "Times New Roman", serif;
}

.topbar {
    width: 100%;
    padding: 24px 40px;
    display: flex;
    justify-content: center;
}

.topbar nav {
    display: flex;
    gap: 34px;
    transform: translateX(-20px);
}

.topbar a {
    color: var(--blu-notte);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.topbar a:hover {
    color: var(--oro);
}

.home {
    min-height: calc(100vh - 80px);
    padding: 20px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 320px;
    max-width: 92%;
    margin: -10px 0 50px;
}

.aforisma-card {
    width: min(760px, 92vw);
    text-align: center;
    padding: 44px 34px;
    margin-top: -20px;
    border-top: 1px solid rgba(15, 36, 104, 0.18);
    border-bottom: 1px solid rgba(15, 36, 104, 0.18);
}

.etichetta {
    margin: 0 0 28px;
    color: var(--oro);
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

blockquote {
    margin: 0;
    color: var(--blu-notte);
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.18;
    font-weight: 400;
}

.autore {
    margin: 30px 0 8px;
    color: var(--antracite);
    font-size: 18px;
}

.fonte {
    margin: 0;
    color: var(--grigio);
    font-size: 13px;
}

.azioni {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.azioni button {
    background: transparent;
    color: var(--blu-notte);
    border: 1px solid rgba(15, 36, 104, 0.28);
    padding: 10px 18px;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
}

.azioni button:hover {
    border-color: var(--oro);
    color: var(--oro);
}

.logo-wrap {
    position: relative;
    display: inline-block;
    width: min(320px, 92vw);
}

.logo-wrap .logo {
    width: 100%;
    max-width: none;
}

.logo-hit-area {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    pointer-events: none;
    z-index: 12;
}

.admin-hotspot {
    position: absolute;
    top: 35.66%;
    left: 50.24%;
    width: 10px;
    height: 10px;
    padding: 0;
    margin: 0;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    appearance: none;
    cursor: default;
    pointer-events: auto;
}

.perla-hotspot {
    position: absolute;
    top: 58.45%;
    left: 50%;
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: transparent;
    cursor: default;
    pointer-events: auto;
    z-index: 20;
}