/* -----------------------
GLOBAL
----------------------- */

body{

background:#0e0e10;
color:white;

font-family:Arial, Helvetica, sans-serif;

text-align:center;

margin:0;
padding:0;

}

h1{
margin-top:20px;
}

/* -----------------------
LAYOUT
----------------------- */

.container{

display:flex;
justify-content:space-around;
align-items:flex-start;

padding:20px;

}

/* -----------------------
TEAM PANELS
----------------------- */

.team{
width:20%;
}

.team h2{
margin-bottom:15px;
}

/* -----------------------
TEAM SLOTS
----------------------- */

.slot{

height:100px;
width:90%;

border:1px solid #444;
background:#1c1c21;

margin:10px auto;

border-radius:6px;

position:relative;
overflow:hidden;

}

/* splash image */

.slot img{

position:absolute;
top:0;
left:0;

width:100%;
height:100%;

object-fit:cover;
object-position:center 20%;

z-index:1;

}

/* champion name overlay */

.slot .champ-name {

position:absolute;
bottom:0;

width:100%;

padding:6px 8px;

font-size:13px;
text-align:center;

color:white;

background:rgba(0,0,0,0.55);

text-shadow:0 1px 3px rgba(0,0,0,0.9);

z-index:2;

}

/* -----------------------
CHAMPION AREA
----------------------- */

.champion-area{
width:45%;
}

/* -----------------------
SEARCH BAR
----------------------- */

#search{

width:70%;

padding:8px;

background:#1c1c21;
border:1px solid #444;

border-radius:6px;

color:white;

margin-bottom:12px;

}

/* -----------------------
CHAMPION GRID
----------------------- */

#championPool{

display:flex;
flex-wrap:wrap;

gap:8px;

justify-content:center;

max-height:600px;
overflow-y:auto;

padding:10px;

}

/* -----------------------
CHAMPION CARD
----------------------- */

.champion{

width:70px;

display:flex;
flex-direction:column;
align-items:center;

cursor:pointer;

transition:0.15s;

}

.champion:hover{
transform:scale(1.05);
}

.champion img{

width:60px;
height:60px;

border-radius:6px;
border:2px solid #333;

}

.champion div{

font-size:11px;
margin-top:2px;

}

/* -----------------------
SCROLLBAR
----------------------- */

#championPool::-webkit-scrollbar{
width:8px;
}

#championPool::-webkit-scrollbar-track{
background:#151518;
}

#championPool::-webkit-scrollbar-thumb{
background:#333;
border-radius:6px;
}

#championPool::-webkit-scrollbar-thumb:hover{
background:#444;
}

/* Firefox */

#championPool{
scrollbar-width:thin;
scrollbar-color:#333 #151518;
}

/* -----------------------
RESPONSIVE
----------------------- */

@media (max-width:1000px){

.container{
flex-direction:column;
align-items:center;
}

.team{
width:80%;
margin-bottom:20px;
}

.champion-area{
width:90%;
}

}
/* ------------------------
RECOMMENDATION BAR
------------------------ */

.recommend-bar{

width:100%;
margin:10px 0 10px 0;

display:flex;
flex-direction:column;
align-items:center;

}

/* horizontal scroll row */

#recommendations{

display:flex;
flex-direction:row;

gap:14px;

overflow-x:auto;
overflow-y:hidden;

padding:10px;

width:80%;

}

/* card */

.rec-card{

flex:0 0 auto;

width:80px;

display:flex;
flex-direction:column;
align-items:center;

font-size:12px;

cursor:pointer;

}

/* icon */

.rec-card img{

width:70px;
height:70px;

border-radius:8px;

object-fit:cover;

border:2px solid #178222;

}

.rec-card img:hover{

border-color:gold;

}

/* score */

.rec-score{

font-size:11px;
opacity:0.75;

margin-top:3px;

}

/* scrollbar */

#recommendations::-webkit-scrollbar{
height:6px;
}

#recommendations::-webkit-scrollbar-thumb{
background:#333;
border-radius:6px;
}

/* ------------------------
RECOMMENDATION CARD
------------------------ */

.rec-card{

flex:0 0 auto;

width:90px;

display:flex;
flex-direction:column;
align-items:center;

text-align:center;

font-size:12px;

}

