/* Hello World Cat Styles */

/* Base styles and CSS reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

main {
    width: 100%;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-in;
}

/* Cat icon styling */
.cat-icon {
    font-size: 100px;
    margin-bottom: 30px;
    animation: bounce 2s infinite;
    display: inline-block;
}

/* Heading typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
    margin-top: 15px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 40px 30px;
        border-radius: 15px;
    }

    .cat-icon {
        font-size: 80px;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
        border-radius: 10px;
    }

    .cat-icon {
        font-size: 60px;
        margin-bottom: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }
}

/* Accessibility: Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .container {
        animation: none;
    }

    .cat-icon {
        animation: none;
    }
}
