* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #1e1e2f, #0f0f1a);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.container {
    text-align: center;
    max-width: 500px;
    padding: 20px;
}

/* Ghost */
.ghost {
    cursor: grab;
    position: relative;
    width: 120px;
    height: 140px;
    background: #fff;
    border-radius: 60px 60px 20px 20px;
    margin: 0 auto 30px;
    animation: float 3s ease-in-out infinite;
}

.ghost:active {
    cursor: grabbing;
}

.ghost::before,
.ghost::after {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
}

.ghost::before { left: 15px; }
.ghost::after { right: 15px; }

/* Eyes */
.eyes {
    display: flex;
    justify-content: space-around;
    padding-top: 45px;
}

.eye {
    --size: 24px;
    width: var(--size);
    height: var(--size);
    background: #eaeaea;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.eye i {
    position: absolute;
    width: calc(var(--size) / 2);
    height: calc(var(--size) / 2);
    background: #333;
    border-radius: 50%;
    top: 5px;
    left: 5px;
    transition: 0.05s linear;
}

/* Smile */
.mouth {
    width: 28px;
    height: 14px;
    border: 3px solid #333;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0 0 0px 0px;
    margin: 10px auto 0;
    opacity: 0.8;
}

.ghost:hover .eye {
    background: #fff;
    border-top: 3px solid #333;
}
.ghost:hover .eye i {
    visibility: hidden;
}

.ghost:hover .mouth {
    width: 35px;
    border-left: 3px solid #333;
    border-right: 3px solid #333;
    border-radius: 0 0 20px 20px;
    transition: 0.3s ease;
}


/* Shadow */
.shadow {
    position: absolute;
    width: 80px;
    height: 15px;
    background: rgba(255, 255, 255, 0.3);
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(6px);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Text */
h1 {
    font-size: 96px;
    letter-spacing: 4px;
}

h2 {
    font-weight: 400;
    margin-bottom: 10px;
}

p {
    opacity: 0.85;
    margin-bottom: 30px;
}

/* Buttons */
.actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.btn:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.primary {
    background: #5a67ff;
    border-color: #5a67ff;
}
