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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.clocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.clock-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clock-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.city-name {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.analog-clock {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    position: relative;
    background: radial-gradient(circle, #fff 0%, #e0e0e0 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.clock-face {
    width: 100%;
    height: 100%;
    position: relative;
}

.clock-center {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 4px;
}

.hour-hand {
    width: 4px;
    height: 45px;
    background: #333;
    margin-left: -2px;
    z-index: 3;
}

.minute-hand {
    width: 3px;
    height: 60px;
    background: #555;
    margin-left: -1.5px;
    z-index: 2;
}

.second-hand {
    width: 2px;
    height: 70px;
    background: #e74c3c;
    margin-left: -1px;
    z-index: 1;
}

.clock-number {
    position: absolute;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    transform: translate(-50%, -50%);
}

.clock-marker {
    position: absolute;
    width: 2px;
    height: 10px;
    background: #666;
    transform-origin: bottom center;
}

.digital-clock {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    border-radius: 10px;
    display: inline-block;
}

.time-display {
    color: #00ff88;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.date-display {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .clocks-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .analog-clock {
        width: 150px;
        height: 150px;
    }
}