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

body{
    background: radial-gradient(circle at top,
    #182238 0%,
    #0d1117 45%);
    color: white;
    font-family: "Inter", sans-serif;
    min-height: 100vh;
    padding: 30px;
}

#back{
    margin-bottom: 30px;
}

#back a{
    color: #8ab4ff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
}

#back a:hover{
    color: white;
}

#Channels{
    max-width: 1300px;
    margin: auto;
}

#Channels h1{
    text-align: center;
    font-size:3.2rem;
    font-weight:800;
    letter-spacing:-1px;
    margin-bottom: 25px;
}

#subt {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    color: #9ca3af;
}

#chan{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.categ{
    background: linear-gradient(180deg, #1b2230 0%, #151b25 100%);
    border: 1px solid #2f3745;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    padding: 25px;
    transition: 0.25s ease;
}

.categ:hover{
    transform: translateY(-6px);
    border-color: #4a5568;
    box-shadow: 0 15px 35px rgba(0,0,0,.45);
}

.categ h2{
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.categ p{
    color: #b0b8c4;
    line-height: 1.6;
    margin-bottom: 18px;
}

.categ ul{
    list-style: none;
}

.categ li{
    padding: 8px 0;
    color: #e5e7eb;
    font-size: 1rem;
}

.categ li:not(:last-child){
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

footer {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,.08);
}

@media (min-width: 700px) and (max-width: 1050px){
    .categ:last-child{
        grid-column: 1 / -1;
    }
}

@media (min-width: 1051px){
    .categ:last-child{
        grid-column: auto;
    }
}

#cr {
    margin-top:10px;
    font-weight: 600;
}

#incerc {
    justify-content: center;
    display: flex;
    margin-top: 45px;
}

#test {
    margin-top: 20px;
    height: 60px;
    width: 190px;
    border-radius: 99px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #7c3aed;
    border-color: #7c3aed;
    font-size:16px;
    color: white;
    font-weight: 500;
}

#testc {
    justify-content: center;
    display: flex;
}

#test:hover {
    cursor: pointer;
    background: #6d28d9;
    border-color: #6d28d9;
    
}