/* Umumiy sozlamalar */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(120deg, #667eea, #764ba2);
    min-height: 100vh;
    color: #fff;
}

h1 {
    text-align: center;
    padding: 20px;
}

/* Container */
.container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Card */
.card {
    background: #ffffff;
    color: #333;
    width: 260px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover transition */
.card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* Button */
button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #667eea;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
    background: #764ba2;
    transform: scale(1.1);
}

/* Rotate effect */
.rotate:hover {
    transform: rotate(5deg) scale(1.05);
}

/* Pulse animation */
.pulse {
    animation: pulse 2s infinite;
}

/* Keyframes animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}
