@import url('https://fonts.googleapis.com/css2?family=Alegreya+SC:wght@400;500;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --white: #ffffff;
    --grey: #e7e7e7;
    --dark-blue: #10245c;
    --light-blue: #426ba0;
    --black: #000000;
}

/* PAGE */

body {

    background: var(--white);

    color: var(--black);

    font-family: "Trebuchet MS", sans-serif;

    padding: 40px;

    margin: 0;
}

/* HEADERS */

h1,
h2,
.piece-block h2 {

    font-family: "Alegreya SC", serif;

    color: var(--dark-blue);

    font-weight: 500;

    letter-spacing: 1px;
}

/* GRID */

.music-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 45px;

    align-items: start;
}

/* SONG BLOCK */

.piece-block {

    padding: 10px 4px;

    background: transparent;

    border: none;

    box-shadow: none;
}

/* SONG TITLE */

.piece-block h2 {

    font-size: 34px;

    margin-bottom: 18px;
}

/* LIST */

.piece-block ul {

    margin-left: 18px;

    padding-left: 10px;
}

.piece-block li {

    margin-bottom: 12px;
}

/* LINKS */

.piece-block a {

    color: var(--dark-blue);

    font-size: 20px;

    text-decoration: underline;

    font-family: "Trebuchet MS", sans-serif;

    transition:
        color 0.15s ease,
        opacity 0.15s ease;
}

.piece-block a:hover {

    color: var(--light-blue);

    opacity: 0.85;
}

/* SEARCH CONTAINER */

.search-area {

    position: relative;

    max-width: 700px;

    margin-bottom: 50px;

    margin-left: 0;

    margin-right: auto;
}

/* MODERN SEARCH BAR */

#searchBar {

    width: 100%;

    padding: 18px 24px;

    border: none;

    outline: none;


    border-radius: 18px;

    background: var(--white);

    color: var(--black);

    font-size: 18px;

    font-family: "Inter", sans-serif;

    box-shadow:
        0px 6px 24px rgba(0,0,0,0.08);

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

/* PLACEHOLDER */

#searchBar::placeholder {

    color: black;
}

/* FOCUS */

#searchBar:focus {

    box-shadow:
        0 10px 30px rgba(16,36,92,0.18);

    transform: translateY(-1px);
}

/* SEARCH POPUP */

.recommendation-popup {

    display: none;

    position: absolute;

    top: 72px;

    left: 0;

    width: 100%;

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

    border-radius: 20px;

    overflow: hidden;

    backdrop-filter: blur(12px);

    box-shadow:
        0 12px 40px rgba(0,0,0,0.14);

    z-index: 1000;
}

/* RECOMMENDATION ITEM */

.recommendation-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 18px;

    padding: 18px 20px;

    transition:
        background 0.15s ease;
}

/* ITEM HOVER */

.recommendation-item:hover {

    background: rgba(66,107,160,0.08);
}

/* RESULT TEXT */

.recommendation-item span {

    color: var(--black);

    font-family: "Trebuchet MS", sans-serif;

    font-size: 17px;
}

/* DOWNLOAD BUTTON */

.popup-download-btn {

    background: var(--dark-blue);

    color: var(--white);

    text-decoration: none;

    padding: 10px 16px;

    border-radius: 10px;

    font-size: 14px;

    font-family: "Inter", sans-serif;

    font-weight: 600;

    white-space: nowrap;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

/* BUTTON HOVER */

.popup-download-btn:hover {

    background: var(--light-blue);

    transform: translateY(-1px);
}