* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'sans-serif';
}

body {
    background-color: skyblue;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.circle-green {
    width: 500px;
    height: 500px;
    background-color: #2ecc71;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px; /* Profundidade do efeito 3D */
    box-shadow: inset 0 0 50px rgba(0,0,0,0.1);
}

.paper-stack {
    position: relative;
    width: 210px; /* Proporção A4 aproximada */
    height: 297px;
    transform-style: preserve-3d;
}

.paper {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: 20px;
    border-radius: 2px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.05);
    
    /* ESTADO INICIAL: Inclinados e sem conteúdo */
    top: 0;
    left: 0;
}

/* Esconde o texto completamente */
.content {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.content h3 {
    border-bottom: 2px solid #eee;
    margin-bottom: 10px;
    color: #333;
}

/* --- Posicionamento do Bloco (30 graus no Eixo Z) --- */

.chocolate {
    z-index: 3;
    opacity: 1;
    /* Inclinação em Z como pedido, e X para deitar o papel */
    transform: rotateZ(30deg) rotateX(25deg);
}

.cenoura {
    z-index: 2;
    opacity: 0.7;
    /* Pequeno deslocamento para parecer uma pilha real */
    transform: rotateZ(30deg) rotateX(25deg) translateZ(-10px) translateY(5px);
}

.limao {
    z-index: 1;
    opacity: 0.4;
    transform: rotateZ(30deg) rotateX(25deg) translateZ(-20px) translateY(10px);
}

/* --- Animação ao passar o mouse --- */

.circle-green:hover .paper {
    opacity: 1;
    /* Remove a inclinação e "levanta" os papéis */
    transform: rotateZ(0deg) rotateX(0deg); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.circle-green:hover .content {
    opacity: 1;
}

/* Distribuição Horizontal */
.circle-green:hover .chocolate {
    transform: translate(-110%, 0) scale(1.05);
}

.circle-green:hover .cenoura {
    transform: translate(0, -10%) scale(1.1);
    z-index: 5;
}

.circle-green:hover .limao {
    transform: translate(110%, 0) scale(1.05);
}