/* GENERAL */
* { margin:0; padding:0; box-sizing:border-box; font-family:'Inter',sans-serif; }
body { background:#0c0c0f; color:#f2f2f2; }

/* LANDING PAGE */
.landing {
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:0 20px;
}

h1 {
    font-size:3rem;
    font-weight:700;
    background: linear-gradient(135deg,#bb2a2a,#ff4d4d);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    margin-bottom:10px;
}

.tagline {
    color:#aaa;
    font-size:1.2rem;
    margin-bottom:40px;
}

.search-card {
    position: relative;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    background:#141419;
    padding:20px 30px;
    border-radius:14px;
    border:1px solid #23232b;
    box-shadow:0 5px 20px rgba(0,0,0,0.4);
}

.search-card input {
    width:320px;
    padding:14px 18px;
    background:#15151b;
    border:1px solid #24242c;
    color:#fff;
    border-radius:8px;
    outline:none;
    transition:0.3s;
}

.search-card input:focus {
    border-color:#bb2a2a;
    box-shadow:0 0 8px rgba(187,42,42,0.5);
}

.search-card button {
    padding:14px 30px;
    border:none;
    background:#bb2a2a;
    color:#fff;
    font-weight:600;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.search-card button:hover {
    background:#ff4d4d;
    transform:translateY(-2px);
    box-shadow:0 5px 15px rgba(255,77,77,0.4);
}

.hint { font-size:0.85rem; color:#666; margin-top:20px; }

/* Suggestions dropdown */
.suggestions {
    position:absolute;
    top:calc(100% + 5px);
    width:100%;
    background:#141419;
    border:1px solid #23232b;
    border-radius:8px;
    overflow:hidden;
    z-index:100;
}

.suggestion {
    padding:10px;
    cursor:pointer;
    transition:0.2s;
}

.suggestion:hover { background:#1f1f25; }

/* Recent/Favorite sections */
.recent-section { margin-top:30px; width:100%; max-width:600px; }
.recent-section h3 { text-align:left; color:#bbb; margin-bottom:10px; }

.cards { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-start; }

.player-card {
    background:#141419;
    border-radius:12px;
    border:1px solid #23232b;
    padding:8px 12px;
    cursor:pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.player-card:hover { transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,0.4); }
.player-card.fav { border:1px solid #bb2a2a; }

@media(max-width:768px){
    h1{ font-size:2.2rem; }
    .search-card input, .search-card button { width:100%; }
    .cards { justify-content:center; }
}