@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;900&display=swap');


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


body {
    background: #0a0f0a;
    color: #e8e8e8;
    font-family: 'Figtree';
    /*min-height: 100vh;*/
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.logo span { color: #00ff88; }

#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 40px 40px;
    background: radial-gradient(ellipse at 20% 50%, #0d3320 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, #0d3320 0%, transparent 50%);
}

#hero h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
}

#hero h1 span { color: #00ff88; }

#hero p {
    color: #888;
    margin-bottom: 32px;
    font-size: 16px;
}

#searchbar {
    display: flex;
    align-items: center;
    background: #1a221a;
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    width: 100%;
    max-width: 600px;
    gap: 8px;
}

#search {
    flex: 1;
    background: transparent;
    border: none;
    color: #e8e8e8;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

#search::placeholder { color: #555; }

#search-btn{
    background: #00ff88;
    color: #0a0f0a;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-family: inherit;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
}

#results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    padding: 40px;
    margin: 0px 100px 20px 100px;
}

.song-card {
    background: #111811;
    border: 1px solid #1e2a1e;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
    cursor: default;
}

.song-card:hover {
    border-color: #00ff88;
    transform: translateY(-3px);
}

.song-card img {
    width: 100%;
    display: block;
}

.song-info {
    padding: 12px;
    text-overflow: ellipsis;
}

.song-info h3 {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 4px;
    color: #fff;
}

.song-info .artist {
    font-size: 12px;
    color: #00ff88;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    
}

.song-info .album {
    font-size: 11px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
}


/* --- kartica play btn --- */
.play-btn {
    z-index: 1;
    /*margin-top: 12px;*/
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid black;
    background: #00ff88;
    color: #0a0f0a;
    font-size: 14px;
    cursor: pointer;
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    transition: transform 0.15s;
}

.play-btn:hover { transform: scale(1.1); }

.image-container{
    display: block;
    position: relative;
}

.container-btn{
    margin: 0 auto;
    position: absolute;
    right: 40%;
    left: 40%;
    top: 50%;
    bottom: 50%;
    opacity: 15%;
    transition: transform 0.15s;
}

.container-btn:hover{
    opacity: 100%;
    transform: scale(1.1);
}

.audioBar{
    display: none;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background-color: #0a0f0a;
  }

  ::-webkit-scrollbar-thumb {
    background: #00ff88; 
    border-radius: 15px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #00ac5c; 
  }

