/* =========================================
   ANNOYING POPUP
=========================================

.annoying-popup {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);

    z-index: 9999999;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.25s ease;
}

.annoying-popup.active {
    opacity: 1;
    pointer-events: all;
}

.annoying-popup-content {
    position: relative;

    max-width: 700px;
    width: 90%;

    cursor: pointer;

    transition:
        transform 0.12s ease,
        opacity 0.12s ease,
        filter 0.12s ease;
}

.annoying-popup-content img {
    width: 100%;
    display: block;

    border-radius: 18px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.65);
}

/* =========================================
   CLICK COUNTER
=========================================

.popup-counter {
    position: absolute;

    top: -18px;
    right: -18px;

    background: rgba(0, 0, 0, 0.85);

    color: white;

    padding: 10px 14px;

    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 700;

    z-index: 10;

    border:
        1px solid rgba(255,255,255,0.12);

    font-family: "Inter", sans-serif;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.35);
}

/* =========================================
   FREEZE SCROLLING
========================================

body.popup-open {
    overflow: hidden;
}

.annoying-popup-content img {
    width: 100%;
    display: block;

    border-radius: 18px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.65);

    /* START SMALL + TRANSPARENTISH
    transform: scale(0.08);
    opacity: 0.08;

    transition:
        transform 0.12s ease,
        opacity 0.12s ease;
}

.confetti-gif {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    pointer-events: none;

    opacity: 0;

    z-index: 99999999;
}

END NONSENSE*/

/*--REAL SITE BELOW--*/


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left,
            rgba(214, 164, 255, 0.16),
            transparent 30%),

        radial-gradient(circle at bottom right,
            rgba(214, 164, 255, 0.08),
            transparent 30%);
}

.hero-content {
    position: relative;
    z-index: 2;
    grid-column: span 8;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.95;
    margin-bottom: 30px;
}

.hero p {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin-top: 35px;
    padding: 16px 30px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
}

/* SOVRAPPOSIZIONE FLOREALE */

.hero-button::after {
    content: "";
    position: absolute;
    width: 75px;
    height: 81px;
    right: 6px;
    bottom: -2px;
    background-image: url("../img/tiny-icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
    pointer-events: none;
}

.hero-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.009);
}

.hero-button:hover::after {
    opacity: 0.45;
}

/*HERO IMAGE*/

.hero-image {
    grid-column: span 4;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 420px;
    border-radius: 32% 68% 55% 45% / 45% 38% 62% 55%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotate(1deg);
    transition: var(--transition);
}

.hero-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}