* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #170e3d;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.logo {
    margin-bottom: 20px;
}

#logo-img {
    max-height: 200px;
    max-width: auto;
}

.search-box {
    width: 100%;
    max-width: 600px;
}

#search-input {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0 20px;
    font-size: 18px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#search-input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(101, 68, 240, 0.4);
}

#search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.bookmarks-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bookmarks-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.bookmark {
    background-color: rgba(55, 0, 122, 0.4);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100px;
    height: 100px;
    justify-content: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bookmark:hover {
    background-color: rgba(101, 68, 240, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.bookmark-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bookmark-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.bookmark-name {
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
    .bookmark {
        width: 80px;
        height: 80px;
        padding: 10px;
    }

    .bookmark-icon {
        width: 30px;
        height: 30px;
    }

    .bookmark-name {
        font-size: 12px;
    }

    #logo-img {
        max-height: 140px;
    }

    .container {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .bookmarks-row {
        gap: 10px;
    }

    .bookmark {
        width: 70px;
        height: 70px;
        padding: 8px;
    }

    .bookmark-icon {
        width: 25px;
        height: 25px;
        margin-bottom: 5px;
    }

    .bookmark-name {
        font-size: 10px;
    }

    #logo-img {
        max-height: 90px;
    }

    #search-input {
        height: 40px;
        font-size: 16px;
    }

    .container {
        gap: 20px;
    }
}
