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

body {
    min-height: 100vh;

    background:
        linear-gradient(
            135deg,
            #0b0d10,
            #111827,
            #0b0d10
        );

    color: white;
    font-family: "Segoe UI", sans-serif;

    padding: 40px;
}

/* Search */

.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

#search {
    width: 600px;
    max-width: 90%;

    padding: 14px 20px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 15px;

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    color: white;
    font-size: 16px;

    outline: none;

    transition: all 0.2s ease;
}

#search::placeholder {
    color: rgba(255,255,255,0.5);
}

#search:focus {
    border-color: rgba(255,255,255,0.3);

    box-shadow:
        0 0 20px rgba(255,255,255,0.08);
}

/* Cards */

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 25px;
}

.box {
    position: relative;

    width: 320px;
    height: 220px;

    overflow: hidden;

    border-radius: 18px;

    text-decoration: none;
    color: white;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.12);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.box:hover {
    transform: translateY(-4px);

    border-color:
        rgba(255,255,255,0.25);
}

.image {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    transform: scale(1.05);
}

.overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.85),
            rgba(0,0,0,0.2)
        );
}

.content {
    position: absolute;

    bottom: 0;
    left: 0;
    right: 0;

    z-index: 10;

    padding: 20px;
}

.content h2 {
    margin-bottom: 6px;
    font-size: 1.3rem;
}

.content p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}