* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #1a2a3a, #0d1b2a);
    height: 100vh;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
}

.snake-segment {
    position: absolute;
    border-radius: 50%;
    background: #4cd137;
    /* green color */
    box-shadow: 0 0 20px rgba(76, 209, 55, 0.5);
}

.head {
    width: 60px;
    height: 40px;
    border-radius: 50% 50% 40% 40%;
    background: #4cd137;
    z-index: 10;
    box-shadow: 0 0 25px rgba(76, 209, 55, 0.7);
}

.eye {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    top: 10px;
    z-index: 11;
}

.eye.left {
    left: 12px;
}

.eye.right {
    right: 12px;
}

.pupil {
    position: absolute;
    width: 5px;
    height: 5px;
    background: black;
    border-radius: 50%;
    top: 2.5px;
    left: 2.5px;
}

.title {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1faee;
    text-align: center;
    font-size: 36px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    z-index: 20;
}

.instructions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1faee;
    text-align: center;
    font-size: 18px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    z-index: 20;
}