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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header and Search section */
header {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    text-align: center;
}

header h1 {
    color: #ff0000; /* YouTube-ish style */
    margin-bottom: 15px;
}

form input[type="text"] {
    width: 60%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

form button {
    padding: 12px 24px;
    background-color: #ff0000;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

form button:hover {
    background-color: #cc0000;
}

/* Sound list grid */
.sound-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.sound-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.sound-item:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.sound-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

audio {
    width: 100%;
    margin: 15px 0;
}

.sound-item a {
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
}

/* Footer */
footer {
    margin-top: 50px;
    text-align: center;
    font-size: 14px;
    color: #777;
}
