body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
    font-family: 'Poppins', sans-serif;
}

body::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.4), transparent 70%);
    filter: blur(100px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

h1 {
    margin-bottom: 20px;
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

h2 {
    margin: 10px 0 5px;
}

.card {
    color: white;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    padding: 50px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.card:hover {
    transform: scale(1.02);
}

#przycisk {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

button {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 12px;
    color: white;
    padding: 12px 16px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

img {
    width: 200px;
    margin: 20px 0;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

input {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex: 1;
    outline: none;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    backdrop-filter: blur(5px);
    transition: 0.2s;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

input:focus {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.pokeball {
    position: absolute;
    width: 40px;
    height: 40px;
    background: url("https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/items/poke-ball.png") no-repeat center/contain;
    animation: fall linear infinite;
}

@keyframes fall {
    from {
        transform: translateY(-50px);
    }
    to {
        transform: translateY(100vh);
    }
}

#suggestions {
    background: #1e1e1e;
    color: white;
    display: none;
    border-radius: 8px;
    margin-top: 5px;
    text-align: left;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}

#suggestions.active {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.suggestion {
    padding: 8px;
    cursor: pointer;
    color: white;
}

.suggestion:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    margin-top: 10px;
}

.card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pokeball-css {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(to bottom, red 50%, white 50%);
    position: relative;
    border: 2px solid black;
    flex-shrink: 0;
}

.pokeball-css::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: black;
    transform: translateY(-50%);
}

.pokeball-css::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: white;
    border: 2px solid black;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.pokeball-css:hover {
    transform: rotate(20deg) scale(1.1);
    transition: 0.2s;
}