html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: url("background.jpg") no-repeat center center fixed;
    background-size: cover;
    font-family: 'Comic Neue', cursive;
    overflow-x: hidden;
}

body {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

/* Bubble sides */
.bubble-left,
.bubble-right {
    position: fixed;
    top: 0;
    width: 180px;
    height: 100vh;
    background-image: url("bubble.gif");
    background-repeat: repeat;
    background-size: 200px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 1;
}
.bubble-left { left: 0; }
.bubble-right { right: 0; transform: scaleX(-1); }

/* Glowing Blue Border Frame */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px #1E90FF, 0 0 40px #1E90FF55, 0 0 60px #1E90FF33; }
    50% { box-shadow: 0 0 30px #1E90FF, 0 0 60px #1E90FF55, 0 0 90px #1E90FF33; }
}
.content-frame {
    border: 6px solid #1E90FF;
    border-radius: 20px;
    padding: 25px;
    background-color: rgba(255,255,255,0.4);
    max-width: 1000px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    animation: glow 2.5s infinite alternate;
}

/* Moon Clock */
.moon-clock {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #d6ecff);
    box-shadow: 0 0 25px rgba(200,230,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.moon-clock::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(56,142,142,1);
    top: 10px;
    left: 42px;
}
.moon-content {
    position: relative;
    z-index: 2;
    font-family: 'Caveat', cursive;
    text-align: center;
    color: #004d40;
}
.moon-title {
    font-size: 1.1rem;
}
#clock {
    font-size: 1.4rem;
}

/* Stickers + Greeting Image */
.header-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}
.sticker {
    width: 120px;
    height: 120px;
}
.greeting-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.greeting-img {
    width: 180px;
    max-width: 80%;
    border-radius: 12px;
    margin: 15px auto;
    display: block;
}
.welcome-gif {
    margin-top: 10px;
    max-width: 220px;
}

/* Text Boxes */
.text-box {
    border: 4px solid #00796b;
    padding: 20px;
    margin: 25px auto;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    max-width: 850px;
}

h1, h2 {
    font-family: 'Caveat', cursive;
    color: #004d40;
    text-align: center;
}

p {
    color: #004d40;
    font-size: 1.05rem;
    text-align: center;
}

/* Divider */
.divider {
    margin: 35px auto;
    font-size: 2rem;
    color: #004d40;
    opacity: 0.9;
    letter-spacing: 12px;
}

/* Nav Links */
.nav-link-container {
    position: relative;
    display: inline-block;
    margin: 20px auto;
}
.nav-link {
    display: inline-block;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    color: #004d40;
    padding: 10px 20px;
    border: 3px solid #00796b;
    border-radius: 12px;
    background: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}
.nav-link:hover {
    background: #a7ffeb;
    box-shadow: 0 0 15px rgba(0, 150, 136, 0.7);
    transform: scale(1.05);
}

/* GIF layout */
.gif-column { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.gif-row { display: flex; justify-content: center; align-items: center; gap: 40px; }
.gif-row img { max-width: 180px; }

/* Responsive */
@media (max-width: 700px) {
    .moon-clock {
        margin-bottom: 15px;
    }
    .header-row { flex-direction: column; gap: 15px; }
    .sticker { width: 80px; height: 80px; }
    .welcome-gif { max-width: 150px; }
}
