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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.breed-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.breed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.breed-card h3 {
    margin-bottom: 0.5rem;
}

.breed-card h3 a {
    color: #667eea;
    text-decoration: none;
    font-size: 1.3rem;
}

.breed-card h3 a:hover {
    color: #764ba2;
}

.breed-card p {
    color: #666;
    font-size: 0.9rem;
}

.breed-detail {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.breed-detail h1 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.breed-detail .characteristics {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.breed-detail .characteristics h3 {
    color: #764ba2;
    margin-bottom: 1rem;
}

.breed-detail .characteristics ul {
    list-style: none;
    padding-left: 0;
}

.breed-detail .characteristics li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breed-detail .characteristics li:last-child {
    border-bottom: none;
}

.breed-detail .characteristics li strong {
    display: inline-block;
    width: 120px;
    color: #495057;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    color: #764ba2;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: white;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    main {
        padding: 0 1rem;
    }
    
    .breeds-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .breed-detail {
        padding: 1.5rem;
    }
}