/* =========================
   Raid Legends Guide
   Mobile First Design
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#111827;
    color:#f5f5f5;
    line-height:1.6;
}

/* =========================
   Header
========================= */

header{
    background:#1f2937;
    text-align:center;
    padding:20px;
    border-bottom:3px solid #d4af37;
}

header h1{
    font-size:2rem;
    color:#d4af37;
}

header p{
    margin-top:8px;
    color:#d1d5db;
}

/* =========================
   Search
========================= */

#searchBar{
    width:100%;
    margin-top:18px;
    padding:14px;
    border:none;
    border-radius:10px;
    font-size:16px;
}

/* =========================
   Navigation
========================= */

nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    padding:15px;
    background:#172033;
}

nav a{
    text-decoration:none;
    color:white;
    background:#d4af37;
    padding:10px 15px;
    border-radius:8px;
    font-weight:bold;
    transition:.2s;
}

nav a:hover{
    background:#b68d1c;
}

/* =========================
   Main
========================= */

main{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:15px;
}

/* =========================
   Sections
========================= */

section{
    background:#1f2937;
    margin-bottom:20px;
    padding:18px;
    border-radius:12px;
    box-shadow:0 0 10px rgba(0,0,0,.35);
}

section h2{
    color:#d4af37;
    margin-bottom:12px;
}

section p{
    margin-bottom:10px;
}

section ul{
    padding-left:20px;
}

section li{
    margin:8px 0;
}

/* =========================
   Links
========================= */

a{
    color:#66b3ff;
}

a:hover{
    color:#99ccff;
}

/* =========================
   Footer
========================= */

footer{
    text-align:center;
    background:#1f2937;
    padding:20px;
    border-top:3px solid #d4af37;
    color:#cbd5e1;
}

/* =========================
   Tablets
========================= */

@media (min-width:768px){

header h1{
    font-size:2.6rem;
}

nav{
    gap:15px;
}

section{
    padding:25px;
}

}

/* =========================
   Desktop
========================= */

@media (min-width:1024px){

body{
    font-size:18px;
}

nav{
    justify-content:center;
}

#searchBar{
    width:60%;
}

}

/* =========================
   Small Phones
========================= */

@media (max-width:420px){

header h1{
    font-size:1.6rem;
}

nav a{
    width:100%;
    text-align:center;
    
    #championGrid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

gap:20px;

margin-top:20px;

}

.card{

background:#1f2937;

padding:15px;

border-radius:12px;

text-align:center;

box-shadow:0 0 8px rgba(0,0,0,.4);

}

.card img{

width:100%;

max-width:120px;

border-radius:10px;

margin-bottom:10px;

}

.card h2{

color:#d4af37;

font-size:1.1rem;

margin-bottom:8px;

}

.card p{

margin:4px 0;

.filters{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(150px,1fr));

gap:12px;

padding:15px;

}

.filters select{

padding:12px;

border-radius:8px;

border:none;

font-size:16px;

}

#championGrid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:20px;

padding:20px;

}

.champion-card{

background:#1f2937;

border-radius:15px;

padding:20px;

text-align:center;

box-shadow:0 4px 12px rgba(0,0,0,.4);

transition:.2s;

}

.champion-card:hover{

transform:translateY(-4px);

}

.champion-card img{

width:120px;

height:120px;

object-fit:cover;

border-radius:12px;

margin-bottom:12px;

}

.champion-card h2{

color:#d4af37;

margin-bottom:10px;

}

.tier{

display:inline-block;

background:#d4af37;

color:#000;

padding:6px 10px;

border-radius:20px;

font-weight:bold;

margin:10px 0;

}

.champion-card button{

width:100%;

padding:12px;

background:#d4af37;

color:#000;

border:none;

border-radius:10px;

font-weight:bold;

cursor:pointer;

margin-top:10px;

}

.champion-card button:hover{

background:#f0c94a;

}

.championPage{

max-width:1100px;

margin:auto;

padding:20px;

}

.championTop{

display:flex;

flex-wrap:wrap;

gap:30px;

align-items:center;

margin-bottom:30px;

}

.championTop img{

width:220px;

border-radius:12px;

box-shadow:0 5px 20px rgba(0,0,0,.5);

}

.backBtn{

display:inline-block;

margin-top:10px;

padding:10px 15px;

background:#d4af37;

color:#000;

text-decoration:none;

border-radius:8px;

font-weight:bold;

}

.ratings{

width:100%;

border-collapse:collapse;

}

.ratings td{

border:1px solid #333;

padding:12px;

}

section{

margin-bottom:25px;

}
}
}

#searchBar{
    font-size:15px;
}

}