#left-header p {
    text-align: left;
}


/* TÍTULOS DE SECCIÓN */

#main-tittle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 25px;
    gap: 20px;
}


/* NUESTROS BOTS */

#bots-filtros {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

#filtros-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}


#bots-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.bot-card {
    padding: 20px 15px;
    border-radius: 10px;
    background: #1d051d;
    box-shadow: 0 0 10px -3px rgb(255, 165, 240);
    border: 0.5px solid #ffd1ec;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.bot-card img {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.bot-card h5 {
    font-family: "Abril Fatface", serif;
    font-size: 20px;
}

.bot-tag {
    padding: 3px 10px;
    border-radius: 5px;
    background: #381321;
    color: #ffa8db;
    font-size: 13px;
}

.bot-card p {
    font-size: 14px;
    line-height: 1.5;
}

.bot-btn {
    margin-top: auto;
    padding: 6px 30px;
    border-radius: 6px;
    border: 1px solid #ffd1ec;
    color: white;
    text-decoration: none;
    font-family: "Abril Fatface", serif;
    font-size: 14px;
    transition: background 0.2s;
}

button.bot-btn {
    background: transparent;
    cursor: pointer;
}

.bot-btn:hover {
    background: #381321;
}


/* QUÉ PUEDES HACER + COMANDOS */

#second-section {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 30px;
}

#second-left {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#funciones-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 10px;
    background: #1d051d;
    box-shadow: 0 0 10px -3px rgb(255, 165, 240);
    border: 0.5px solid #ffd1ec;
    overflow: hidden;
}

.funcion-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-right: 0.5px solid #ffd1ec;
}

.funcion-card:last-child {
    border-right: none;
}
 

.funcion-card h5 {
    font-family: "Abril Fatface", serif;
    font-size: 17px;
}

.funcion-card p {
    font-size: 14px;
}

#second-right {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#second-right small {
    font-size: 13px;
}

.comandos-list {
    list-style: none;
    border-radius: 8px;
    border: 1px solid #ffd1ec;
    overflow: hidden;
}

.comandos-list li {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 0.5px solid #381321;
    font-size: 13px;
}

.comandos-list li:last-child {
    border-bottom: none;
}

.comandos-list code {
    width: 45%;
    color: #ffa8db;
}

.comandos-list code::before {
    content: "› ";
}

.comandos-list p {
    opacity: 0.8;
}

#comandos-btn {
    align-self: center;
}


/* MODALES */

#modal-img {
    border-radius: 50%;
}

#guia-modal-icono .icono {
    display: block;
}

.grupo-comandos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grupo-comandos + .grupo-comandos {
    margin-top: 10px;
}

.grupo-comandos .tittle-row img {
    border-radius: 50%;
}

.grupo-comandos .bot-tag {
    margin-left: auto;
}

.comandos-list .sin-comandos {
    justify-content: center;
    padding: 18px 12px;
    color: #ffa8db;
    font-size: 15px;
}

#todos-comandos-lista {
    display: flex;
    flex-direction: column;
}


/* TUTORIALES */

#third-section {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 30px;
}

#tutoriales {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#guias-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.guia-card {
    flex: 1;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    padding: 20px;
    border-radius: 10px;
    background: #1d051d;
    box-shadow: 0 0 10px -3px rgb(255, 165, 240);
    border: 0.5px solid #ffd1ec;
    color: white;
    text-decoration: none;

    display: flex;
    flex-direction: row;
    gap: 12px;
    transition: background 0.2s;
}

.guia-card:hover {
    background: #381321;
}
 

.guia-card h5 {
    font-family: "Abril Fatface", serif;
    font-size: 16px;
    margin-bottom: 6px;
}

.guia-card p {
    font-size: 13px;
}

.guia-card span {
    display: block;
    margin-top: 8px;
    color: #ff9fe9;
}

#tutoriales-img {
    position: relative;
    width: 30%;
    min-height: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px -3px rgb(255, 165, 240);
    border: 0.5px solid #ffd1ec;
}

#tutoriales-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#tutoriales-img .frase-mano {
    position: absolute;
    top: 20px;
    right: 15px;
    text-align: right;
}


/* BANNER FINAL */

#banner-final {
    position: relative;
    margin-top: 30px;
    padding: 25px 70px;
    border-radius: 10px;
    overflow: hidden;
    background: #1d051d;
    box-shadow: 0 0 10px -3px rgb(255, 165, 240);
    border: 0.5px solid #ffd1ec;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

#banner-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}


#banner-texto h3 {
    font-family: "Abril Fatface", serif;
    font-size: 30px;
    margin-bottom: 8px;
}

#banner-final .server-btn,
#banner-final .frase-mano {
    position: relative;
}

#banner-final .frase-mano {
    font-size: 15px;
}


/* PANTALLAS CHICAS */

@media (max-width: 1200px) {
    #bots-container {
        grid-template-columns: repeat(3, 1fr);
    }

    #second-section,
    #third-section {
        flex-direction: column;
    }

    #second-left,
    #second-right,
    #tutoriales,
    #tutoriales-img {
        width: 100%;
    }
}

@media (max-width: 800px) {
    .main {
        padding: 30px 20px;
    }

    header {
        height: auto;
        flex-direction: column;
    }

    #left-header,
    #right-header {
        width: 100%;
        padding: 20px;
    }

    #main-tittle {
        flex-direction: column;
        align-items: flex-start;
    }

    #bots-filtros {
        align-items: flex-start;
    }

    .buscador {
        width: 100%;
    }

    #bots-container,
    #funciones-container {
        grid-template-columns: 1fr;
    }

    #guias-container,
    #banner-final {
        flex-direction: column;
    }

    #banner-final {
        padding: 25px;
    }
}
