* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: aliceblue;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

/* Add animated background particles */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 200, 255, 0.2) 0%, transparent 50%);
    animation: floating 20s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.center {
    margin: 45vh;
    width: 30vw;
    height: 30vh;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 350px;
    min-height: 200px;
}

.text {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 3px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.disptime {
    border-radius: 25px;
    margin: auto;
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b95 100%);
    width: 20vw;
    height: 20vh;
    padding-top: 20px;
    align-items: center;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    box-shadow: 
        0 10px 30px rgba(255, 154, 86, 0.4),
        inset 0 1px 20px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    min-width: 280px;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        box-shadow: 
            0 10px 30px rgba(255, 154, 86, 0.4),
            inset 0 1px 20px rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 15px 40px rgba(255, 154, 86, 0.6),
            inset 0 1px 25px rgba(255, 255, 255, 0.3);
    }
}

/* Add glowing effect */
.disptime::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff9a56, #ff6b95, #4ecdc4, #45b7d1);
    border-radius: 27px;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.7;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .center {
        margin: 40vh auto;
        width: 80vw;
        height: auto;
        min-width: 300px;
    }
    
    .text {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .disptime {
        width: 70vw;
        height: 15vh;
        font-size: 2rem;
        min-width: 250px;
        min-height: 100px;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .center {
        margin: 35vh auto;
        width: 90vw;
        min-width: 280px;
    }
    
    .text {
        font-size: 1.6rem;
        margin-bottom: 20px;
        letter-spacing: 2px;
    }
    
    .disptime {
        width: 80vw;
        height: 12vh;
        font-size: 1.5rem;
        min-width: 220px;
        min-height: 80px;
        letter-spacing: 1px;
    }
}