body {
    margin: 0;
    padding: 0;
    background: #ffe;
    font-size: 14px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #231F20;
    overflow: auto
}

a {
    color: #000;
    font-size: 14px;
}

#main {
    width: 100%;
}

#wrap {
    position: relative;
    margin: 0 auto;
    width: 1100px;
    height: 680px;
    margin-top: 10px;
}

#text {
    width: 380px;
    height: 425px;
    left: 60px;
    top: 80px;
    position: absolute;
}

#code {
    display: none;
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 500;
}

#code .say {
    display: inline-block;
    color: #d91a60 !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 20, 147, 0.3);
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#clock-box {
    position: absolute;
    left: 60px;
    top: 550px;
    font-size: 20px;
    display: none;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    color: #333;
}

#clock-box a {
    font-size: 20px;
    text-decoration: none;
    color: #d91a60;
    font-weight: 600;
}

#clock {
    margin-left: 48px;
    margin-top: 10px;
}

#clock .digit {
    font-size: 42px;
    font-weight: bold;
    color: #d91a60;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 20, 147, 0.2);
}

#canvas {
    margin: 0 auto;
    width: 1100px;
    height: 680px;
}

#error {
    margin: 0 auto;
    text-align: center;
    margin-top: 60px;
    display: none;
}

.hand {
    cursor: pointer;
}

.say {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.say:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(255, 20, 147, 0.3);
}

.space {
    margin-right: 150px;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #ffeaa7 100%);
    padding: 60px 20px 30px;
    text-align: center;
    position: relative;
    margin-top: 100px;
    box-shadow: 0 -10px 40px rgba(255, 20, 147, 0.2);
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.footer.visible {
    display: block;
    opacity: 1;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-heart {
    font-size: 60px;
    animation: heartBeat 1.5s ease-in-out infinite;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(255, 20, 147, 0.4));
}

.footer-text {
    font-size: 24px;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #d91a60;
    font-weight: 600;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.footer-quote {
    font-size: 18px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    color: #c2185b;
    margin: 25px 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-divider {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff1493, transparent);
    margin: 30px auto;
    border-radius: 2px;
}

.footer-copyright {
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #d81b60;
    font-weight: 500;
    margin: 15px 0 10px;
}

.footer-year {
    font-size: 14px;
    color: #ad1457;
    margin-top: 10px;
    opacity: 0.9;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1.15);
    }
}

.footer:hover .footer-heart {
    animation: heartBeat 0.8s ease-in-out infinite;
}