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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header h1 i {
    color: #ffd700;
    margin-right: 15px;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

.clock-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.analog-clock {
    position: relative;
    width: 300px;
    height: 300px;
}

.clock-face {
    position: relative;
    width: 100%;
    height: 100%;
    border: 10px solid white;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #f0f0f0 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.number {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.number span {
    display: inline-block;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.hand {
    position: absolute;
    background: #333;
    transform-origin: bottom center;
    border-radius: 2px;
}

.hour-hand {
    width: 6px;
    height: 80px;
    top: 70px;
    left: 50%;
    margin-left: -3px;
    background: #333;
}

.minute-hand {
    width: 4px;
    height: 110px;
    top: 40px;
    left: 50%;
    margin-left: -2px;
    background: #666;
}

.second-hand {
    width: 2px;
    height: 120px;
    top: 30px;
    left: 50%;
    margin-left: -1px;
    background: #e74c3c;
}

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

.digital-time {
    text-align: center;
    color: white;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.time-display {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Courier New', monospace;
}

.date-display {
    font-size: 1.5em;
    opacity: 0.9;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.info-card {
    background: rgba(255,255,255,0.95);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2em;
    color: #667eea;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333;
}

.info-card p {
    font-size: 1.1em;
    color: #666;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: white;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }
    
    .clock-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .analog-clock {
        width: 250px;
        height: 250px;
    }
    
    .time-display {
        font-size: 2em;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
    
    .analog-clock {
        width: 200px;
        height: 200px;
    }
    
    .hour-hand {
        height: 60px;
        top: 70px;
    }
    
    .minute-hand {
        height: 85px;
        top: 57px;
    }
    
    .second-hand {
        height: 95px;
        top: 52px;
    }
}