body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', 'Noto Sans CJK JP', sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    user-select: none;
}

.container {
    width: 100%;
    max-width: 480px;
}

h1 {
    font-size: 2.5rem;
    color: #f7b733;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#bell-image {
    width: 200px;
    height: 200px;
    cursor: pointer;
    transition: transform 0.1s ease;
}

#bell-image.clicked {
    transform: scale(1.1) rotate(5deg);
}

.counter-area {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.counter-box {
    background-color: #162447;
    padding: 10px 20px;
    border-radius: 8px;
    min-width: 120px;
}

.counter-box h2 {
    font-size: 1rem;
    margin: 0 0 5px 0;
    color: #f7b733;
}

.counter-box p {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: #fff;
}

#share-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#share-button:hover {
    background-color: #357abd;
}

.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #888;
}



#milestone-overlay {
    position: fixed;
    top: 20px;
    right: -100%; 
    width: auto;
    height: auto;
    z-index: 1000;
    pointer-events: none;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

#milestone-overlay.active {
    right: 20px;
}

#milestone-text {
    background: linear-gradient(135deg, #FFC107, #FF5722);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px; 
    font-weight: bold;
    font-size: 1rem; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); 
    white-space: nowrap; 
    border: 2px solid #fff; 
}

@media (max-width: 600px) {
    #milestone-overlay {
        top: 10px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-100px);
        transition: transform 0.5s ease;
    }

    #milestone-overlay.active {
        right: auto;
        transform: translateX(-50%) translateY(0);
    }
}