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

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8c 50%, #1e3a5f 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.clock-wrapper {
    background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 1px rgba(255, 255, 255, 0.5) inset;
    backdrop-filter: blur(10px);
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.clock-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.clock-header {
    margin-bottom: 40px;
}

.clock-header h1 {
    font-size: 2rem;
    font-weight: 500;
    color: #1e3a5f;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.clock-display {
    margin-bottom: 35px;
    padding: 40px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8c 100%);
    border-radius: 15px;
    box-shadow: 
        0 10px 30px rgba(30, 58, 95, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.time-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.time-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-digit {
    font-family: 'Orbitron', monospace;
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
    letter-spacing: 3px;
    line-height: 1;
    min-width: 100px;
}

.separator {
    font-size: 4rem;
    color: #fff;
    font-weight: 300;
    opacity: 0.8;
    animation: blink 1s ease-in-out infinite;
    margin: 0 -5px;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.am-pm-container {
    display: flex;
    align-items: center;
}

.am-pm {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.date-display {
    margin-bottom: 30px;
    padding: 25px;
    background: #f0f0f0;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.date-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.date-item {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #1e3a5f;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 50px;
}

.date-separator {
    color: #2d5a8c;
    font-weight: 300;
    opacity: 0.6;
}

.info-footer {
    text-align: center;
    color: #2d5a8c;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .clock-wrapper {
        padding: 40px 30px;
    }

    .clock-header h1 {
        font-size: 1.5rem;
    }

    .time-digit {
        font-size: 3.5rem;
    }

    .separator {
        font-size: 2.8rem;
    }

    .am-pm {
        font-size: 1rem;
    }

    .date-item {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .clock-wrapper {
        padding: 30px 20px;
    }

    .clock-header h1 {
        font-size: 1.2rem;
    }

    .time-digit {
        font-size: 2.5rem;
        min-width: 70px;
    }

    .separator {
        font-size: 2rem;
    }

    .am-pm {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .date-item {
        font-size: 0.95rem;
    }
}