* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 60px 20px 40px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

#wishlist {
    max-width: 1300px;
    margin: auto;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.35);
    transition: .3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(59,130,246,.35);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #111827;
}

.card:hover img {
    transform: scale(1.05);
}

.content {
    padding: 20px;
}

.content h2 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.button {
    display: inline-block;
    text-decoration: none;
    background: #3b82f6;
    color: white;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: .3s;
}

.button:hover {
    background: #2563eb;
}
.description {
    margin: 10px 0 18px;
    color: #abdbd5;
    font-size: 0.95rem;
    line-height: 1.5;
}
/* POPUP */

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1000;
}

.popup.show {
    display: flex;
}

.popup-card {
    background: #1e293b;
    width: 100%;
    max-width: 650px;
    border-radius: 20px;
    overflow: hidden;
    animation: popup .25s ease;
    position: relative;
}

@keyframes popup {
    from {
        transform: scale(.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.popup-card h2 {
    padding: 20px 25px 10px;
}

.popup-card p {
    padding: 0 25px 25px;
    color: #cbd5e1;
    line-height: 1.6;
}

.popup-card .button {
    margin: 0 25px 15px;
}

.secondary {
    background: #475569;
}

.secondary:hover {
    background: #64748b;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    font-size: 24px;

    cursor: pointer;

    background: rgba(0,0,0,.5);
    color: white;
}
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.type {
    background: #3b82f6;
    color: white;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}
.filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px auto;
    width: 100%;
}

.filter {
    background: #1e293b;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.filter:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.filter.active {
    background: #3b82f6;
}
.link-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:15px 25px;
}

.link-item span{
    font-weight:600;
}