* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #e8f0ff, #f7f7f7);
    color: #222;
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: auto;
    padding: 40px 0;
    text-align: center;
}

h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

input {
    width: 420px;
    max-width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
}

input:focus {
    border-color: #1e66ff;
}

button {
    padding: 14px 22px;
    border: none;
    border-radius: 10px;
    background: #1e66ff;
    color: white;
    cursor: pointer;
    font-size: 15px;
}

button:hover {
    background: #004be0;
}

.quick-search {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.quick-search button {
    background: white;
    color: #1e66ff;
    border: 1px solid #1e66ff;
    padding: 9px 14px;
}

.quick-search button:hover {
    background: #1e66ff;
    color: white;
}

#statusText {
    color: #555;
    min-height: 24px;
}

.results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #ddd;
}

.card-content {
    padding: 18px;
}

.card h2 {
    font-size: 21px;
    margin: 0 0 10px;
}

.card p {
    color: #444;
    line-height: 1.5;
}

.card a {
    display: inline-block;
    margin-top: 10px;
    color: #1e66ff;
    font-weight: bold;
    text-decoration: none;
}

.card a:hover {
    text-decoration: underline;
}

.no-image {
    height: 190px;
    background: #dde5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-weight: bold;
}

@media (max-width: 600px) {
    h1 {
        font-size: 30px;
    }

    input {
        width: 100%;
    }

    .search-box {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    .quick-search button {
        width: auto;
    }
}