.rec-card img{

width:80px;
height:80px;

border-radius:8px;

object-fit:cover;

border:2px solid #333;

}

.rec-card img:hover{
border-color:#777;
}

.rec-score{

font-size:11px;
opacity:0.8;

margin-top:2px;

}


/* -----------------------
TOP PICK HIGHLIGHT
----------------------- */

.top-pick{

border:2px solid gold !important;

box-shadow:
0 0 6px gold,
0 0 12px rgba(255,215,0,0.6);

transform:scale(1.05);

}


/* ------------------------
ROLE FILTER BUTTONS
------------------------ */

.role-filters{

display:flex;
gap:10px;
margin-bottom:10px;
justify-content:center;


}

.role-btn{

padding:6px 14px;

background:#1c1c21;
border:1px solid #444;
border-radius:6px;

color:white;
cursor:pointer;

transition:0.15s;

}

.role-btn:hover{

border-color:gold;

}

.role-btn.active{

background:#333;
border-color:gold;

}

.container{
display:flex;
justify-content:center;
align-items:flex-start;

gap:40px;

max-width:1400px;
margin:auto;

padding:10px 20px;
}





/* -----------------------
DRAFT EVAL BAR
----------------------- */

.draft-eval{

position:fixed;
bottom:0;
left:0;

width:100%;
height:50px;

background:#0b0b0d;

display:flex;
align-items:center;
justify-content:center;

gap:12px;

border-top:1px solid #333;

z-index:100;

}

/* labels */

.eval-label{
font-size:13px;
width:50px;
text-align:center;
}

.blue-label{
color:#4da3ff;
}

.red-label{
color:#ff5a5a;
}

/* bar container */

.eval-bar{

width:600px;
height:16px;

background:#1c1c21;

border-radius:8px;

overflow:hidden;

display:flex;

}

/* blue side */

.blue-win{

height:100%;
background:#3a8cff;

width:50%;

transition:width .3s;

}

/* red side */

.red-win{

height:100%;
background:#ff4a4a;

width:50%;

transition:width .3s;

}


body{
padding-bottom:60px;
}


.back-button{
position:absolute;
left:20px;
top:20px;

color:white;
text-decoration:none;
font-size:14px;
}


.search-container{
display:flex;
width:100%;
gap:12px;
margin:10px 0;
}

#search{
flex:1;
min-width:0;
height:40px;
padding:0 12px;
border-radius:8px;
border:1px solid #444;
background:#1f1f23;
color:white;
}

#botPick{
flex:0 0 auto;
height:40px;
padding:0 18px;
border-radius:8px;
border:1px solid #444;
background:#2d2d31;
color:white;
cursor:pointer;
}


/* HOMEPAGE */

.home{
background:#0f1117;
color:white;
font-family:Arial, sans-serif;
text-align:center;
margin:0;
}

.home-title{
margin-top:80px;
font-size:42px;
margin-bottom:60px;
}

.home-container{
display:flex;
justify-content:center;
gap:40px;
flex-wrap:wrap;
}

.home-card{
display:block;
width:280px;
padding:30px;
border-radius:12px;
background:#1a1d26;
border:1px solid #2a2e3a;
text-decoration:none;
color:white;
transition:all .2s ease;
}

.home-card:hover{
transform:translateY(-5px);
background:#222633;
border-color:#3a6fd8;
}

.home-card h2{
margin-top:0;
margin-bottom:10px;
}

.home-card p{
opacity:0.8;
margin-bottom:20px;
}

.home-card span{
font-weight:bold;
color:#6fa3ff;
}

/* Style the dropdown to visually match .role-btn buttons */
.map-select {
  padding: 6px 14px;
  background: #1c1c21;
  border: 1px solid #444;
  border-radius: 6px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: 0.15s;
  /* Remove default native styling for better uniformity */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* To add a custom arrow, you can do so if you want */
  background-image:
    linear-gradient(45deg, transparent 50%, white 50%),
    linear-gradient(135deg, white 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

/* Hover and focus states like role buttons */
.map-select:hover, 
.map-select:focus {
  border-color: gold;
  outline: none;
}

